![]() | Analysis of Class : org.junit.internal.runners.TestClass (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.runners.TestClass |
---|
![]() |
Cyclomatic Complexity |
Summary of TestClass | ||
---|---|---|
Feature | Number | Values |
Name | TestClass | - |
Number of Methods | 12 | - |
LCOM | 0.64 | - |
Average Cyclomatic Complexity | 1.92 | - |
Number of Statements | 56 | - |
Halstead Cumulative Bugs | 0.62 | - |
Halstead Effort | 24624.92 | - |
UnWeighted Class Size | 13 | - |
Instance Variables | 1 | fClass (java.lang.Class) |
Imported Packages | 11 | java.lang.annotation.Annotation java.lang.reflect.Constructor java.lang.reflect.Method java.util.ArrayList java.util.Collections java.util.List org.junit.AfterClass org.junit.Before org.junit.BeforeClass org.junit.Test org.junit.runners.BlockJUnit4ClassRunner |
Response For class | 12 | - |
CBO | 5 | - |
Maintainability Index | 122.31 | - |
Cumulative Number of Comment Lines | 5 | - |
Lines Of Code | 68 | - |
Fan In | 4 | - |
DIT | 1 | - |
Maintainability Index (NC) | 122.31 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.42 | - |
Local Method Calls | 4 | isShadowed (2) runsTopToBottom (1) getAnnotatedMethods (3) getSuperClasses (1) |
LCOM2 | 22.00 | - |
Max Complexity | 5 | - |
Halstead Cumulative Volume | 1854.29 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 11 | - |
Fan Out | 1 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | ArrayList java.lang.Class.equals (2) java.util.ArrayList.ArrayList (2) java.lang.String.equals (1) java.lang.reflect.Method.getName (2) Class>.getSuperclass (1) java.lang.Class.getName (1) eachMethod.getAnnotation (1) List eachClass.getDeclaredMethods (1) java.lang.reflect.Method.getParameterTypes (5) getParameterTypes.equals (1) java.lang.Class.getConstructor (1) java.util.Collections.reverse (1) |
Superclasses | 0 | - |
Total Complexity | 23 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 1 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 1 | - |
Halstead Cumulative Length | 411 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.runners.TestClass | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | TestClass | 1 | 0 | 2 | 13 | 12 | 233.02 | 0.02 | 2 | 0 | 0 | 3 | 0 | 1 | 3 | 5.00 | 0 | 0 | 0 | 0 | 0 | 46.60 | 5 | 2 | 8 | 0 | 1 | 0 |
![]() | getAfters | 1 | 0 | 2 | 14 | 13 | 207.22 | 0.02 | 3 | 0 | 1 | 3 | 0 | 0 | 0 | 4.00 | 0 | 0 | 0 | 0 | 0 | 51.81 | 5 | 0 | 9 | 0 | 1 | 0 |
![]() | getAnnotatedMethods | 5 | 0 | 15 | 96 | 41 | 9105.89 | 0.17 | 8 | 5 | 3 | 14 | 0 | 1 | 1 | 17.70 | 3 | 0 | 0 | 0 | 2 | 514.32 | 41 | 13 | 55 | 2 | 13 | 2 |
![]() | getBefores | 1 | 0 | 2 | 14 | 13 | 207.22 | 0.02 | 3 | 0 | 1 | 3 | 0 | 0 | 0 | 4.00 | 0 | 0 | 0 | 0 | 0 | 51.81 | 5 | 0 | 9 | 0 | 1 | 0 |
![]() | getConstructor | 1 | 0 | 2 | 17 | 15 | 398.50 | 0.02 | 4 | 1 | 0 | 3 | 0 | 0 | 1 | 6.00 | 0 | 2 | 0 | 0 | 0 | 66.42 | 6 | 1 | 11 | 0 | 1 | 0 |
![]() | getJavaClass | 1 | 0 | 2 | 11 | 11 | 152.21 | 0.01 | 2 | 0 | 0 | 3 | 0 | 0 | 1 | 4.00 | 0 | 0 | 0 | 0 | 0 | 38.05 | 3 | 1 | 8 | 0 | 0 | 0 |
![]() | getName | 1 | 0 | 2 | 11 | 9 | 139.48 | 0.01 | 1 | 1 | 0 | 3 | 0 | 0 | 1 | 4.00 | 0 | 0 | 0 | 0 | 0 | 34.87 | 4 | 1 | 7 | 0 | 1 | 0 |
![]() | getSuperClasses | 2 | 0 | 7 | 65 | 23 | 4204.65 | 0.10 | 4 | 3 | 0 | 9 | 0 | 1 | 1 | 14.30 | 2 | 0 | 0 | 0 | 1 | 294.03 | 22 | 7 | 43 | 1 | 7 | 1 |
![]() | getTestMethods | 1 | 0 | 2 | 15 | 14 | 257.00 | 0.02 | 3 | 0 | 1 | 3 | 0 | 0 | 1 | 4.50 | 0 | 0 | 0 | 0 | 0 | 57.11 | 5 | 0 | 10 | 0 | 1 | 0 |
![]() | isShadowed | 5 | 0 | 9 | 87 | 28 | 7528.32 | 0.14 | 1 | 4 | 0 | 11 | 0 | 2 | 1 | 18.00 | 1 | 0 | 0 | 0 | 1 | 418.24 | 36 | 14 | 51 | 1 | 19 | 1 |
![]() | isShadowed | 3 | 0 | 7 | 31 | 19 | 1097.38 | 0.04 | 2 | 0 | 1 | 7 | 0 | 2 | 1 | 8.33 | 0 | 0 | 0 | 0 | 1 | 131.69 | 15 | 3 | 16 | 1 | 0 | 1 |
![]() | runsTopToBottom | 1 | 0 | 2 | 29 | 20 | 1034.02 | 0.04 | 5 | 1 | 0 | 3 | 0 | 1 | 1 | 8.25 | 0 | 0 | 0 | 0 | 0 | 125.34 | 11 | 2 | 18 | 0 | 3 | 0 |
Analysis of Method : TestClass(Class) in Class : org.junit.internal.runners.TestClass | ||
---|---|---|
Feature | Number | Values |
Name | TestClass | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 233.02 | - |
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 | 3 | private final public |
Halstead Difficulty | 5.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 46.60 | - |
Number of Operands | 5 | - |
Variable References | 2 | klass (1) fClass (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getAfters() in Class : org.junit.internal.runners.TestClass | ||
---|---|---|
Feature | Number | Values |
Name | getAfters | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 207.22 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | java.util.List (1) AfterClass.class (1) java.lang.reflect.Method (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | getAnnotatedMethods (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 0 | - |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 51.81 | - |
Number of Operands | 5 | - |
Variable References | 0 | |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getAnnotatedMethods(Class) in Class : org.junit.internal.runners.TestClass | ||
---|---|---|
Feature | Number | Values |
Name | getAnnotatedMethods | - |
Cyclomatic Complexity | 5 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 15 | - |
Halstead Length | 96 | - |
Halstead Vocabulary | 41 | - |
Halstead Effort | 9105.89 | - |
Halstead Bugs | 0.17 | - |
Classes Referenced | 8 | java.util.List (2) ?extendsAnnotation (1) java.lang.annotation.Annotation (2) java.util.ArrayList (1) java.util.Collections (1) java.lang.Class (2) java.lang.reflect.Method (5) ? (1) |
External Methods Called | 5 | eachClass.getDeclaredMethods (1) java.util.ArrayList.ArrayList (1) List eachMethod.getAnnotation (1) java.util.Collections.reverse (1) |
Local Methods Called | 3 | isShadowed (1) runsTopToBottom (1) getSuperClasses (1) |
Lines Of Code | 14 | - |
Number of Comments | 0 | - |
Arguments | 1 | annotationClass (java.lang.Class) |
Modifiers | 1 | public |
Halstead Difficulty | 17.70 | - |
Variable Declarations | 3 | annotation (java.lang.annotation.Annotation) methods (java.lang.reflect.Method[]) results (List<Method>) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 2 | - |
Halstead Volume | 514.32 | - |
Number of Operands | 41 | - |
Variable References | 13 | annotation (1) fClass (1) methods (1) results (4) eachMethod (3) annotationClass (2) eachClass (1) |
Number of Operators | 55 | - |
Max. depth of nesting | 2 | - |
Number of Expressions | 13 | - |
Number of Loops | 2 | - |
Analysis of Method : getBefores() in Class : org.junit.internal.runners.TestClass | ||
---|---|---|
Feature | Number | Values |
Name | getBefores | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 207.22 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | java.util.List (1) BeforeClass.class (1) java.lang.reflect.Method (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | getAnnotatedMethods (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 0 | - |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 51.81 | - |
Number of Operands | 5 | - |
Variable References | 0 | |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getConstructor() in Class : org.junit.internal.runners.TestClass | ||
---|---|---|
Feature | Number | Values |
Name | getConstructor | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 17 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 398.50 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 4 | java.lang.NoSuchMethodException (1) java.lang.SecurityException (1) ? (1) java.lang.reflect.Constructor (1) |
External Methods Called | 1 | java.lang.Class.getConstructor (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 6.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 2 | java.lang.NoSuchMethodException (1) java.lang.SecurityException (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 66.42 | - |
Number of Operands | 6 | - |
Variable References | 1 | fClass (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getJavaClass() in Class : org.junit.internal.runners.TestClass | ||
---|---|---|
Feature | Number | Values |
Name | getJavaClass | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 152.21 | - |
Halstead Bugs | 0.01 | - |
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 | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 38.05 | - |
Number of Operands | 3 | - |
Variable References | 1 | fClass (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : getName() in Class : org.junit.internal.runners.TestClass | ||
---|---|---|
Feature | Number | Values |
Name | getName | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 139.48 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 1 | java.lang.Class.getName (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 34.87 | - |
Number of Operands | 4 | - |
Variable References | 1 | fClass (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getSuperClasses(Class) in Class : org.junit.internal.runners.TestClass | ||
---|---|---|
Feature | Number | Values |
Name | getSuperClasses | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 7 | - |
Halstead Length | 65 | - |
Halstead Vocabulary | 23 | - |
Halstead Effort | 4204.65 | - |
Halstead Bugs | 0.10 | - |
Classes Referenced | 4 | java.util.List (1) java.util.ArrayList (2) java.lang.Class (5) ? (5) |
External Methods Called | 3 | Class>.getSuperclass (1) ArrayList java.util.ArrayList.ArrayList (1) |
Local Methods Called | 0 | |
Lines Of Code | 9 | - |
Number of Comments | 0 | - |
Arguments | 1 | testClass (java.lang.Class) |
Modifiers | 1 | private |
Halstead Difficulty | 14.30 | - |
Variable Declarations | 2 | results (ArrayList<Class<?>>) current (Class<?>) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 294.03 | - |
Number of Operands | 22 | - |
Variable References | 7 | results (2) current (4) testClass (1) |
Number of Operators | 43 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 7 | - |
Number of Loops | 1 | - |
Analysis of Method : getTestMethods() in Class : org.junit.internal.runners.TestClass | ||
---|---|---|
Feature | Number | Values |
Name | getTestMethods | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 257.00 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | java.util.List (1) java.lang.reflect.Method (1) Test.class (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | getAnnotatedMethods (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 4.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 57.11 | - |
Number of Operands | 5 | - |
Variable References | 0 | |
Number of Operators | 10 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : isShadowed(Method, Method) in Class : org.junit.internal.runners.TestClass | ||
---|---|---|
Feature | Number | Values |
Name | isShadowed | - |
Cyclomatic Complexity | 5 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 9 | - |
Halstead Length | 87 | - |
Halstead Vocabulary | 28 | - |
Halstead Effort | 7528.32 | - |
Halstead Bugs | 0.14 | - |
Classes Referenced | 1 | java.lang.reflect.Method (2) |
External Methods Called | 4 | java.lang.reflect.Method.getParameterTypes (5) getParameterTypes.equals (1) java.lang.reflect.Method.getName (2) java.lang.String.equals (1) |
Local Methods Called | 0 | |
Lines Of Code | 11 | - |
Number of Comments | 0 | - |
Arguments | 2 | current (java.lang.reflect.Method) previous (java.lang.reflect.Method) |
Modifiers | 1 | private |
Halstead Difficulty | 18.00 | - |
Variable Declarations | 1 | i (int) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 418.24 | - |
Number of Operands | 36 | - |
Variable References | 14 | i (4) length (3) previous (4) current (3) |
Number of Operators | 51 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 19 | - |
Number of Loops | 1 | - |
Analysis of Method : isShadowed(Method, List) in Class : org.junit.internal.runners.TestClass | ||
---|---|---|
Feature | Number | Values |
Name | isShadowed | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 7 | - |
Halstead Length | 31 | - |
Halstead Vocabulary | 19 | - |
Halstead Effort | 1097.38 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 2 | java.util.List (1) java.lang.reflect.Method (4) |
External Methods Called | 0 | |
Local Methods Called | 1 | isShadowed (1) |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 2 | method (java.lang.reflect.Method) results (java.util.List) |
Modifiers | 1 | private |
Halstead Difficulty | 8.33 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 131.69 | - |
Number of Operands | 15 | - |
Variable References | 3 | results (1) each (1) method (1) |
Number of Operators | 16 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 0 | - |
Number of Loops | 1 | - |
Analysis of Method : runsTopToBottom(Class) in Class : org.junit.internal.runners.TestClass | ||
---|---|---|
Feature | Number | Values |
Name | runsTopToBottom | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 29 | - |
Halstead Vocabulary | 20 | - |
Halstead Effort | 1034.02 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 5 | ?extendsAnnotation (1) java.lang.annotation.Annotation (1) BeforeClass.class (1) java.lang.Class (1) Before.class (1) |
External Methods Called | 1 | java.lang.Class.equals (2) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | annotation (java.lang.Class) |
Modifiers | 1 | private |
Halstead Difficulty | 8.25 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 125.34 | - |
Number of Operands | 11 | - |
Variable References | 2 | annotation (2) |
Number of Operators | 18 | - |
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 |