![]() | Analysis of Class : org.junit.experimental.theories.Theories$TheoryAnchor$BlockJUnit4ClassRunner (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.experimental.theories.Theories$TheoryAnchor$BlockJUnit4ClassRunner |
---|
![]() |
Cyclomatic Complexity |
Summary of Theories$TheoryAnchor$BlockJUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | Theories$TheoryAnchor$BlockJUnit4ClassRunner | - |
Number of Methods | 4 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.50 | - |
Number of Statements | 9 | - |
Halstead Cumulative Bugs | 0.18 | - |
Halstead Effort | 4331.84 | - |
UnWeighted Class Size | 4 | - |
Instance Variables | 0 | - |
Imported Packages | 14 | java.lang.reflect.Field java.lang.reflect.InvocationTargetException java.lang.reflect.Modifier java.util.ArrayList java.util.List org.junit.Assert org.junit.experimental.theories.PotentialAssignment.CouldNotGenerateValueException org.junit.experimental.theories.internal.Assignments org.junit.experimental.theories.internal.ParameterizedAssertionError org.junit.internal.AssumptionViolatedException org.junit.runners.BlockJUnit4ClassRunner org.junit.runners.model.FrameworkMethod org.junit.runners.model.InitializationError org.junit.runners.model.Statement |
Response For class | 5 | - |
CBO | 2 | - |
Maintainability Index | 135.78 | - |
Cumulative Number of Comment Lines | 1 | - |
Lines Of Code | 19 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 135.78 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.00 | - |
Local Method Calls | 0 | |
LCOM2 | 4.00 | - |
Max Complexity | 3 | - |
Halstead Cumulative Volume | 554.48 | - |
Hierarchy Method Calls | 4 | nullsOk (1) methodCompletesWithParameters (1) getTestClass (1) super.methodBlock (1) |
Number of Queries | 3 | - |
Fan Out | 2 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 1 | org.junit.runners.model.Statement.Statement (1) getOnlyConstructor().newInstance (1) org.junit.experimental.theories.BlockJUnit4ClassRunner.getJavaClass (1) complete.getConstructorArguments (1) test().getOnlyConstructor (1) |
Superclasses | 0 | - |
Total Complexity | 6 | - |
Subclasses | 0 | - |
Message Passing Coupling | 1 | - |
Number of Commands | 1 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 1 | - |
Halstead Cumulative Length | 123 | - |
Modifiers | 2 | @Override protected |
Methods in Class : org.junit.experimental.theories.Theories$TheoryAnchor$BlockJUnit4ClassRunner | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | collectInitializationErrors | 1 | 1 | 1 | 12 | 12 | 129.06 | 0.01 | 2 | 0 | 0 | 3 | 1 | 1 | 2 | 3.00 | 0 | 0 | 0 | 0 | 0 | 43.02 | 6 | 0 | 6 | 0 | 0 | 0 |
![]() | createTest | 1 | 0 | 2 | 25 | 18 | 416.99 | 0.03 | 2 | 3 | 2 | 4 | 0 | 0 | 2 | 4.00 | 0 | 1 | 0 | 0 | 0 | 104.25 | 10 | 1 | 15 | 0 | 5 | 0 |
![]() | methodBlock | 3 | 0 | 3 | 68 | 31 | 3527.94 | 0.11 | 2 | 1 | 1 | 17 | 0 | 1 | 2 | 10.47 | 1 | 0 | 0 | 0 | 0 | 336.89 | 29 | 1 | 39 | 0 | 3 | 0 |
![]() | methodInvoker | 1 | 0 | 2 | 18 | 15 | 257.85 | 0.02 | 3 | 0 | 1 | 3 | 0 | 2 | 2 | 3.67 | 0 | 0 | 0 | 0 | 0 | 70.32 | 11 | 3 | 7 | 0 | 0 | 0 |
Analysis of Method : collectInitializationErrors(List) in Class : org.junit.experimental.theories.Theories$TheoryAnchor$BlockJUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | collectInitializationErrors | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 1 | - |
Number of Statements | 1 | - |
Halstead Length | 12 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 129.06 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 2 | java.util.List (1) java.lang.Throwable (2) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | errors (java.util.List) |
Modifiers | 2 | @Override protected |
Halstead Difficulty | 3.00 | - |
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 | 6 | - |
Variable References | 0 | |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : createTest() in Class : org.junit.experimental.theories.Theories$TheoryAnchor$BlockJUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | createTest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 25 | - |
Halstead Vocabulary | 18 | - |
Halstead Effort | 416.99 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | java.lang.Object (1) java.lang.Exception (1) |
External Methods Called | 3 | getOnlyConstructor().newInstance (1) complete.getConstructorArguments (1) test().getOnlyConstructor (1) |
Local Methods Called | 2 | nullsOk (1) getTestClass (1) |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 104.25 | - |
Number of Operands | 10 | - |
Variable References | 1 | complete (1) |
Number of Operators | 15 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 0 | - |
Analysis of Method : methodBlock(FrameworkMethod) in Class : org.junit.experimental.theories.Theories$TheoryAnchor$BlockJUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | methodBlock | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 68 | - |
Halstead Vocabulary | 31 | - |
Halstead Effort | 3527.94 | - |
Halstead Bugs | 0.11 | - |
Classes Referenced | 2 | org.junit.runners.model.Statement (2) org.junit.runners.model.FrameworkMethod (1) |
External Methods Called | 1 | org.junit.runners.model.Statement.Statement (1) |
Local Methods Called | 1 | super.methodBlock (1) |
Lines Of Code | 17 | - |
Number of Comments | 0 | - |
Arguments | 1 | method (org.junit.runners.model.FrameworkMethod) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 10.47 | - |
Variable Declarations | 1 | statement (org.junit.runners.model.Statement) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 336.89 | - |
Number of Operands | 29 | - |
Variable References | 1 | method (1) |
Number of Operators | 39 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : methodInvoker(FrameworkMethod, Object) in Class : org.junit.experimental.theories.Theories$TheoryAnchor$BlockJUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | methodInvoker | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 18 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 257.85 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | org.junit.experimental.theories.Statement (1) org.junit.runners.model.FrameworkMethod (1) java.lang.Object (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | methodCompletesWithParameters (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 2 | method (org.junit.runners.model.FrameworkMethod) test (java.lang.Object) |
Modifiers | 2 | @Override protected |
Halstead Difficulty | 3.67 | - |
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 | 11 | - |
Variable References | 3 | complete (1) test (1) method (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |