![]() | Analysis of Class : org.junit.runners.model.RunnerBuilder (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.runners.model.RunnerBuilder |
---|
![]() |
Cyclomatic Complexity |
Summary of RunnerBuilder | ||
---|---|---|
Feature | Number | Values |
Name | RunnerBuilder | - |
Number of Methods | 6 | - |
LCOM | 0.80 | - |
Average Cyclomatic Complexity | 1.67 | - |
Number of Statements | 26 | - |
Halstead Cumulative Bugs | 0.31 | - |
Halstead Effort | 9614.70 | - |
UnWeighted Class Size | 7 | - |
Instance Variables | 1 | parents (java.util.Set) |
Imported Packages | 6 | java.util.ArrayList java.util.HashSet java.util.List java.util.Set org.junit.internal.runners.ErrorReportingRunner org.junit.runner.Runner |
Response For class | 7 | - |
CBO | 10 | - |
Maintainability Index | 80.90 | - |
Cumulative Number of Comment Lines | 45 | - |
Lines Of Code | 37 | - |
Fan In | 7 | - |
DIT | 1 | - |
Maintainability Index (NC) | 123.19 | - |
Specialization ratio | 7.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.33 | - |
Local Method Calls | 5 | safeRunnerForClass (1) runners (1) addParent (1) removeParent (1) runnerForClass (1) |
LCOM2 | 10.00 | - |
Max Complexity | 3 | - |
Halstead Cumulative Volume | 923.62 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 5 | - |
Fan Out | 3 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 1 | java.lang.Class.getName (1) java.lang.String.format (1) java.util.Set.add (1) java.util.ArrayList.ArrayList (1) ArrayList java.util.HashSet.HashSet (1) org.junit.internal.runners.ErrorReportingRunner.ErrorReportingRunner (1) org.junit.runners.model.InitializationError.InitializationError (1) java.util.Set.remove (1) |
Superclasses | 0 | - |
Total Complexity | 10 | - |
Subclasses | 7 | org.junit.internal.builders.AllDefaultPossibilitiesBuilder org.junit.internal.builders.AnnotatedBuilder org.junit.internal.builders.IgnoredBuilder org.junit.internal.builders.JUnit3Builder org.junit.internal.builders.JUnit4Builder org.junit.internal.builders.NullBuilder org.junit.internal.builders.SuiteMethodBuilder |
Message Passing Coupling | 1 | - |
Number of Commands | 1 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 4 | - |
Halstead Cumulative Length | 213 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.runners.model.RunnerBuilder | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | addParent | 2 | 0 | 3 | 39 | 23 | 1720.08 | 0.06 | 4 | 4 | 0 | 5 | 0 | 1 | 0 | 9.75 | 0 | 1 | 0 | 0 | 0 | 176.42 | 15 | 4 | 24 | 0 | 5 | 0 |
![]() | removeParent | 1 | 0 | 2 | 15 | 13 | 226.65 | 0.02 | 2 | 1 | 0 | 3 | 0 | 1 | 0 | 4.08 | 0 | 0 | 0 | 0 | 0 | 55.51 | 7 | 2 | 8 | 0 | 1 | 0 |
![]() | runnerForClass | 1 | 7 | 1 | 13 | 13 | 192.42 | 0.02 | 4 | 0 | 0 | 1 | 1 | 1 | 4 | 4.00 | 0 | 1 | 0 | 0 | 0 | 48.11 | 5 | 0 | 8 | 0 | 0 | 0 |
![]() | runners | 3 | 0 | 9 | 58 | 27 | 4613.11 | 0.09 | 5 | 2 | 1 | 9 | 0 | 1 | 1 | 16.73 | 2 | 0 | 0 | 0 | 1 | 275.78 | 23 | 6 | 35 | 1 | 6 | 1 |
![]() | runners | 1 | 6 | 5 | 38 | 21 | 1557.81 | 0.06 | 5 | 0 | 3 | 9 | 1 | 2 | 1 | 9.33 | 0 | 1 | 0 | 0 | 2 | 166.91 | 14 | 3 | 24 | 1 | 3 | 0 |
![]() | safeRunnerForClass | 2 | 5 | 4 | 29 | 19 | 931.62 | 0.04 | 5 | 1 | 1 | 7 | 1 | 1 | 1 | 7.56 | 0 | 0 | 1 | 0 | 2 | 123.19 | 11 | 3 | 18 | 1 | 2 | 0 |
Analysis of Method : addParent(Class) in Class : org.junit.runners.model.RunnerBuilder | ||
---|---|---|
Feature | Number | Values |
Name | addParent | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 39 | - |
Halstead Vocabulary | 23 | - |
Halstead Effort | 1720.08 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 4 | java.lang.String (1) org.junit.runners.model.InitializationError (2) java.lang.Class (2) ? (2) |
External Methods Called | 4 | java.lang.Class.getName (1) java.util.Set.add (1) org.junit.runners.model.InitializationError.InitializationError (1) java.lang.String.format (1) |
Local Methods Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 1 | parent (java.lang.Class) |
Modifiers | 0 | - |
Halstead Difficulty | 9.75 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | org.junit.runners.model.InitializationError (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 176.42 | - |
Number of Operands | 15 | - |
Variable References | 4 | parents (1) parent (3) |
Number of Operators | 24 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 0 | - |
Analysis of Method : removeParent(Class) in Class : org.junit.runners.model.RunnerBuilder | ||
---|---|---|
Feature | Number | Values |
Name | removeParent | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 226.65 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | java.lang.Class (1) ? (1) |
External Methods Called | 1 | java.util.Set.remove (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | klass (java.lang.Class) |
Modifiers | 0 | - |
Halstead Difficulty | 4.08 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 55.51 | - |
Number of Operands | 7 | - |
Variable References | 2 | klass (1) parents (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : runnerForClass(Class) in Class : org.junit.runners.model.RunnerBuilder | ||
---|---|---|
Feature | Number | Values |
Name | runnerForClass | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 7 | - |
Number of Statements | 1 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 192.42 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 4 | org.junit.runner.Runner (1) java.lang.Class (1) java.lang.Throwable (1) ? (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 1 | - |
Arguments | 1 | testClass (java.lang.Class) |
Modifiers | 4 | private final public abstract |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Throwable (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 48.11 | - |
Number of Operands | 5 | - |
Variable References | 0 | |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : runners(Class) in Class : org.junit.runners.model.RunnerBuilder | ||
---|---|---|
Feature | Number | Values |
Name | runners | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 9 | - |
Halstead Length | 58 | - |
Halstead Vocabulary | 27 | - |
Halstead Effort | 4613.11 | - |
Halstead Bugs | 0.09 | - |
Classes Referenced | 5 | java.util.List (1) org.junit.runner.Runner (4) java.util.ArrayList (2) java.lang.Class (2) ? (2) |
External Methods Called | 2 | java.util.ArrayList.ArrayList (1) ArrayList |
Local Methods Called | 1 | safeRunnerForClass (1) |
Lines Of Code | 9 | - |
Number of Comments | 0 | - |
Arguments | 1 | children (java.lang.Class) |
Modifiers | 1 | private |
Halstead Difficulty | 16.73 | - |
Variable Declarations | 2 | runners (ArrayList<Runner>) childRunner (org.junit.runner.Runner) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 275.78 | - |
Number of Operands | 23 | - |
Variable References | 6 | runners (2) children (1) childRunner (2) each (1) |
Number of Operators | 35 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 6 | - |
Number of Loops | 1 | - |
Analysis of Method : runners(Class, Class) in Class : org.junit.runners.model.RunnerBuilder | ||
---|---|---|
Feature | Number | Values |
Name | runners | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 6 | - |
Number of Statements | 5 | - |
Halstead Length | 38 | - |
Halstead Vocabulary | 21 | - |
Halstead Effort | 1557.81 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 5 | java.util.List (1) org.junit.runner.Runner (1) org.junit.runners.model.InitializationError (1) java.lang.Class (2) ? (2) |
External Methods Called | 0 | |
Local Methods Called | 3 | runners (1) addParent (1) removeParent (1) |
Lines Of Code | 9 | - |
Number of Comments | 1 | - |
Arguments | 2 | parent (java.lang.Class) children (java.lang.Class) |
Modifiers | 1 | public |
Halstead Difficulty | 9.33 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | org.junit.runners.model.InitializationError (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 2 | - |
Halstead Volume | 166.91 | - |
Number of Operands | 14 | - |
Variable References | 3 | children (1) parent (2) |
Number of Operators | 24 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : safeRunnerForClass(Class) in Class : org.junit.runners.model.RunnerBuilder | ||
---|---|---|
Feature | Number | Values |
Name | safeRunnerForClass | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 5 | - |
Number of Statements | 4 | - |
Halstead Length | 29 | - |
Halstead Vocabulary | 19 | - |
Halstead Effort | 931.62 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 5 | org.junit.runner.Runner (1) org.junit.internal.runners.ErrorReportingRunner (1) java.lang.Class (1) java.lang.Throwable (1) ? (1) |
External Methods Called | 1 | org.junit.internal.runners.ErrorReportingRunner.ErrorReportingRunner (1) |
Local Methods Called | 1 | runnerForClass (1) |
Lines Of Code | 7 | - |
Number of Comments | 1 | - |
Arguments | 1 | testClass (java.lang.Class) |
Modifiers | 1 | public |
Halstead Difficulty | 7.56 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 1 | java.lang.Throwable (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 2 | - |
Halstead Volume | 123.19 | - |
Number of Operands | 11 | - |
Variable References | 3 | e (1) testClass (2) |
Number of Operators | 18 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |