![]() | 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 | ||
---|---|---|
Feature | Number | Values |
Name | Categories$CategoryFilter | - |
Number of Methods | 5 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 2.40 | - |
Number of Statements | 27 | - |
Halstead Cumulative Bugs | 0.26 | - |
Halstead Effort | 8805.23 | - |
UnWeighted Class Size | 7 | - |
Instance Variables | 2 | fExcluded (java.lang.Class) fIncluded (java.lang.Class) |
Imported Packages | 8 | java.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 class | 5 | - |
CBO | 2 | - |
Maintainability Index | 119.17 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 37 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 119.17 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.50 | - |
Local Method Calls | 2 | shouldRun (1) hasCorrectCategoryAnnotation (1) |
LCOM2 | 2.00 | - |
Max Complexity | 5 | - |
Halstead Cumulative Volume | 778.66 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 4 | - |
Fan Out | 2 | - |
SuperClass Name | org.junit.runner.manipulation.Filter | - |
SIX | 0.11 | - |
External Method Calls | 0 | org.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) |
Superclasses | 1 | org.junit.runner.manipulation.Filter |
Total Complexity | 12 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 1 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 177 | - |
Modifiers | 8 | @Retention(RetentionPolicy.RUNTIME) public public @Retention(RetentionPolicy.RUNTIME) public public public static |
Methods in Class : org.junit.experimental.categories.Categories$CategoryFilter | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | COMP | NOCL | NOS | HLTH | HVOC | HEFF | HBUG | CREF | XMET | LMET | NLOC | NOC | NOA | MOD | HDIF | VDEC | EXCT | EXCR | CAST | TDN | HVOL | NAND | VREF | NOPR | MDN | NEXP | LOOP | |
![]() | CategoryFilter | 1 | 0 | 3 | 22 | 14 | 502.57 | 0.03 | 2 | 0 | 0 | 5 | 0 | 2 | 5 | 6.00 | 0 | 0 | 0 | 0 | 0 | 83.76 | 9 | 4 | 13 | 0 | 2 | 0 |
![]() | describe | 1 | 0 | 2 | 12 | 12 | 150.57 | 0.01 | 1 | 0 | 0 | 3 | 0 | 0 | 2 | 3.50 | 0 | 0 | 0 | 0 | 0 | 43.02 | 5 | 1 | 7 | 0 | 1 | 0 |
![]() | hasCorrectCategoryAnnotation | 5 | 0 | 10 | 72 | 34 | 6181.27 | 0.12 | 5 | 3 | 0 | 12 | 0 | 1 | 1 | 16.88 | 1 | 0 | 0 | 0 | 1 | 366.30 | 30 | 10 | 42 | 1 | 11 | 1 |
![]() | include | 1 | 0 | 2 | 18 | 15 | 492.27 | 0.02 | 3 | 1 | 0 | 3 | 0 | 1 | 2 | 7.00 | 0 | 0 | 0 | 0 | 0 | 70.32 | 7 | 1 | 11 | 0 | 1 | 0 |
![]() | shouldRun | 4 | 0 | 7 | 37 | 20 | 1279.29 | 0.05 | 1 | 1 | 2 | 8 | 0 | 1 | 2 | 8.00 | 0 | 0 | 0 | 0 | 0 | 159.91 | 16 | 3 | 21 | 0 | 3 | 1 |
Analysis of Method : CategoryFilter(Class, Class) in Class : org.junit.experimental.categories.Categories$CategoryFilter | ||
---|---|---|
Feature | Number | Values |
Name | CategoryFilter | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 22 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 502.57 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | java.lang.Class (2) ? (2) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 2 | includedCategory (java.lang.Class) excludedCategory (java.lang.Class) |
Modifiers | 5 | private final private final public |
Halstead Difficulty | 6.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 83.76 | - |
Number of Operands | 9 | - |
Variable References | 4 | excludedCategory (1) fExcluded (1) fIncluded (1) includedCategory (1) |
Number of Operators | 13 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : describe() in Class : org.junit.experimental.categories.Categories$CategoryFilter | ||
---|---|---|
Feature | Number | Values |
Name | describe | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 12 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 150.57 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 43.02 | - |
Number of Operands | 5 | - |
Variable References | 1 | fIncluded (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : hasCorrectCategoryAnnotation(Description) in Class : org.junit.experimental.categories.Categories$CategoryFilter | ||
---|---|---|
Feature | Number | Values |
Name | hasCorrectCategoryAnnotation | - |
Cyclomatic Complexity | 5 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 10 | - |
Halstead Length | 72 | - |
Halstead Vocabulary | 34 | - |
Halstead Effort | 6181.27 | - |
Halstead Bugs | 0.12 | - |
Classes Referenced | 5 | org.junit.runner.Description (1) Category (1) java.lang.Class (1) Category.class (1) ? (1) |
External Methods Called | 3 | org.junit.runner.Description.getAnnotation (1) java.lang.Class.isAssignableFrom (2) Category.value (1) |
Local Methods Called | 0 | |
Lines Of Code | 12 | - |
Number of Comments | 0 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 1 | private |
Halstead Difficulty | 16.88 | - |
Variable Declarations | 1 | annotation (Category) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 366.30 | - |
Number of Operands | 30 | - |
Variable References | 10 | annotation (2) fExcluded (2) fIncluded (3) description (1) each (2) |
Number of Operators | 42 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 11 | - |
Number of Loops | 1 | - |
Analysis of Method : include(Class) in Class : org.junit.experimental.categories.Categories$CategoryFilter | ||
---|---|---|
Feature | Number | Values |
Name | include | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 18 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 492.27 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | org.junit.experimental.categories.CategoryFilter (2) java.lang.Class (1) ? (1) |
External Methods Called | 1 | org.junit.experimental.categories.CategoryFilter.CategoryFilter (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | categoryType (java.lang.Class) |
Modifiers | 2 | public static |
Halstead Difficulty | 7.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 70.32 | - |
Number of Operands | 7 | - |
Variable References | 1 | categoryType (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : shouldRun(Description) in Class : org.junit.experimental.categories.Categories$CategoryFilter | ||
---|---|---|
Feature | Number | Values |
Name | shouldRun | - |
Cyclomatic Complexity | 4 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 7 | - |
Halstead Length | 37 | - |
Halstead Vocabulary | 20 | - |
Halstead Effort | 1279.29 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 1 | org.junit.runner.Description (2) |
External Methods Called | 1 | org.junit.runner.Description.getChildren (1) |
Local Methods Called | 2 | shouldRun (1) hasCorrectCategoryAnnotation (1) |
Lines Of Code | 8 | - |
Number of Comments | 0 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 8.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 159.91 | - |
Number of Operands | 16 | - |
Variable References | 3 | description (2) each (1) |
Number of Operators | 21 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 1 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |