![]() | Analysis of Class : org.junit.internal.builders.AnnotatedBuilder (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.builders.AnnotatedBuilder |
---|
![]() |
Cyclomatic Complexity |
Summary of AnnotatedBuilder | ||
---|---|---|
Feature | Number | Values |
Name | AnnotatedBuilder | - |
Number of Methods | 3 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 2.00 | - |
Number of Statements | 16 | - |
Halstead Cumulative Bugs | 0.25 | - |
Halstead Effort | 10175.25 | - |
UnWeighted Class Size | 5 | - |
Instance Variables | 2 | CONSTRUCTOR_ERROR_FORMAT (java.lang.String) fSuiteBuilder (org.junit.runners.model.RunnerBuilder) |
Imported Packages | 4 | org.junit.runner.RunWith org.junit.runner.Runner org.junit.runners.model.InitializationError org.junit.runners.model.RunnerBuilder |
Response For class | 3 | - |
CBO | 4 | - |
Maintainability Index | 116.97 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 31 | - |
Fan In | 1 | - |
DIT | 1 | - |
Maintainability Index (NC) | 116.97 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.50 | - |
Local Method Calls | 1 | buildRunner (1) |
LCOM2 | 1.00 | - |
Max Complexity | 3 | - |
Halstead Cumulative Volume | 748.83 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 2 | - |
Fan Out | 3 | - |
SuperClass Name | org.junit.runners.model.RunnerBuilder | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.junit.runners.model.InitializationError.InitializationError (1) java.lang.String.format (1) org.junit.runner.RunWith.value (1) java.lang.Class.getSimpleName (1) java.lang.Class.getConstructor (2) java.lang.Object.Object (2) RunnerBuilder.class().newInstance (1) java.lang.Class.getAnnotation (1) Class.class().newInstance (1) |
Superclasses | 1 | org.junit.runners.model.RunnerBuilder |
Total Complexity | 6 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 1 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 155 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.builders.AnnotatedBuilder | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | AnnotatedBuilder | 1 | 0 | 2 | 10 | 9 | 99.06 | 0.01 | 1 | 0 | 0 | 3 | 0 | 1 | 5 | 3.12 | 0 | 0 | 0 | 0 | 0 | 31.70 | 5 | 2 | 5 | 0 | 1 | 0 |
![]() | buildRunner | 3 | 0 | 7 | 91 | 38 | 7736.49 | 0.16 | 11 | 7 | 0 | 17 | 0 | 2 | 1 | 16.20 | 1 | 1 | 1 | 0 | 4 | 477.56 | 36 | 9 | 55 | 2 | 10 | 0 |
![]() | runnerForClass | 2 | 0 | 4 | 42 | 27 | 2246.68 | 0.07 | 6 | 2 | 1 | 6 | 0 | 1 | 2 | 11.25 | 1 | 1 | 0 | 0 | 0 | 199.71 | 18 | 4 | 24 | 0 | 4 | 0 |
Analysis of Method : AnnotatedBuilder(RunnerBuilder) in Class : org.junit.internal.builders.AnnotatedBuilder | ||
---|---|---|
Feature | Number | Values |
Name | AnnotatedBuilder | - |
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 | 1 | org.junit.runners.model.RunnerBuilder (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | suiteBuilder (org.junit.runners.model.RunnerBuilder) |
Modifiers | 5 | private static final private 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 | suiteBuilder (1) fSuiteBuilder (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : buildRunner(Class, Class) in Class : org.junit.internal.builders.AnnotatedBuilder | ||
---|---|---|
Feature | Number | Values |
Name | buildRunner | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 7 | - |
Halstead Length | 91 | - |
Halstead Vocabulary | 38 | - |
Halstead Effort | 7736.49 | - |
Halstead Bugs | 0.16 | - |
Classes Referenced | 11 | org.junit.runner.Runner (2) java.lang.Exception (1) java.lang.String (2) ?extendsRunner (1) java.lang.Class (2) java.lang.NoSuchMethodException (2) RunnerBuilder.class (1) org.junit.runners.model.InitializationError (1) ? (1) Class.class (2) java.lang.Object (2) |
External Methods Called | 7 | java.lang.Class.getConstructor (2) org.junit.runners.model.InitializationError.InitializationError (1) Class.class().newInstance (1) java.lang.Object.Object (2) RunnerBuilder.class().newInstance (1) java.lang.Class.getSimpleName (1) java.lang.String.format (1) |
Local Methods Called | 0 | |
Lines Of Code | 17 | - |
Number of Comments | 0 | - |
Arguments | 2 | runnerClass (java.lang.Class) testClass (java.lang.Class) |
Modifiers | 1 | public |
Halstead Difficulty | 16.20 | - |
Variable Declarations | 1 | simpleName (java.lang.String) |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 1 | java.lang.NoSuchMethodException (2) |
Number of casts | 0 | - |
Total Depth of Nesting | 4 | - |
Halstead Volume | 477.56 | - |
Number of Operands | 36 | - |
Variable References | 9 | runnerClass (3) simpleName (2) CONSTRUCTOR_ERROR_FORMAT (1) testClass (2) fSuiteBuilder (1) |
Number of Operators | 55 | - |
Max. depth of nesting | 2 | - |
Number of Expressions | 10 | - |
Number of Loops | 0 | - |
Analysis of Method : runnerForClass(Class) in Class : org.junit.internal.builders.AnnotatedBuilder | ||
---|---|---|
Feature | Number | Values |
Name | runnerForClass | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 42 | - |
Halstead Vocabulary | 27 | - |
Halstead Effort | 2246.68 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 6 | org.junit.runner.RunWith (1) ? (1) RunWith.class (1) java.lang.Class (1) org.junit.runner.Runner (1) java.lang.Exception (1) |
External Methods Called | 2 | java.lang.Class.getAnnotation (1) org.junit.runner.RunWith.value (1) |
Local Methods Called | 1 | buildRunner (1) |
Lines Of Code | 6 | - |
Number of Comments | 0 | - |
Arguments | 1 | testClass (java.lang.Class) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 11.25 | - |
Variable Declarations | 1 | annotation (org.junit.runner.RunWith) |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 199.71 | - |
Number of Operands | 18 | - |
Variable References | 4 | annotation (2) testClass (2) |
Number of Operators | 24 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |