![]() | Analysis of Class : org.junit.internal.runners.ClassRoadie (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.runners.ClassRoadie |
---|
![]() |
Cyclomatic Complexity |
Summary of ClassRoadie | ||
---|---|---|
Feature | Number | Values |
Name | ClassRoadie | - |
Number of Methods | 6 | - |
LCOM | 0.15 | - |
Average Cyclomatic Complexity | 2.33 | - |
Number of Statements | 40 | - |
Halstead Cumulative Bugs | 0.33 | - |
Halstead Effort | 7351.89 | - |
UnWeighted Class Size | 10 | - |
Instance Variables | 4 | fDescription (org.junit.runner.Description) fNotifier (org.junit.runner.notification.RunNotifier) fRunnable (java.lang.Runnable) fTestClass (TestClass) |
Imported Packages | 7 | java.lang.reflect.InvocationTargetException java.lang.reflect.Method java.util.List org.junit.runner.Description org.junit.runner.notification.Failure org.junit.runner.notification.RunNotifier org.junit.runners.BlockJUnit4ClassRunner |
Response For class | 6 | - |
CBO | 8 | - |
Maintainability Index | 117.46 | - |
Cumulative Number of Comment Lines | 5 | - |
Lines Of Code | 55 | - |
Fan In | 1 | - |
DIT | 1 | - |
Maintainability Index (NC) | 117.46 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.38 | - |
Local Method Calls | 4 | runBefores (1) runUnprotected (1) addFailure (3) runAfters (1) |
LCOM2 | 6.00 | - |
Max Complexity | 5 | - |
Halstead Cumulative Volume | 976.38 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 0 | - |
Fan Out | 7 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.junit.internal.runners.TestClass.getAfters (1) org.junit.runner.notification.RunNotifier.fireTestFailure (1) e.getTargetException (2) org.junit.internal.runners.TestClass.getBefores (1) org.junit.runner.notification.Failure.Failure (1) before.invoke (1) org.junit.internal.runners.FailedBefore.FailedBefore (2) after.invoke (1) java.lang.Runnable.run (1) |
Superclasses | 0 | - |
Total Complexity | 14 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 6 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 2 | - |
Halstead Cumulative Length | 218 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.runners.ClassRoadie | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | ClassRoadie | 1 | 0 | 5 | 28 | 18 | 381.71 | 0.04 | 4 | 0 | 0 | 7 | 0 | 4 | 6 | 3.27 | 0 | 0 | 0 | 0 | 0 | 116.76 | 17 | 8 | 11 | 0 | 4 | 0 |
![]() | addFailure | 1 | 0 | 2 | 17 | 14 | 218.45 | 0.02 | 2 | 2 | 0 | 3 | 0 | 1 | 1 | 3.38 | 0 | 0 | 0 | 0 | 0 | 64.73 | 9 | 3 | 8 | 0 | 2 | 0 |
![]() | runAfters | 4 | 0 | 9 | 51 | 27 | 2133.99 | 0.08 | 4 | 3 | 1 | 11 | 1 | 0 | 1 | 8.80 | 1 | 0 | 2 | 0 | 3 | 242.50 | 22 | 5 | 29 | 1 | 6 | 1 |
![]() | runBefores | 5 | 0 | 12 | 75 | 35 | 4183.57 | 0.13 | 6 | 4 | 1 | 16 | 0 | 0 | 1 | 10.88 | 1 | 1 | 3 | 0 | 5 | 384.70 | 29 | 5 | 46 | 2 | 7 | 1 |
![]() | runProtected | 2 | 0 | 5 | 23 | 14 | 306.49 | 0.03 | 1 | 0 | 3 | 9 | 0 | 0 | 1 | 3.50 | 0 | 0 | 1 | 0 | 3 | 87.57 | 7 | 0 | 16 | 1 | 3 | 0 |
![]() | runUnprotected | 1 | 0 | 2 | 10 | 9 | 79.25 | 0.01 | 0 | 1 | 0 | 3 | 0 | 0 | 1 | 2.50 | 0 | 0 | 0 | 0 | 0 | 31.70 | 4 | 1 | 6 | 0 | 1 | 0 |
Analysis of Method : ClassRoadie(RunNotifier, TestClass, Description, Runnable) in Class : org.junit.internal.runners.ClassRoadie | ||
---|---|---|
Feature | Number | Values |
Name | ClassRoadie | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 5 | - |
Halstead Length | 28 | - |
Halstead Vocabulary | 18 | - |
Halstead Effort | 381.71 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 4 | org.junit.runner.Description (1) org.junit.runner.notification.RunNotifier (1) org.junit.internal.runners.TestClass (1) java.lang.Runnable (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 4 | notifier (org.junit.runner.notification.RunNotifier) testClass (TestClass) description (org.junit.runner.Description) runnable (java.lang.Runnable) |
Modifiers | 6 | private private private private final public |
Halstead Difficulty | 3.27 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 116.76 | - |
Number of Operands | 17 | - |
Variable References | 8 | fDescription (1) fNotifier (1) fRunnable (1) fTestClass (1) description (1) notifier (1) runnable (1) testClass (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : addFailure(Throwable) in Class : org.junit.internal.runners.ClassRoadie | ||
---|---|---|
Feature | Number | Values |
Name | addFailure | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 17 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 218.45 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | java.lang.Throwable (1) org.junit.runner.notification.Failure (1) |
External Methods Called | 2 | org.junit.runner.notification.RunNotifier.fireTestFailure (1) org.junit.runner.notification.Failure.Failure (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | targetException (java.lang.Throwable) |
Modifiers | 1 | protected |
Halstead Difficulty | 3.38 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 64.73 | - |
Number of Operands | 9 | - |
Variable References | 3 | fDescription (1) fNotifier (1) targetException (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : runAfters() in Class : org.junit.internal.runners.ClassRoadie | ||
---|---|---|
Feature | Number | Values |
Name | runAfters | - |
Cyclomatic Complexity | 4 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 9 | - |
Halstead Length | 51 | - |
Halstead Vocabulary | 27 | - |
Halstead Effort | 2133.99 | - |
Halstead Bugs | 0.08 | - |
Classes Referenced | 4 | java.util.List (1) java.lang.reflect.InvocationTargetException (1) java.lang.Throwable (1) java.lang.reflect.Method (3) |
External Methods Called | 3 | e.getTargetException (1) after.invoke (1) org.junit.internal.runners.TestClass.getAfters (1) |
Local Methods Called | 1 | addFailure (2) |
Lines Of Code | 11 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | private |
Halstead Difficulty | 8.80 | - |
Variable Declarations | 1 | afters (List<Method>) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 2 | java.lang.reflect.InvocationTargetException (1) java.lang.Throwable (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 3 | - |
Halstead Volume | 242.50 | - |
Number of Operands | 22 | - |
Variable References | 5 | fTestClass (1) e (2) after (1) afters (1) |
Number of Operators | 29 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 6 | - |
Number of Loops | 1 | - |
Analysis of Method : runBefores() in Class : org.junit.internal.runners.ClassRoadie | ||
---|---|---|
Feature | Number | Values |
Name | runBefores | - |
Cyclomatic Complexity | 5 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 12 | - |
Halstead Length | 75 | - |
Halstead Vocabulary | 35 | - |
Halstead Effort | 4183.57 | - |
Halstead Bugs | 0.13 | - |
Classes Referenced | 6 | java.util.List (1) org.junit.internal.AssumptionViolatedException (1) org.junit.internal.runners.FailedBefore (3) java.lang.reflect.InvocationTargetException (1) java.lang.Throwable (1) java.lang.reflect.Method (3) |
External Methods Called | 4 | org.junit.internal.runners.TestClass.getBefores (1) org.junit.internal.runners.FailedBefore.FailedBefore (2) before.invoke (1) e.getTargetException (1) |
Local Methods Called | 1 | addFailure (1) |
Lines Of Code | 16 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | private |
Halstead Difficulty | 10.88 | - |
Variable Declarations | 1 | befores (List<Method>) |
Exceptions Thrown | 1 | org.junit.internal.runners.FailedBefore (1) |
Exceptions Referenced | 3 | org.junit.internal.AssumptionViolatedException (1) java.lang.reflect.InvocationTargetException (1) java.lang.Throwable (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 5 | - |
Halstead Volume | 384.70 | - |
Number of Operands | 29 | - |
Variable References | 5 | fTestClass (1) before (1) e (2) befores (1) |
Number of Operators | 46 | - |
Max. depth of nesting | 2 | - |
Number of Expressions | 7 | - |
Number of Loops | 1 | - |
Analysis of Method : runProtected() in Class : org.junit.internal.runners.ClassRoadie | ||
---|---|---|
Feature | Number | Values |
Name | runProtected | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 5 | - |
Halstead Length | 23 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 306.49 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 1 | org.junit.internal.runners.FailedBefore (1) |
External Methods Called | 0 | |
Local Methods Called | 3 | runUnprotected (1) runBefores (1) runAfters (1) |
Lines Of Code | 9 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 1 | org.junit.internal.runners.FailedBefore (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 3 | - |
Halstead Volume | 87.57 | - |
Number of Operands | 7 | - |
Variable References | 0 | |
Number of Operators | 16 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : runUnprotected() in Class : org.junit.internal.runners.ClassRoadie | ||
---|---|---|
Feature | Number | Values |
Name | runUnprotected | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 79.25 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 1 | java.lang.Runnable.run (1) |
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 | 31.70 | - |
Number of Operands | 4 | - |
Variable References | 1 | fRunnable (1) |
Number of Operators | 6 | - |
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 |