![]() | Analysis of Class : org.junit.experimental.theories.Theories$TheoryAnchor (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.experimental.theories.Theories$TheoryAnchor |
---|
![]() |
Cyclomatic Complexity |
Summary of Theories$TheoryAnchor | ||
---|---|---|
Feature | Number | Values |
Name | Theories$TheoryAnchor | - |
Number of Methods | 10 | - |
LCOM | 0.04 | - |
Average Cyclomatic Complexity | 1.80 | - |
Number of Statements | 34 | - |
Halstead Cumulative Bugs | 0.69 | - |
Halstead Effort | 20464.04 | - |
UnWeighted Class Size | 13 | - |
Instance Variables | 3 | successes (int) fTestMethod (org.junit.runners.model.FrameworkMethod) fInvalidParameters (java.util.List) |
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 | 11 | - |
CBO | 8 | - |
Maintainability Index | 126.99 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 74 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 126.99 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.30 | - |
Local Method Calls | 3 | runWithAssignment (2) runWithCompleteAssignment (1) runWithIncompleteAssignment (1) |
LCOM2 | 18.00 | - |
Max Complexity | 3 | - |
Halstead Cumulative Volume | 2068.64 | - |
Hierarchy Method Calls | 1 | getTestClass (1) |
Number of Queries | 2 | - |
Fan Out | 8 | - |
SuperClass Name | org.junit.runners.model.Statement | - |
SIX | 0.09 | - |
External Method Calls | 1 | org.junit.runners.model.FrameworkMethod.getName (1) org.junit.runners.BlockJUnit4ClassRunner.BlockJUnit4ClassRunner (1) org.junit.experimental.theories.internal.Assignments.isComplete (1) Theory.nullsAccepted (1) org.junit.experimental.theories.internal.Assignments.allUnassigned (1) org.junit.runners.model.Statement.Statement (1) java.util.ArrayList.ArrayList (1) java.util.List.add (1) org.junit.experimental.theories.internal.Assignments.assignNext (1) getMethod().getAnnotation (1) fTestMethod().evaluate (1) org.junit.runners.model.FrameworkMethod.getMethod (2) org.junit.experimental.theories.internal.ParameterizedAssertionError.ParameterizedAssertionError (1) |
Superclasses | 1 | org.junit.runners.model.Statement |
Total Complexity | 18 | - |
Subclasses | 0 | - |
Message Passing Coupling | 1 | - |
Number of Commands | 8 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 2 | - |
Halstead Cumulative Length | 422 | - |
Modifiers | 1 | public |
Methods in Class : org.junit.experimental.theories.Theories$TheoryAnchor | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | TheoryAnchor | 1 | 0 | 2 | 10 | 9 | 99.06 | 0.01 | 1 | 0 | 0 | 3 | 0 | 1 | 4 | 3.12 | 0 | 0 | 0 | 0 | 0 | 31.70 | 5 | 2 | 5 | 0 | 1 | 0 |
![]() | evaluate | 2 | 0 | 3 | 35 | 26 | 822.58 | 0.05 | 3 | 2 | 2 | 8 | 0 | 0 | 2 | 5.00 | 0 | 1 | 0 | 0 | 0 | 164.52 | 16 | 3 | 19 | 0 | 7 | 0 |
![]() | handleAssumptionViolation | 1 | 0 | 2 | 13 | 11 | 131.17 | 0.01 | 1 | 1 | 0 | 3 | 0 | 1 | 1 | 2.92 | 0 | 0 | 0 | 0 | 0 | 44.97 | 7 | 2 | 6 | 0 | 1 | 0 |
![]() | handleDataPointSuccess | 1 | 0 | 2 | 8 | 8 | 60.00 | 0.01 | 0 | 0 | 0 | 3 | 0 | 0 | 1 | 2.50 | 0 | 0 | 0 | 0 | 0 | 24.00 | 3 | 1 | 5 | 0 | 1 | 0 |
![]() | methodCompletesWithParameters | 2 | 1 | 2 | 55 | 33 | 2774.42 | 0.09 | 4 | 1 | 0 | 14 | 1 | 3 | 1 | 10.00 | 0 | 0 | 0 | 0 | 0 | 277.44 | 24 | 0 | 31 | 0 | 1 | 0 |
![]() | nullsOk | 2 | 0 | 4 | 33 | 20 | 927.05 | 0.05 | 2 | 3 | 0 | 7 | 0 | 0 | 1 | 6.50 | 1 | 0 | 0 | 0 | 0 | 142.62 | 13 | 3 | 20 | 0 | 5 | 0 |
![]() | reportParameterizedError | 2 | 0 | 3 | 33 | 22 | 1177.29 | 0.05 | 3 | 2 | 0 | 7 | 0 | 2 | 1 | 8.00 | 0 | 1 | 0 | 0 | 0 | 147.16 | 16 | 6 | 17 | 0 | 3 | 0 |
![]() | runWithAssignment | 2 | 0 | 4 | 27 | 17 | 682.86 | 0.04 | 2 | 1 | 2 | 8 | 0 | 1 | 1 | 6.19 | 0 | 1 | 0 | 0 | 2 | 110.36 | 11 | 3 | 16 | 1 | 4 | 0 |
![]() | runWithCompleteAssignment | 3 | 1 | 2 | 154 | 56 | 12699.52 | 0.30 | 7 | 2 | 0 | 37 | 1 | 1 | 1 | 14.20 | 0 | 5 | 0 | 0 | 0 | 894.33 | 71 | 1 | 83 | 0 | 3 | 0 |
![]() | runWithIncompleteAssignment | 2 | 0 | 6 | 29 | 20 | 626.68 | 0.04 | 5 | 1 | 1 | 8 | 0 | 1 | 1 | 5.00 | 0 | 3 | 0 | 0 | 1 | 125.34 | 15 | 3 | 14 | 1 | 3 | 1 |
Analysis of Method : TheoryAnchor(FrameworkMethod) in Class : org.junit.experimental.theories.Theories$TheoryAnchor | ||
---|---|---|
Feature | Number | Values |
Name | TheoryAnchor | - |
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.FrameworkMethod (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | method (org.junit.runners.model.FrameworkMethod) |
Modifiers | 4 | private private 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 | fTestMethod (1) method (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : evaluate() in Class : org.junit.experimental.theories.Theories$TheoryAnchor | ||
---|---|---|
Feature | Number | Values |
Name | evaluate | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 35 | - |
Halstead Vocabulary | 26 | - |
Halstead Effort | 822.58 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 3 | org.junit.experimental.theories.internal.Assignments (1) java.lang.Throwable (1) org.junit.Assert (1) |
External Methods Called | 2 | org.junit.runners.model.FrameworkMethod.getMethod (1) org.junit.experimental.theories.internal.Assignments.allUnassigned (1) |
Local Methods Called | 2 | runWithAssignment (1) getTestClass (1) |
Lines Of Code | 8 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 5.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 | 164.52 | - |
Number of Operands | 16 | - |
Variable References | 3 | successes (1) fTestMethod (1) fInvalidParameters (1) |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 7 | - |
Number of Loops | 0 | - |
Analysis of Method : handleAssumptionViolation(AssumptionViolatedException) in Class : org.junit.experimental.theories.Theories$TheoryAnchor | ||
---|---|---|
Feature | Number | Values |
Name | handleAssumptionViolation | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 131.17 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.internal.AssumptionViolatedException (1) |
External Methods Called | 1 | java.util.List.add (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | e (org.junit.internal.AssumptionViolatedException) |
Modifiers | 1 | protected |
Halstead Difficulty | 2.92 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 44.97 | - |
Number of Operands | 7 | - |
Variable References | 2 | fInvalidParameters (1) e (1) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : handleDataPointSuccess() in Class : org.junit.experimental.theories.Theories$TheoryAnchor | ||
---|---|---|
Feature | Number | Values |
Name | handleDataPointSuccess | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 8 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 60.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 2.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 24.00 | - |
Number of Operands | 3 | - |
Variable References | 1 | successes (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : methodCompletesWithParameters(FrameworkMethod, Assignments, Object) in Class : org.junit.experimental.theories.Theories$TheoryAnchor | ||
---|---|---|
Feature | Number | Values |
Name | methodCompletesWithParameters | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 1 | - |
Number of Statements | 2 | - |
Halstead Length | 55 | - |
Halstead Vocabulary | 33 | - |
Halstead Effort | 2774.42 | - |
Halstead Bugs | 0.09 | - |
Classes Referenced | 4 | org.junit.experimental.theories.internal.Assignments (1) org.junit.runners.model.Statement (2) org.junit.runners.model.FrameworkMethod (1) java.lang.Object (1) |
External Methods Called | 1 | org.junit.runners.model.Statement.Statement (1) |
Local Methods Called | 0 | |
Lines Of Code | 14 | - |
Number of Comments | 1 | - |
Arguments | 3 | method (org.junit.runners.model.FrameworkMethod) complete (org.junit.experimental.theories.internal.Assignments) freshInstance (java.lang.Object) |
Modifiers | 1 | private |
Halstead Difficulty | 10.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 277.44 | - |
Number of Operands | 24 | - |
Variable References | 0 | |
Number of Operators | 31 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : nullsOk() in Class : org.junit.experimental.theories.Theories$TheoryAnchor | ||
---|---|---|
Feature | Number | Values |
Name | nullsOk | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 33 | - |
Halstead Vocabulary | 20 | - |
Halstead Effort | 927.05 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 2 | Theory (1) Theory.class (1) |
External Methods Called | 3 | Theory.nullsAccepted (1) org.junit.runners.model.FrameworkMethod.getMethod (1) getMethod().getAnnotation (1) |
Local Methods Called | 0 | |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | private |
Halstead Difficulty | 6.50 | - |
Variable Declarations | 1 | annotation (Theory) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 142.62 | - |
Number of Operands | 13 | - |
Variable References | 3 | annotation (2) fTestMethod (1) |
Number of Operators | 20 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 0 | - |
Analysis of Method : reportParameterizedError(Throwable, Object...) in Class : org.junit.experimental.theories.Theories$TheoryAnchor | ||
---|---|---|
Feature | Number | Values |
Name | reportParameterizedError | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 33 | - |
Halstead Vocabulary | 22 | - |
Halstead Effort | 1177.29 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 3 | org.junit.experimental.theories.internal.ParameterizedAssertionError (1) java.lang.Throwable (2) java.lang.Object (1) |
External Methods Called | 2 | org.junit.runners.model.FrameworkMethod.getName (1) org.junit.experimental.theories.internal.ParameterizedAssertionError.ParameterizedAssertionError (1) |
Local Methods Called | 0 | |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 2 | e (java.lang.Throwable) params (java.lang.Object...) |
Modifiers | 1 | protected |
Halstead Difficulty | 8.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 | 147.16 | - |
Number of Operands | 16 | - |
Variable References | 6 | fTestMethod (1) length (1) e (2) params (2) |
Number of Operators | 17 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : runWithAssignment(Assignments) in Class : org.junit.experimental.theories.Theories$TheoryAnchor | ||
---|---|---|
Feature | Number | Values |
Name | runWithAssignment | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 27 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 682.86 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 2 | org.junit.experimental.theories.internal.Assignments (1) java.lang.Throwable (1) |
External Methods Called | 1 | org.junit.experimental.theories.internal.Assignments.isComplete (1) |
Local Methods Called | 2 | runWithCompleteAssignment (1) runWithIncompleteAssignment (1) |
Lines Of Code | 8 | - |
Number of Comments | 0 | - |
Arguments | 1 | parameterAssignment (org.junit.experimental.theories.internal.Assignments) |
Modifiers | 1 | protected |
Halstead Difficulty | 6.19 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Throwable (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 2 | - |
Halstead Volume | 110.36 | - |
Number of Operands | 11 | - |
Variable References | 3 | parameterAssignment (3) |
Number of Operators | 16 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : runWithCompleteAssignment(Assignments) in Class : org.junit.experimental.theories.Theories$TheoryAnchor | ||
---|---|---|
Feature | Number | Values |
Name | runWithCompleteAssignment | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 1 | - |
Number of Statements | 2 | - |
Halstead Length | 154 | - |
Halstead Vocabulary | 56 | - |
Halstead Effort | 12699.52 | - |
Halstead Bugs | 0.30 | - |
Classes Referenced | 7 | org.junit.experimental.theories.internal.Assignments (1) java.lang.InstantiationException (1) java.lang.NoSuchMethodException (1) org.junit.runners.BlockJUnit4ClassRunner (1) java.lang.reflect.InvocationTargetException (1) java.lang.IllegalAccessException (1) java.lang.Throwable (1) |
External Methods Called | 2 | fTestMethod().evaluate (1) org.junit.runners.BlockJUnit4ClassRunner.BlockJUnit4ClassRunner (1) |
Local Methods Called | 0 | |
Lines Of Code | 37 | - |
Number of Comments | 1 | - |
Arguments | 1 | complete (org.junit.experimental.theories.internal.Assignments) |
Modifiers | 1 | protected |
Halstead Difficulty | 14.20 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 5 | java.lang.InstantiationException (1) java.lang.NoSuchMethodException (1) java.lang.reflect.InvocationTargetException (1) java.lang.IllegalAccessException (1) java.lang.Throwable (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 894.33 | - |
Number of Operands | 71 | - |
Variable References | 1 | fTestMethod (1) |
Number of Operators | 83 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : runWithIncompleteAssignment(Assignments) in Class : org.junit.experimental.theories.Theories$TheoryAnchor | ||
---|---|---|
Feature | Number | Values |
Name | runWithIncompleteAssignment | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 6 | - |
Halstead Length | 29 | - |
Halstead Vocabulary | 20 | - |
Halstead Effort | 626.68 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 5 | org.junit.experimental.theories.internal.Assignments (1) java.lang.InstantiationException (1) org.junit.experimental.theories.PotentialAssignment (1) java.lang.IllegalAccessException (1) java.lang.Throwable (1) |
External Methods Called | 1 | org.junit.experimental.theories.internal.Assignments.assignNext (1) |
Local Methods Called | 1 | runWithAssignment (1) |
Lines Of Code | 8 | - |
Number of Comments | 0 | - |
Arguments | 1 | incomplete (org.junit.experimental.theories.internal.Assignments) |
Modifiers | 1 | protected |
Halstead Difficulty | 5.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 3 | java.lang.InstantiationException (1) java.lang.IllegalAccessException (1) java.lang.Throwable (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 125.34 | - |
Number of Operands | 15 | - |
Variable References | 3 | incomplete (2) source (1) |
Number of Operators | 14 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 3 | - |
Number of Loops | 1 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |