Analysis of Class : org.junit.experimental.categories.Categories$CategoryFilter (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.experimental.categories.Categories$CategoryFilter
Cyclomatic Complexity

Summary of Categories$CategoryFilter
FeatureNumberValues
NameCategories$CategoryFilter-
Number of Methods5-
LCOM0.00-
Average Cyclomatic Complexity2.40-
Number of Statements27-
Halstead Cumulative Bugs0.26-
Halstead Effort8805.23-
UnWeighted Class Size7-
Instance Variables2fExcluded (java.lang.Class)
fIncluded (java.lang.Class)
Imported Packages8java.lang.annotation.Retention
java.lang.annotation.RetentionPolicy
org.junit.runner.Description
org.junit.runner.manipulation.Filter
org.junit.runner.manipulation.NoTestsRemainException
org.junit.runners.Suite
org.junit.runners.model.InitializationError
org.junit.runners.model.RunnerBuilder
Response For class5-
CBO2-
Maintainability Index119.17-
Cumulative Number of Comment Lines0-
Lines Of Code37-
Fan In0-
DIT1-
Maintainability Index (NC)119.17-
Specialization ratio0.00-
Reuse Ratio0.50-
COH0.50-
Local Method Calls2shouldRun (1)
hasCorrectCategoryAnnotation (1)
LCOM22.00-
Max Complexity5-
Halstead Cumulative Volume778.66-
Hierarchy Method Calls0
Number of Queries4-
Fan Out2-
SuperClass Nameorg.junit.runner.manipulation.Filter-
SIX0.11-
External Method Calls0org.junit.runner.Description.getAnnotation (1)
java.lang.Class.isAssignableFrom (2)
Category.value (1)
org.junit.runner.Description.getChildren (1)
org.junit.experimental.categories.CategoryFilter.CategoryFilter (1)
Superclasses1org.junit.runner.manipulation.Filter
Total Complexity12-
Subclasses0 -
Message Passing Coupling0-
Number of Commands1-
Interfaces0 -
Cumulative Number of Comments0-
Halstead Cumulative Length177-
Modifiers8@Retention(RetentionPolicy.RUNTIME)
public
public
@Retention(RetentionPolicy.RUNTIME)
public
public
public
static
Summary of methods in org.junit.experimental.categories.Categories$CategoryFilter
Methods in Class : org.junit.experimental.categories.Categories$CategoryFilter
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
CategoryFilter1032214502.570.0320050256.000000083.769413020
describe1021212150.570.0110030023.500000043.02517010
hasCorrectCategoryAnnotation501072346181.270.125301201116.8810001366.303010421111
include1021815492.270.0231030127.000000070.327111010
shouldRun40737201279.290.0511280128.0000000159.9116321031


Analysis of Method : CategoryFilter(Class, Class) in Class : org.junit.experimental.categories.Categories$CategoryFilter
FeatureNumberValues
NameCategoryFilter-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements3-
Halstead Length22-
Halstead Vocabulary14-
Halstead Effort502.57-
Halstead Bugs0.03-
Classes Referenced2java.lang.Class (2)
? (2)
External Methods Called0
Local Methods Called0
Lines Of Code5-
Number of Comments0-
Arguments2includedCategory (java.lang.Class)
excludedCategory (java.lang.Class)
Modifiers5private
final
private
final
public
Halstead Difficulty6.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume83.76-
Number of Operands9-
Variable References4excludedCategory (1)
fExcluded (1)
fIncluded (1)
includedCategory (1)
Number of Operators13-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : describe() in Class : org.junit.experimental.categories.Categories$CategoryFilter
FeatureNumberValues
Namedescribe-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length12-
Halstead Vocabulary12-
Halstead Effort150.57-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty3.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume43.02-
Number of Operands5-
Variable References1fIncluded (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : hasCorrectCategoryAnnotation(Description) in Class : org.junit.experimental.categories.Categories$CategoryFilter
FeatureNumberValues
NamehasCorrectCategoryAnnotation-
Cyclomatic Complexity5-
Number of Comment Lines0-
Number of Statements10-
Halstead Length72-
Halstead Vocabulary34-
Halstead Effort6181.27-
Halstead Bugs0.12-
Classes Referenced5org.junit.runner.Description (1)
Category (1)
java.lang.Class (1)
Category.class (1)
? (1)
External Methods Called3org.junit.runner.Description.getAnnotation (1)
java.lang.Class.isAssignableFrom (2)
Category.value (1)
Local Methods Called0
Lines Of Code12-
Number of Comments0-
Arguments1description (org.junit.runner.Description)
Modifiers1private
Halstead Difficulty16.88-
Variable Declarations1annotation (Category)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting1-
Halstead Volume366.30-
Number of Operands30-
Variable References10annotation (2)
fExcluded (2)
fIncluded (3)
description (1)
each (2)
Number of Operators42-
Max. depth of nesting1-
Number of Expressions11-
Number of Loops1-

Top of this page

Analysis of Method : include(Class) in Class : org.junit.experimental.categories.Categories$CategoryFilter
FeatureNumberValues
Nameinclude-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length18-
Halstead Vocabulary15-
Halstead Effort492.27-
Halstead Bugs0.02-
Classes Referenced3org.junit.experimental.categories.CategoryFilter (2)
java.lang.Class (1)
? (1)
External Methods Called1org.junit.experimental.categories.CategoryFilter.CategoryFilter (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1categoryType (java.lang.Class)
Modifiers2public
static
Halstead Difficulty7.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume70.32-
Number of Operands7-
Variable References1categoryType (1)
Number of Operators11-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : shouldRun(Description) in Class : org.junit.experimental.categories.Categories$CategoryFilter
FeatureNumberValues
NameshouldRun-
Cyclomatic Complexity4-
Number of Comment Lines0-
Number of Statements7-
Halstead Length37-
Halstead Vocabulary20-
Halstead Effort1279.29-
Halstead Bugs0.05-
Classes Referenced1org.junit.runner.Description (2)
External Methods Called1org.junit.runner.Description.getChildren (1)
Local Methods Called2shouldRun (1)
hasCorrectCategoryAnnotation (1)
Lines Of Code8-
Number of Comments0-
Arguments1description (org.junit.runner.Description)
Modifiers2@Override
public
Halstead Difficulty8.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume159.91-
Number of Operands16-
Variable References3description (2)
each (1)
Number of Operators21-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops1-

Top of this page

Top of this page Data Generated by JHawk - The Java Metrics tool Home