![]() | Analysis of Class : org.junit.internal.builders.AllDefaultPossibilitiesBuilder (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.builders.AllDefaultPossibilitiesBuilder |
---|
![]() |
Cyclomatic Complexity |
Summary of AllDefaultPossibilitiesBuilder | ||
---|---|---|
Feature | Number | Values |
Name | AllDefaultPossibilitiesBuilder | - |
Number of Methods | 7 | - |
LCOM | 0.83 | - |
Average Cyclomatic Complexity | 1.43 | - |
Number of Statements | 24 | - |
Halstead Cumulative Bugs | 0.19 | - |
Halstead Effort | 4488.86 | - |
UnWeighted Class Size | 8 | - |
Instance Variables | 1 | fCanUseSuiteMethod (boolean) |
Imported Packages | 4 | java.util.Arrays java.util.List org.junit.runner.Runner org.junit.runners.model.RunnerBuilder |
Response For class | 7 | - |
CBO | 11 | - |
Maintainability Index | 131.02 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 38 | - |
Fan In | 3 | - |
DIT | 1 | - |
Maintainability Index (NC) | 131.02 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.29 | - |
Local Method Calls | 5 | suiteMethodBuilder (1) junit3Builder (1) junit4Builder (1) annotatedBuilder (1) ignoredBuilder (1) |
LCOM2 | 13.00 | - |
Max Complexity | 3 | - |
Halstead Cumulative Volume | 561.28 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 6 | - |
Fan Out | 8 | - |
SuperClass Name | org.junit.runners.model.RunnerBuilder | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.junit.internal.builders.SuiteMethodBuilder.SuiteMethodBuilder (1) org.junit.internal.builders.JUnit4Builder.JUnit4Builder (1) org.junit.internal.builders.NullBuilder.NullBuilder (1) org.junit.internal.builders.JUnit3Builder.JUnit3Builder (1) org.junit.internal.builders.IgnoredBuilder.IgnoredBuilder (1) java.util.Arrays.asList (1) each.safeRunnerForClass (1) org.junit.internal.builders.AnnotatedBuilder.AnnotatedBuilder (1) |
Superclasses | 1 | org.junit.runners.model.RunnerBuilder |
Total Complexity | 10 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 1 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 138 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.builders.AllDefaultPossibilitiesBuilder | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | AllDefaultPossibilitiesBuilder | 1 | 0 | 2 | 10 | 9 | 99.06 | 0.01 | 0 | 0 | 0 | 3 | 0 | 1 | 3 | 3.12 | 0 | 0 | 0 | 0 | 0 | 31.70 | 5 | 2 | 5 | 0 | 1 | 0 |
![]() | annotatedBuilder | 1 | 0 | 2 | 11 | 9 | 139.48 | 0.01 | 1 | 1 | 0 | 3 | 0 | 0 | 1 | 4.00 | 0 | 0 | 0 | 0 | 0 | 34.87 | 4 | 0 | 7 | 0 | 1 | 0 |
![]() | ignoredBuilder | 1 | 0 | 2 | 10 | 8 | 135.00 | 0.01 | 1 | 1 | 0 | 3 | 0 | 0 | 1 | 4.50 | 0 | 0 | 0 | 0 | 0 | 30.00 | 3 | 0 | 7 | 0 | 1 | 0 |
![]() | junit3Builder | 1 | 0 | 2 | 10 | 8 | 135.00 | 0.01 | 1 | 1 | 0 | 3 | 0 | 0 | 1 | 4.50 | 0 | 0 | 0 | 0 | 0 | 30.00 | 3 | 0 | 7 | 0 | 1 | 0 |
![]() | junit4Builder | 1 | 0 | 2 | 10 | 8 | 135.00 | 0.01 | 1 | 1 | 0 | 3 | 0 | 0 | 1 | 4.50 | 0 | 0 | 0 | 0 | 0 | 30.00 | 3 | 0 | 7 | 0 | 1 | 0 |
![]() | runnerForClass | 3 | 0 | 9 | 62 | 36 | 3590.00 | 0.11 | 7 | 2 | 5 | 14 | 0 | 1 | 2 | 11.20 | 2 | 1 | 0 | 0 | 1 | 320.54 | 28 | 5 | 34 | 1 | 10 | 1 |
![]() | suiteMethodBuilder | 2 | 0 | 3 | 18 | 12 | 225.85 | 0.02 | 3 | 2 | 0 | 5 | 0 | 0 | 1 | 3.50 | 0 | 0 | 0 | 0 | 0 | 64.53 | 5 | 1 | 13 | 0 | 2 | 0 |
Analysis of Method : AllDefaultPossibilitiesBuilder(boolean) in Class : org.junit.internal.builders.AllDefaultPossibilitiesBuilder | ||
---|---|---|
Feature | Number | Values |
Name | AllDefaultPossibilitiesBuilder | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 99.06 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | canUseSuiteMethod (boolean) |
Modifiers | 3 | private final public |
Halstead Difficulty | 3.12 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 31.70 | - |
Number of Operands | 5 | - |
Variable References | 2 | fCanUseSuiteMethod (1) canUseSuiteMethod (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : annotatedBuilder() in Class : org.junit.internal.builders.AllDefaultPossibilitiesBuilder | ||
---|---|---|
Feature | Number | Values |
Name | annotatedBuilder | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 139.48 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.internal.builders.AnnotatedBuilder (2) |
External Methods Called | 1 | org.junit.internal.builders.AnnotatedBuilder.AnnotatedBuilder (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 34.87 | - |
Number of Operands | 4 | - |
Variable References | 0 | |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : ignoredBuilder() in Class : org.junit.internal.builders.AllDefaultPossibilitiesBuilder | ||
---|---|---|
Feature | Number | Values |
Name | ignoredBuilder | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 135.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.internal.builders.IgnoredBuilder (2) |
External Methods Called | 1 | org.junit.internal.builders.IgnoredBuilder.IgnoredBuilder (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 4.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 30.00 | - |
Number of Operands | 3 | - |
Variable References | 0 | |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : junit3Builder() in Class : org.junit.internal.builders.AllDefaultPossibilitiesBuilder | ||
---|---|---|
Feature | Number | Values |
Name | junit3Builder | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 135.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.internal.builders.JUnit3Builder (2) |
External Methods Called | 1 | org.junit.internal.builders.JUnit3Builder.JUnit3Builder (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 4.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 30.00 | - |
Number of Operands | 3 | - |
Variable References | 0 | |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : junit4Builder() in Class : org.junit.internal.builders.AllDefaultPossibilitiesBuilder | ||
---|---|---|
Feature | Number | Values |
Name | junit4Builder | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 135.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.internal.builders.JUnit4Builder (2) |
External Methods Called | 1 | org.junit.internal.builders.JUnit4Builder.JUnit4Builder (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 4.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 30.00 | - |
Number of Operands | 3 | - |
Variable References | 0 | |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : runnerForClass(Class) in Class : org.junit.internal.builders.AllDefaultPossibilitiesBuilder | ||
---|---|---|
Feature | Number | Values |
Name | runnerForClass | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 9 | - |
Halstead Length | 62 | - |
Halstead Vocabulary | 36 | - |
Halstead Effort | 3590.00 | - |
Halstead Bugs | 0.11 | - |
Classes Referenced | 7 | java.util.List (1) java.util.Arrays (1) java.lang.Class (1) java.lang.Throwable (1) org.junit.runner.Runner (2) ? (1) org.junit.runners.model.RunnerBuilder (3) |
External Methods Called | 2 | java.util.Arrays.asList (1) each.safeRunnerForClass (1) |
Local Methods Called | 5 | junit4Builder (1) junit3Builder (1) suiteMethodBuilder (1) annotatedBuilder (1) ignoredBuilder (1) |
Lines Of Code | 14 | - |
Number of Comments | 0 | - |
Arguments | 1 | testClass (java.lang.Class) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 11.20 | - |
Variable Declarations | 2 | builders (List<RunnerBuilder>) runner (org.junit.runner.Runner) |
Exceptions Thrown | 1 | java.lang.Throwable (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 320.54 | - |
Number of Operands | 28 | - |
Variable References | 5 | builders (1) runner (2) each (1) testClass (1) |
Number of Operators | 34 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 10 | - |
Number of Loops | 1 | - |
Analysis of Method : suiteMethodBuilder() in Class : org.junit.internal.builders.AllDefaultPossibilitiesBuilder | ||
---|---|---|
Feature | Number | Values |
Name | suiteMethodBuilder | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 18 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 225.85 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | org.junit.internal.builders.SuiteMethodBuilder (1) org.junit.internal.builders.NullBuilder (1) org.junit.runners.model.RunnerBuilder (1) |
External Methods Called | 2 | org.junit.internal.builders.SuiteMethodBuilder.SuiteMethodBuilder (1) org.junit.internal.builders.NullBuilder.NullBuilder (1) |
Local Methods Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 64.53 | - |
Number of Operands | 5 | - |
Variable References | 1 | fCanUseSuiteMethod (1) |
Number of Operators | 13 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |