![]() | Analysis of Class : org.junit.experimental.theories.Theories (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.experimental.theories.Theories |
---|
![]() |
Cyclomatic Complexity |
Summary of Theories | ||
---|---|---|
Feature | Number | Values |
Name | Theories | - |
Number of Methods | 7 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.57 | - |
Number of Statements | 28 | - |
Halstead Cumulative Bugs | 0.36 | - |
Halstead Effort | 9778.37 | - |
UnWeighted Class Size | 7 | - |
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 | 7 | - |
CBO | 8 | - |
Maintainability Index | 123.67 | - |
Cumulative Number of Comment Lines | 2 | - |
Lines Of Code | 70 | - |
Fan In | 0 | - |
DIT | 3 | - |
Maintainability Index (NC) | 123.67 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.75 | - |
COH | 0.00 | - |
Local Method Calls | 2 | computeTestMethods (1) validateDataPointFields (1) |
LCOM2 | 7.00 | - |
Max Complexity | 3 | - |
Halstead Cumulative Volume | 1073.90 | - |
Hierarchy Method Calls | 4 | validateOnlyOneConstructor (1) getTestClass (2) super.collectInitializationErrors (1) super.computeTestMethods (1) |
Number of Queries | 2 | - |
Fan Out | 8 | - |
SuperClass Name | org.junit.runners.BlockJUnit4ClassRunner | - |
SIX | 0.05 | - |
External Method Calls | 0 | org.junit.experimental.theories.TheoryAnchor.TheoryAnchor (1) each.getAnnotation (2) List java.lang.reflect.Modifier.isStatic (1) errors().getJavaClass (1) getJavaClass().getDeclaredFields (1) List each.validatePublicVoid (1) each.validatePublicVoidNoArg (1) each.getName (1) each.getModifiers (1) java.util.List.add (1) List java.lang.Error.Error (1) |
Superclasses | 3 | org.junit.runner.Runner org.junit.runners.BlockJUnit4ClassRunner org.junit.runners.ParentRunner |
Total Complexity | 11 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 5 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 235 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.experimental.theories.Theories | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | Theories | 1 | 0 | 2 | 15 | 13 | 266.43 | 0.02 | 2 | 0 | 0 | 3 | 0 | 1 | 1 | 4.80 | 0 | 0 | 0 | 0 | 0 | 55.51 | 6 | 1 | 9 | 0 | 1 | 0 |
![]() | collectInitializationErrors | 1 | 0 | 3 | 22 | 16 | 484.00 | 0.03 | 2 | 0 | 2 | 4 | 0 | 1 | 2 | 5.50 | 0 | 0 | 0 | 0 | 0 | 88.00 | 11 | 2 | 11 | 0 | 2 | 0 |
![]() | computeTestMethods | 1 | 0 | 6 | 51 | 23 | 2326.24 | 0.08 | 3 | 3 | 2 | 7 | 0 | 0 | 2 | 10.08 | 2 | 0 | 0 | 0 | 0 | 230.70 | 22 | 5 | 29 | 0 | 7 | 0 |
![]() | methodBlock | 1 | 0 | 2 | 16 | 14 | 284.28 | 0.02 | 3 | 1 | 0 | 3 | 0 | 1 | 2 | 4.67 | 0 | 0 | 0 | 0 | 0 | 60.92 | 7 | 1 | 9 | 0 | 1 | 0 |
![]() | validateConstructor | 1 | 0 | 2 | 16 | 14 | 243.67 | 0.02 | 2 | 0 | 1 | 3 | 0 | 1 | 2 | 4.00 | 0 | 0 | 0 | 0 | 0 | 60.92 | 8 | 1 | 8 | 0 | 1 | 0 |
![]() | validateDataPointFields | 3 | 0 | 6 | 66 | 40 | 4023.38 | 0.12 | 6 | 8 | 1 | 6 | 0 | 1 | 1 | 11.45 | 1 | 0 | 0 | 0 | 0 | 351.25 | 28 | 5 | 38 | 0 | 15 | 1 |
![]() | validateTestMethods | 3 | 0 | 6 | 45 | 29 | 2142.37 | 0.07 | 4 | 3 | 1 | 7 | 0 | 1 | 2 | 9.80 | 0 | 0 | 0 | 0 | 0 | 218.61 | 21 | 5 | 24 | 0 | 5 | 1 |
Analysis of Method : Theories(Class) in Class : org.junit.experimental.theories.Theories | ||
---|---|---|
Feature | Number | Values |
Name | Theories | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 266.43 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | java.lang.Class (1) ? (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | klass (java.lang.Class) |
Modifiers | 1 | public |
Halstead Difficulty | 4.80 | - |
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 | 6 | - |
Variable References | 1 | klass (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : collectInitializationErrors(List) in Class : org.junit.experimental.theories.Theories | ||
---|---|---|
Feature | Number | Values |
Name | collectInitializationErrors | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 22 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 484.00 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | java.util.List (1) java.lang.Throwable (2) |
External Methods Called | 0 | |
Local Methods Called | 2 | super.collectInitializationErrors (1) validateDataPointFields (1) |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 1 | errors (java.util.List) |
Modifiers | 2 | @Override protected |
Halstead Difficulty | 5.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 88.00 | - |
Number of Operands | 11 | - |
Variable References | 2 | errors (2) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : computeTestMethods() in Class : org.junit.experimental.theories.Theories | ||
---|---|---|
Feature | Number | Values |
Name | computeTestMethods | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 6 | - |
Halstead Length | 51 | - |
Halstead Vocabulary | 23 | - |
Halstead Effort | 2326.24 | - |
Halstead Bugs | 0.08 | - |
Classes Referenced | 3 | java.util.List (3) org.junit.runners.model.FrameworkMethod (5) Theory.class (1) |
External Methods Called | 3 | List List List |
Local Methods Called | 2 | getTestClass (1) super.computeTestMethods (1) |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override protected |
Halstead Difficulty | 10.08 | - |
Variable Declarations | 2 | theoryMethods (List<FrameworkMethod>) testMethods (List<FrameworkMethod>) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 230.70 | - |
Number of Operands | 22 | - |
Variable References | 5 | theoryMethods (2) testMethods (3) |
Number of Operators | 29 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 7 | - |
Number of Loops | 0 | - |
Analysis of Method : methodBlock(FrameworkMethod) in Class : org.junit.experimental.theories.Theories | ||
---|---|---|
Feature | Number | Values |
Name | methodBlock | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 284.28 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | org.junit.runners.model.Statement (1) org.junit.runners.model.FrameworkMethod (1) org.junit.experimental.theories.TheoryAnchor (1) |
External Methods Called | 1 | org.junit.experimental.theories.TheoryAnchor.TheoryAnchor (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | method (org.junit.runners.model.FrameworkMethod) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 4.67 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 60.92 | - |
Number of Operands | 7 | - |
Variable References | 1 | method (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : validateConstructor(List) in Class : org.junit.experimental.theories.Theories | ||
---|---|---|
Feature | Number | Values |
Name | validateConstructor | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 243.67 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | java.util.List (1) java.lang.Throwable (2) |
External Methods Called | 0 | |
Local Methods Called | 1 | validateOnlyOneConstructor (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | errors (java.util.List) |
Modifiers | 2 | @Override 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 | 60.92 | - |
Number of Operands | 8 | - |
Variable References | 1 | errors (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : validateDataPointFields(List) in Class : org.junit.experimental.theories.Theories | ||
---|---|---|
Feature | Number | Values |
Name | validateDataPointFields | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 6 | - |
Halstead Length | 66 | - |
Halstead Vocabulary | 40 | - |
Halstead Effort | 4023.38 | - |
Halstead Bugs | 0.12 | - |
Classes Referenced | 6 | java.util.List (1) DataPoint.class (1) java.lang.reflect.Modifier (1) java.lang.Throwable (2) java.lang.reflect.Field (2) java.lang.Error (1) |
External Methods Called | 8 | getJavaClass().getDeclaredFields (1) java.util.List.add (1) errors().getJavaClass (1) each.getAnnotation (1) java.lang.Error.Error (1) each.getModifiers (1) java.lang.reflect.Modifier.isStatic (1) each.getName (1) |
Local Methods Called | 1 | getTestClass (1) |
Lines Of Code | 6 | - |
Number of Comments | 0 | - |
Arguments | 1 | errors (java.util.List) |
Modifiers | 1 | private |
Halstead Difficulty | 11.45 | - |
Variable Declarations | 1 | fields (java.lang.reflect.Field[]) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 351.25 | - |
Number of Operands | 28 | - |
Variable References | 5 | fields (1) each (3) errors (1) |
Number of Operators | 38 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 15 | - |
Number of Loops | 1 | - |
Analysis of Method : validateTestMethods(List) in Class : org.junit.experimental.theories.Theories | ||
---|---|---|
Feature | Number | Values |
Name | validateTestMethods | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 6 | - |
Halstead Length | 45 | - |
Halstead Vocabulary | 29 | - |
Halstead Effort | 2142.37 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 4 | java.util.List (1) java.lang.Throwable (2) org.junit.runners.model.FrameworkMethod (1) Theory.class (1) |
External Methods Called | 3 | each.getAnnotation (1) each.validatePublicVoidNoArg (1) each.validatePublicVoid (1) |
Local Methods Called | 1 | computeTestMethods (1) |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 1 | errors (java.util.List) |
Modifiers | 2 | @Override protected |
Halstead Difficulty | 9.80 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 218.61 | - |
Number of Operands | 21 | - |
Variable References | 5 | each (3) errors (2) |
Number of Operators | 24 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 1 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |