![]() | Analysis of Class : org.junit.internal.runners.JUnit4ClassRunner (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.runners.JUnit4ClassRunner |
---|
![]() |
Cyclomatic Complexity |
Summary of JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | JUnit4ClassRunner | - |
Number of Methods | 18 | - |
LCOM | 0.18 | - |
Average Cyclomatic Complexity | 1.39 | - |
Number of Statements | 69 | - |
Halstead Cumulative Bugs | 0.72 | - |
Halstead Effort | 14732.69 | - |
UnWeighted Class Size | 20 | - |
Instance Variables | 2 | fTestMethods (java.util.List) fTestClass (TestClass) |
Imported Packages | 17 | java.lang.annotation.Annotation java.lang.reflect.InvocationTargetException java.lang.reflect.Method java.util.Collections java.util.Comparator java.util.Iterator java.util.List org.junit.runner.Description org.junit.runner.Runner org.junit.runner.manipulation.Filter org.junit.runner.manipulation.Filterable org.junit.runner.manipulation.NoTestsRemainException org.junit.runner.manipulation.Sortable org.junit.runner.manipulation.Sorter org.junit.runner.notification.Failure org.junit.runner.notification.RunNotifier org.junit.runners.BlockJUnit4ClassRunner |
Response For class | 18 | - |
CBO | 16 | - |
Maintainability Index | 130.19 | - |
Cumulative Number of Comment Lines | 7 | - |
Lines Of Code | 88 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 130.19 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.33 | - |
Local Method Calls | 13 | getName (1) createTest (1) methodDescription (3) invokeTestMethod (1) testName (1) getTestClass (3) validate (1) getDescription (1) testAborted (2) classAnnotations (1) testAnnotations (1) wrapMethod (1) getTestMethods (1) |
LCOM2 | 70.00 | - |
Max Complexity | 4 | - |
Halstead Cumulative Volume | 2161.53 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 10 | - |
Fan Out | 16 | - |
SuperClass Name | org.junit.runner.Runner | - |
SIX | 0.05 | - |
External Method Calls | 0 | org.junit.internal.runners.MethodValidator.validateMethodsForDefaultRunner (1) Iterator Iterator org.junit.runner.manipulation.Filter.shouldRun (1) org.junit.runner.notification.Failure.Failure (1) org.junit.internal.runners.ClassRoadie.ClassRoadie (1) org.junit.runner.notification.RunNotifier.fireTestStarted (1) java.util.Comparator.Comparator (1) description().run (1) java.util.List.iterator (1) org.junit.runner.notification.RunNotifier.fireTestFailure (1) org.junit.runner.manipulation.NoTestsRemainException.NoTestsRemainException (1) e.getCause (1) org.junit.runner.Description.addChild (1) org.junit.internal.runners.TestClass.getTestMethods (1) org.junit.internal.runners.MethodValidator.MethodValidator (1) org.junit.internal.runners.MethodValidator.assertValid (1) org.junit.internal.runners.TestMethod.TestMethod (1) org.junit.runner.Description.createTestDescription (1) org.junit.runner.notification.RunNotifier.fireTestFinished (1) createTestDescription().getJavaClass (1) getAnnotations().getName (1) java.lang.String.getConstructor (1) java.lang.reflect.Method.getAnnotations (1) org.junit.internal.runners.TestClass.getJavaClass (1) org.junit.internal.runners.TestClass.TestClass (1) org.junit.internal.runners.MethodRoadie.MethodRoadie (1) org.junit.runner.Description.createSuiteDescription (1) java.util.List.isEmpty (1) notifier().runProtected (1) java.lang.reflect.Method.getName (1) getConstructor().newInstance (1) java.util.Collections.sort (1) getJavaClass().getAnnotations (1) java.lang.Runnable.Runnable (1) Iterator |
Superclasses | 1 | org.junit.runner.Runner |
Total Complexity | 25 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 8 | - |
Interfaces | 1 | Filterable,Sortable |
Cumulative Number of Comments | 1 | - |
Halstead Cumulative Length | 505 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.runners.JUnit4ClassRunner | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | JUnit4ClassRunner | 1 | 0 | 4 | 26 | 19 | 613.59 | 0.04 | 3 | 1 | 2 | 5 | 0 | 1 | 4 | 5.56 | 0 | 0 | 0 | 0 | 0 | 110.45 | 10 | 3 | 16 | 0 | 5 | 0 |
![]() | classAnnotations | 1 | 0 | 2 | 15 | 12 | 188.21 | 0.02 | 1 | 2 | 0 | 3 | 0 | 0 | 1 | 3.50 | 0 | 0 | 0 | 0 | 0 | 53.77 | 5 | 1 | 10 | 0 | 2 | 0 |
![]() | createTest | 1 | 0 | 2 | 17 | 13 | 220.18 | 0.02 | 2 | 2 | 1 | 3 | 0 | 0 | 1 | 3.50 | 0 | 1 | 0 | 0 | 0 | 62.91 | 6 | 0 | 11 | 0 | 3 | 0 |
![]() | filter | 4 | 0 | 8 | 62 | 30 | 3327.49 | 0.10 | 4 | 7 | 1 | 9 | 0 | 1 | 1 | 10.94 | 2 | 1 | 0 | 0 | 1 | 304.23 | 25 | 7 | 37 | 1 | 10 | 1 |
![]() | getDescription | 2 | 0 | 8 | 44 | 26 | 1861.37 | 0.07 | 3 | 2 | 3 | 7 | 0 | 0 | 2 | 9.00 | 2 | 0 | 0 | 0 | 0 | 206.82 | 21 | 5 | 23 | 0 | 7 | 1 |
![]() | getName | 1 | 0 | 2 | 12 | 9 | 152.16 | 0.01 | 1 | 1 | 1 | 3 | 0 | 0 | 1 | 4.00 | 0 | 0 | 0 | 0 | 0 | 38.04 | 4 | 0 | 8 | 0 | 2 | 0 |
![]() | getTestClass | 1 | 0 | 2 | 8 | 8 | 60.00 | 0.01 | 1 | 0 | 0 | 3 | 0 | 0 | 1 | 2.50 | 0 | 0 | 0 | 0 | 0 | 24.00 | 3 | 1 | 5 | 0 | 0 | 0 |
![]() | getTestMethods | 1 | 0 | 2 | 14 | 12 | 250.95 | 0.02 | 2 | 1 | 0 | 3 | 0 | 0 | 1 | 5.00 | 0 | 0 | 0 | 0 | 0 | 50.19 | 5 | 1 | 9 | 0 | 1 | 0 |
![]() | invokeTestMethod | 3 | 0 | 11 | 73 | 32 | 3069.32 | 0.12 | 8 | 3 | 4 | 15 | 0 | 2 | 1 | 8.41 | 3 | 0 | 2 | 0 | 3 | 365.00 | 37 | 13 | 36 | 1 | 10 | 0 |
![]() | methodDescription | 1 | 0 | 2 | 24 | 15 | 375.06 | 0.03 | 2 | 2 | 3 | 3 | 0 | 1 | 1 | 4.00 | 0 | 0 | 0 | 0 | 0 | 93.77 | 12 | 2 | 12 | 0 | 5 | 0 |
![]() | run | 1 | 0 | 2 | 34 | 19 | 787.80 | 0.05 | 3 | 3 | 1 | 7 | 0 | 1 | 2 | 5.45 | 0 | 0 | 0 | 0 | 0 | 144.43 | 15 | 2 | 19 | 0 | 4 | 0 |
![]() | runMethods | 2 | 0 | 5 | 19 | 15 | 324.76 | 0.02 | 2 | 0 | 1 | 4 | 0 | 1 | 1 | 4.38 | 0 | 0 | 0 | 0 | 0 | 74.23 | 10 | 3 | 9 | 0 | 0 | 1 |
![]() | sort | 1 | 0 | 2 | 42 | 23 | 1534.53 | 0.06 | 3 | 2 | 0 | 7 | 0 | 1 | 1 | 8.08 | 0 | 0 | 0 | 0 | 0 | 189.99 | 21 | 1 | 21 | 0 | 2 | 0 |
![]() | testAborted | 1 | 0 | 4 | 33 | 18 | 653.64 | 0.05 | 4 | 4 | 0 | 6 | 0 | 3 | 1 | 4.75 | 0 | 0 | 0 | 0 | 0 | 137.61 | 19 | 7 | 14 | 0 | 4 | 0 |
![]() | testAnnotations | 1 | 0 | 2 | 14 | 12 | 210.80 | 0.02 | 2 | 1 | 0 | 3 | 0 | 1 | 1 | 4.20 | 0 | 0 | 0 | 0 | 0 | 50.19 | 6 | 1 | 8 | 0 | 1 | 0 |
![]() | testName | 1 | 0 | 2 | 13 | 11 | 161.90 | 0.01 | 2 | 1 | 0 | 3 | 0 | 1 | 1 | 3.60 | 0 | 0 | 0 | 0 | 0 | 44.97 | 6 | 1 | 7 | 0 | 1 | 0 |
![]() | validate | 1 | 0 | 4 | 25 | 16 | 550.00 | 0.03 | 2 | 3 | 0 | 5 | 0 | 0 | 1 | 5.50 | 1 | 1 | 0 | 0 | 0 | 100.00 | 11 | 3 | 14 | 0 | 4 | 0 |
![]() | wrapMethod | 1 | 0 | 2 | 14 | 11 | 203.41 | 0.02 | 2 | 1 | 0 | 3 | 0 | 1 | 1 | 4.20 | 0 | 0 | 0 | 0 | 0 | 48.43 | 7 | 2 | 7 | 0 | 1 | 0 |
Analysis of Method : JUnit4ClassRunner(Class) in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | JUnit4ClassRunner | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 26 | - |
Halstead Vocabulary | 19 | - |
Halstead Effort | 613.59 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 3 | org.junit.internal.runners.TestClass (1) ? (1) java.lang.Class (1) |
External Methods Called | 1 | org.junit.internal.runners.TestClass.TestClass (1) |
Local Methods Called | 2 | getTestMethods (1) validate (1) |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 1 | klass (java.lang.Class) |
Modifiers | 4 | private final private public |
Halstead Difficulty | 5.56 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 110.45 | - |
Number of Operands | 10 | - |
Variable References | 3 | fTestMethods (1) klass (1) fTestClass (1) |
Number of Operators | 16 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 0 | - |
Analysis of Method : classAnnotations() in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | classAnnotations | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 188.21 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | java.lang.annotation.Annotation (1) |
External Methods Called | 2 | org.junit.internal.runners.TestClass.getJavaClass (1) getJavaClass().getAnnotations (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 53.77 | - |
Number of Operands | 5 | - |
Variable References | 1 | fTestClass (1) |
Number of Operators | 10 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : createTest() in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | createTest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 17 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 220.18 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | java.lang.Object (1) java.lang.Exception (1) |
External Methods Called | 2 | getConstructor().newInstance (1) java.lang.String.getConstructor (1) |
Local Methods Called | 1 | getTestClass (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 62.91 | - |
Number of Operands | 6 | - |
Variable References | 0 | |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : filter(Filter) in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | filter | - |
Cyclomatic Complexity | 4 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 8 | - |
Halstead Length | 62 | - |
Halstead Vocabulary | 30 | - |
Halstead Effort | 3327.49 | - |
Halstead Bugs | 0.10 | - |
Classes Referenced | 4 | java.util.Iterator (1) org.junit.runner.manipulation.NoTestsRemainException (2) org.junit.runner.manipulation.Filter (1) java.lang.reflect.Method (3) |
External Methods Called | 7 | Iterator org.junit.runner.manipulation.Filter.shouldRun (1) java.util.List.iterator (1) Iterator org.junit.runner.manipulation.NoTestsRemainException.NoTestsRemainException (1) java.util.List.isEmpty (1) Iterator |
Local Methods Called | 1 | methodDescription (1) |
Lines Of Code | 9 | - |
Number of Comments | 0 | - |
Arguments | 1 | filter (org.junit.runner.manipulation.Filter) |
Modifiers | 1 | public |
Halstead Difficulty | 10.94 | - |
Variable Declarations | 2 | iter (Iterator<Method>) method (java.lang.reflect.Method) |
Exceptions Thrown | 1 | org.junit.runner.manipulation.NoTestsRemainException (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 304.23 | - |
Number of Operands | 25 | - |
Variable References | 7 | fTestMethods (2) iter (3) filter (1) method (1) |
Number of Operators | 37 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 10 | - |
Number of Loops | 1 | - |
Analysis of Method : getDescription() in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | getDescription | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 8 | - |
Halstead Length | 44 | - |
Halstead Vocabulary | 26 | - |
Halstead Effort | 1861.37 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 3 | org.junit.runner.Description (3) java.util.List (1) java.lang.reflect.Method (3) |
External Methods Called | 2 | org.junit.runner.Description.addChild (1) org.junit.runner.Description.createSuiteDescription (1) |
Local Methods Called | 3 | methodDescription (1) classAnnotations (1) getName (1) |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 9.00 | - |
Variable Declarations | 2 | spec (org.junit.runner.Description) testMethods (List<Method>) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 206.82 | - |
Number of Operands | 21 | - |
Variable References | 5 | fTestMethods (1) spec (2) testMethods (1) method (1) |
Number of Operators | 23 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 7 | - |
Number of Loops | 1 | - |
Analysis of Method : getName() in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | getName | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 12 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 152.16 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 1 | getAnnotations().getName (1) |
Local Methods Called | 1 | getTestClass (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | 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 | 38.04 | - |
Number of Operands | 4 | - |
Variable References | 0 | |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : getTestClass() in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | getTestClass | - |
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 | 1 | org.junit.internal.runners.TestClass (1) |
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 | fTestClass (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : getTestMethods() in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | getTestMethods | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 250.95 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | java.util.List (1) java.lang.reflect.Method (1) |
External Methods Called | 1 | org.junit.internal.runners.TestClass.getTestMethods (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 5.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 50.19 | - |
Number of Operands | 5 | - |
Variable References | 1 | fTestClass (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : invokeTestMethod(Method, RunNotifier) in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | invokeTestMethod | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 11 | - |
Halstead Length | 73 | - |
Halstead Vocabulary | 32 | - |
Halstead Effort | 3069.32 | - |
Halstead Bugs | 0.12 | - |
Classes Referenced | 8 | org.junit.runner.Description (1) org.junit.runner.notification.RunNotifier (1) java.lang.reflect.InvocationTargetException (1) org.junit.internal.runners.MethodRoadie (1) org.junit.internal.runners.TestMethod (1) java.lang.Object (1) java.lang.Exception (1) java.lang.reflect.Method (1) |
External Methods Called | 3 | org.junit.internal.runners.MethodRoadie.MethodRoadie (1) description().run (1) e.getCause (1) |
Local Methods Called | 4 | wrapMethod (1) methodDescription (1) createTest (1) testAborted (2) |
Lines Of Code | 15 | - |
Number of Comments | 0 | - |
Arguments | 2 | method (java.lang.reflect.Method) notifier (org.junit.runner.notification.RunNotifier) |
Modifiers | 1 | protected |
Halstead Difficulty | 8.41 | - |
Variable Declarations | 3 | description (org.junit.runner.Description) testMethod (TestMethod) test (java.lang.Object) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 2 | java.lang.reflect.InvocationTargetException (1) java.lang.Exception (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 3 | - |
Halstead Volume | 365.00 | - |
Number of Operands | 37 | - |
Variable References | 13 | description (3) notifier (3) e (2) testMethod (1) test (2) method (2) |
Number of Operators | 36 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 10 | - |
Number of Loops | 0 | - |
Analysis of Method : methodDescription(Method) in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | methodDescription | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 24 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 375.06 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | org.junit.runner.Description (2) java.lang.reflect.Method (1) |
External Methods Called | 2 | org.junit.runner.Description.createTestDescription (1) createTestDescription().getJavaClass (1) |
Local Methods Called | 3 | testName (1) getTestClass (1) testAnnotations (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | method (java.lang.reflect.Method) |
Modifiers | 1 | 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 | 93.77 | - |
Number of Operands | 12 | - |
Variable References | 2 | method (2) |
Number of Operators | 12 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 0 | - |
Analysis of Method : run(RunNotifier) in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 34 | - |
Halstead Vocabulary | 19 | - |
Halstead Effort | 787.80 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 3 | org.junit.runner.notification.RunNotifier (1) org.junit.internal.runners.ClassRoadie (1) java.lang.Runnable (1) |
External Methods Called | 3 | java.lang.Runnable.Runnable (1) notifier().runProtected (1) org.junit.internal.runners.ClassRoadie.ClassRoadie (1) |
Local Methods Called | 1 | getDescription (1) |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 1 | notifier (org.junit.runner.notification.RunNotifier) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 5.45 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 144.43 | - |
Number of Operands | 15 | - |
Variable References | 2 | fTestClass (1) notifier (1) |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : runMethods(RunNotifier) in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | runMethods | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 5 | - |
Halstead Length | 19 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 324.76 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.runner.notification.RunNotifier (1) java.lang.reflect.Method (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | invokeTestMethod (1) |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 1 | notifier (org.junit.runner.notification.RunNotifier) |
Modifiers | 1 | protected |
Halstead Difficulty | 4.38 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 74.23 | - |
Number of Operands | 10 | - |
Variable References | 3 | fTestMethods (1) notifier (1) method (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 1 | - |
Analysis of Method : sort(Sorter) in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | sort | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 42 | - |
Halstead Vocabulary | 23 | - |
Halstead Effort | 1534.53 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 3 | org.junit.runner.manipulation.Sorter (1) java.util.Collections (1) java.util.Comparator (1) |
External Methods Called | 2 | java.util.Collections.sort (1) java.util.Comparator.Comparator (1) |
Local Methods Called | 0 | |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 1 | sorter (org.junit.runner.manipulation.Sorter) |
Modifiers | 1 | public |
Halstead Difficulty | 8.08 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 189.99 | - |
Number of Operands | 21 | - |
Variable References | 1 | fTestMethods (1) |
Number of Operators | 21 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : testAborted(RunNotifier, Description, Throwable) in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | testAborted | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 33 | - |
Halstead Vocabulary | 18 | - |
Halstead Effort | 653.64 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 4 | org.junit.runner.Description (1) org.junit.runner.notification.RunNotifier (1) java.lang.Throwable (1) org.junit.runner.notification.Failure (1) |
External Methods Called | 4 | org.junit.runner.notification.RunNotifier.fireTestFailure (1) org.junit.runner.notification.RunNotifier.fireTestFinished (1) org.junit.runner.notification.Failure.Failure (1) org.junit.runner.notification.RunNotifier.fireTestStarted (1) |
Local Methods Called | 0 | |
Lines Of Code | 6 | - |
Number of Comments | 0 | - |
Arguments | 3 | notifier (org.junit.runner.notification.RunNotifier) description (org.junit.runner.Description) e (java.lang.Throwable) |
Modifiers | 1 | private |
Halstead Difficulty | 4.75 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 137.61 | - |
Number of Operands | 19 | - |
Variable References | 7 | description (3) notifier (3) e (1) |
Number of Operators | 14 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : testAnnotations(Method) in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | testAnnotations | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 210.80 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | java.lang.annotation.Annotation (1) java.lang.reflect.Method (1) |
External Methods Called | 1 | java.lang.reflect.Method.getAnnotations (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | method (java.lang.reflect.Method) |
Modifiers | 1 | protected |
Halstead Difficulty | 4.20 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 50.19 | - |
Number of Operands | 6 | - |
Variable References | 1 | method (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : testName(Method) in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | testName | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 161.90 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 2 | java.lang.String (1) java.lang.reflect.Method (1) |
External Methods Called | 1 | java.lang.reflect.Method.getName (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | method (java.lang.reflect.Method) |
Modifiers | 1 | protected |
Halstead Difficulty | 3.60 | - |
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 | 6 | - |
Variable References | 1 | method (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : validate() in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | validate | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 25 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 550.00 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | org.junit.internal.runners.InitializationError (1) org.junit.internal.runners.MethodValidator (2) |
External Methods Called | 3 | org.junit.internal.runners.MethodValidator.assertValid (1) org.junit.internal.runners.MethodValidator.MethodValidator (1) org.junit.internal.runners.MethodValidator.validateMethodsForDefaultRunner (1) |
Local Methods Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 5.50 | - |
Variable Declarations | 1 | methodValidator (MethodValidator) |
Exceptions Thrown | 1 | org.junit.internal.runners.InitializationError (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 100.00 | - |
Number of Operands | 11 | - |
Variable References | 3 | methodValidator (2) fTestClass (1) |
Number of Operators | 14 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : wrapMethod(Method) in Class : org.junit.internal.runners.JUnit4ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | wrapMethod | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 203.41 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.internal.runners.TestMethod (2) java.lang.reflect.Method (1) |
External Methods Called | 1 | org.junit.internal.runners.TestMethod.TestMethod (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | method (java.lang.reflect.Method) |
Modifiers | 1 | protected |
Halstead Difficulty | 4.20 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 48.43 | - |
Number of Operands | 7 | - |
Variable References | 2 | fTestClass (1) method (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |