![]() | Analysis of Class : org.junit.experimental.theories.internal.AllMembersSupplier (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.experimental.theories.internal.AllMembersSupplier |
---|
![]() |
Cyclomatic Complexity |
Summary of AllMembersSupplier | ||
---|---|---|
Feature | Number | Values |
Name | AllMembersSupplier | - |
Number of Methods | 7 | - |
LCOM | 0.50 | - |
Average Cyclomatic Complexity | 2.57 | - |
Number of Statements | 44 | - |
Halstead Cumulative Bugs | 0.59 | - |
Halstead Effort | 17714.15 | - |
UnWeighted Class Size | 8 | - |
Instance Variables | 1 | fClass (org.junit.runners.model.TestClass) |
Imported Packages | 12 | java.lang.reflect.Array java.lang.reflect.Field java.lang.reflect.Modifier java.util.ArrayList java.util.List org.junit.experimental.theories.DataPoint org.junit.experimental.theories.DataPoints org.junit.experimental.theories.ParameterSignature org.junit.experimental.theories.ParameterSupplier org.junit.experimental.theories.PotentialAssignment org.junit.runners.model.FrameworkMethod org.junit.runners.model.TestClass |
Response For class | 7 | - |
CBO | 6 | - |
Maintainability Index | 164.96 | - |
Cumulative Number of Comment Lines | 7 | - |
Lines Of Code | 62 | - |
Fan In | 1 | - |
DIT | 1 | - |
Maintainability Index (NC) | 114.96 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.57 | - |
Local Method Calls | 5 | addFields (1) addSinglePointMethods (1) addArrayValues (2) addMultiPointMethods (1) getStaticFieldValue (2) |
LCOM2 | 3.00 | - |
Max Complexity | 5 | - |
Halstead Cumulative Volume | 1757.86 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 2 | - |
Fan Out | 5 | - |
SuperClass Name | org.junit.experimental.theories.ParameterSupplier | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.junit.experimental.theories.ParameterSignature.getType (1) org.junit.runners.model.TestClass.getJavaClass (1) java.lang.reflect.Field.get (1) org.junit.experimental.theories.ParameterSignature.canAcceptType (1) dataPointsMethod.getName (1) java.lang.reflect.Modifier.isStatic (1) java.util.ArrayList.ArrayList (1) java.lang.reflect.Array.get (1) field.getModifiers (1) org.junit.experimental.theories.internal.MethodParameterValue.MethodParameterValue (1) dataPointMethod.producesType (1) field.getType (1) getJavaClass().getFields (1) java.util.List.add (3) field.getName (2) java.lang.RuntimeException.RuntimeException (2) java.lang.reflect.Array.getLength (1) org.junit.experimental.theories.PotentialAssignment.forValue (1) org.junit.experimental.theories.ParameterSignature.canAcceptArrayType (1) dataPointsMethod.invokeExplosively (1) field.getAnnotation (2) |
Superclasses | 1 | org.junit.experimental.theories.ParameterSupplier |
Total Complexity | 18 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 5 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 3 | - |
Halstead Cumulative Length | 358 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.experimental.theories.internal.AllMembersSupplier | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | AllMembersSupplier | 1 | 3 | 2 | 10 | 9 | 99.06 | 0.01 | 1 | 0 | 0 | 3 | 1 | 1 | 3 | 3.12 | 0 | 0 | 0 | 0 | 0 | 31.70 | 5 | 2 | 5 | 0 | 1 | 0 |
![]() | addArrayValues | 2 | 0 | 5 | 53 | 30 | 2183.18 | 0.09 | 5 | 4 | 0 | 4 | 0 | 3 | 1 | 8.39 | 1 | 0 | 0 | 0 | 0 | 260.07 | 29 | 8 | 24 | 0 | 9 | 1 |
![]() | addFields | 5 | 0 | 11 | 112 | 46 | 8703.61 | 0.21 | 9 | 10 | 2 | 16 | 0 | 2 | 1 | 14.07 | 1 | 0 | 0 | 0 | 4 | 618.64 | 48 | 15 | 64 | 3 | 20 | 1 |
![]() | addMultiPointMethods | 3 | 1 | 6 | 42 | 28 | 1438.60 | 0.07 | 5 | 2 | 1 | 8 | 1 | 1 | 1 | 7.12 | 0 | 0 | 1 | 0 | 2 | 201.91 | 19 | 4 | 23 | 1 | 3 | 1 |
![]() | addSinglePointMethods | 3 | 0 | 7 | 53 | 32 | 2370.28 | 0.09 | 8 | 4 | 0 | 9 | 0 | 2 | 1 | 8.94 | 1 | 0 | 0 | 0 | 1 | 265.00 | 23 | 6 | 30 | 1 | 6 | 1 |
![]() | getStaticFieldValue | 3 | 0 | 5 | 39 | 23 | 1212.88 | 0.06 | 5 | 2 | 0 | 11 | 0 | 1 | 1 | 6.88 | 0 | 0 | 2 | 0 | 3 | 176.42 | 15 | 1 | 24 | 1 | 3 | 0 |
![]() | getValueSources | 1 | 0 | 6 | 42 | 21 | 1677.07 | 0.06 | 4 | 1 | 3 | 7 | 0 | 1 | 2 | 9.09 | 1 | 0 | 0 | 0 | 0 | 184.48 | 20 | 6 | 22 | 0 | 3 | 0 |
Analysis of Method : AllMembersSupplier(TestClass) in Class : org.junit.experimental.theories.internal.AllMembersSupplier | ||
---|---|---|
Feature | Number | Values |
Name | AllMembersSupplier | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
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.TestClass (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | type (org.junit.runners.model.TestClass) |
Modifiers | 3 | private final 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 | fClass (1) type (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : addArrayValues(String, List, Object) in Class : org.junit.experimental.theories.internal.AllMembersSupplier | ||
---|---|---|
Feature | Number | Values |
Name | addArrayValues | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 5 | - |
Halstead Length | 53 | - |
Halstead Vocabulary | 30 | - |
Halstead Effort | 2183.18 | - |
Halstead Bugs | 0.09 | - |
Classes Referenced | 5 | java.util.List (1) java.lang.String (1) java.lang.Object (1) org.junit.experimental.theories.PotentialAssignment (3) java.lang.reflect.Array (2) |
External Methods Called | 4 | org.junit.experimental.theories.PotentialAssignment.forValue (1) java.lang.reflect.Array.getLength (1) java.util.List.add (1) java.lang.reflect.Array.get (1) |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 3 | name (java.lang.String) list (java.util.List) array (java.lang.Object) |
Modifiers | 1 | private |
Halstead Difficulty | 8.39 | - |
Variable Declarations | 1 | i (int) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 260.07 | - |
Number of Operands | 29 | - |
Variable References | 8 | name (1) i (4) list (1) array (2) |
Number of Operators | 24 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 9 | - |
Number of Loops | 1 | - |
Analysis of Method : addFields(ParameterSignature, List) in Class : org.junit.experimental.theories.internal.AllMembersSupplier | ||
---|---|---|
Feature | Number | Values |
Name | addFields | - |
Cyclomatic Complexity | 5 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 11 | - |
Halstead Length | 112 | - |
Halstead Vocabulary | 46 | - |
Halstead Effort | 8703.61 | - |
Halstead Bugs | 0.21 | - |
Classes Referenced | 9 | ? (1) java.lang.reflect.Field (1) DataPoint.class (1) org.junit.experimental.theories.ParameterSignature (1) java.lang.Class (1) DataPoints.class (1) java.lang.reflect.Modifier (1) java.util.List (1) org.junit.experimental.theories.PotentialAssignment (3) |
External Methods Called | 10 | getJavaClass().getFields (1) java.lang.reflect.Modifier.isStatic (1) java.util.List.add (1) field.getModifiers (1) org.junit.experimental.theories.ParameterSignature.canAcceptArrayType (1) org.junit.experimental.theories.ParameterSignature.canAcceptType (1) field.getType (1) field.getAnnotation (2) org.junit.runners.model.TestClass.getJavaClass (1) field.getName (2) |
Local Methods Called | 2 | addArrayValues (1) getStaticFieldValue (2) |
Lines Of Code | 16 | - |
Number of Comments | 0 | - |
Arguments | 2 | sig (org.junit.experimental.theories.ParameterSignature) list (java.util.List) |
Modifiers | 1 | private |
Halstead Difficulty | 14.07 | - |
Variable Declarations | 1 | type (Class<?>) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 4 | - |
Halstead Volume | 618.64 | - |
Number of Operands | 48 | - |
Variable References | 15 | fClass (1) type (2) list (2) field (8) sig (2) |
Number of Operators | 64 | - |
Max. depth of nesting | 3 | - |
Number of Expressions | 20 | - |
Number of Loops | 1 | - |
Analysis of Method : addMultiPointMethods(List) in Class : org.junit.experimental.theories.internal.AllMembersSupplier | ||
---|---|---|
Feature | Number | Values |
Name | addMultiPointMethods | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 1 | - |
Number of Statements | 6 | - |
Halstead Length | 42 | - |
Halstead Vocabulary | 28 | - |
Halstead Effort | 1438.60 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 5 | java.util.List (1) DataPoints.class (1) org.junit.runners.model.FrameworkMethod (1) java.lang.Throwable (1) org.junit.experimental.theories.PotentialAssignment (2) |
External Methods Called | 2 | dataPointsMethod.invokeExplosively (1) dataPointsMethod.getName (1) |
Local Methods Called | 1 | addArrayValues (1) |
Lines Of Code | 8 | - |
Number of Comments | 1 | - |
Arguments | 1 | list (java.util.List) |
Modifiers | 1 | private |
Halstead Difficulty | 7.12 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 1 | java.lang.Throwable (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 2 | - |
Halstead Volume | 201.91 | - |
Number of Operands | 19 | - |
Variable References | 4 | dataPointsMethod (2) fClass (1) list (1) |
Number of Operators | 23 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 3 | - |
Number of Loops | 1 | - |
Analysis of Method : addSinglePointMethods(ParameterSignature, List) in Class : org.junit.experimental.theories.internal.AllMembersSupplier | ||
---|---|---|
Feature | Number | Values |
Name | addSinglePointMethods | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 7 | - |
Halstead Length | 53 | - |
Halstead Vocabulary | 32 | - |
Halstead Effort | 2370.28 | - |
Halstead Bugs | 0.09 | - |
Classes Referenced | 8 | java.util.List (1) DataPoint.class (1) org.junit.experimental.theories.internal.MethodParameterValue (1) org.junit.experimental.theories.ParameterSignature (1) org.junit.runners.model.FrameworkMethod (1) java.lang.Class (1) org.junit.experimental.theories.PotentialAssignment (2) ? (1) |
External Methods Called | 4 | java.util.List.add (1) org.junit.experimental.theories.ParameterSignature.getType (1) org.junit.experimental.theories.internal.MethodParameterValue.MethodParameterValue (1) dataPointMethod.producesType (1) |
Local Methods Called | 0 | |
Lines Of Code | 9 | - |
Number of Comments | 0 | - |
Arguments | 2 | sig (org.junit.experimental.theories.ParameterSignature) list (java.util.List) |
Modifiers | 1 | private |
Halstead Difficulty | 8.94 | - |
Variable Declarations | 1 | type (Class<?>) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 265.00 | - |
Number of Operands | 23 | - |
Variable References | 6 | fClass (1) dataPointMethod (2) type (1) list (1) sig (1) |
Number of Operators | 30 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 6 | - |
Number of Loops | 1 | - |
Analysis of Method : getStaticFieldValue(Field) in Class : org.junit.experimental.theories.internal.AllMembersSupplier | ||
---|---|---|
Feature | Number | Values |
Name | getStaticFieldValue | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 5 | - |
Halstead Length | 39 | - |
Halstead Vocabulary | 23 | - |
Halstead Effort | 1212.88 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 5 | java.lang.RuntimeException (2) java.lang.IllegalArgumentException (1) java.lang.IllegalAccessException (1) java.lang.Object (1) java.lang.reflect.Field (1) |
External Methods Called | 2 | java.lang.reflect.Field.get (1) java.lang.RuntimeException.RuntimeException (2) |
Local Methods Called | 0 | |
Lines Of Code | 11 | - |
Number of Comments | 0 | - |
Arguments | 1 | field (java.lang.reflect.Field) |
Modifiers | 1 | private |
Halstead Difficulty | 6.88 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 2 | java.lang.IllegalAccessException (1) java.lang.IllegalArgumentException (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 3 | - |
Halstead Volume | 176.42 | - |
Number of Operands | 15 | - |
Variable References | 1 | field (1) |
Number of Operators | 24 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : getValueSources(ParameterSignature) in Class : org.junit.experimental.theories.internal.AllMembersSupplier | ||
---|---|---|
Feature | Number | Values |
Name | getValueSources | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 6 | - |
Halstead Length | 42 | - |
Halstead Vocabulary | 21 | - |
Halstead Effort | 1677.07 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 4 | java.util.List (2) java.util.ArrayList (1) org.junit.experimental.theories.ParameterSignature (1) org.junit.experimental.theories.PotentialAssignment (3) |
External Methods Called | 1 | java.util.ArrayList.ArrayList (1) |
Local Methods Called | 3 | addFields (1) addSinglePointMethods (1) addMultiPointMethods (1) |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 1 | sig (org.junit.experimental.theories.ParameterSignature) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 9.09 | - |
Variable Declarations | 1 | list (List<PotentialAssignment>) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 184.48 | - |
Number of Operands | 20 | - |
Variable References | 6 | list (4) sig (2) |
Number of Operators | 22 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |