![]() | Analysis of Class : org.junit.internal.runners.ErrorReportingRunner (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.runners.ErrorReportingRunner |
---|
![]() |
Cyclomatic Complexity |
Summary of ErrorReportingRunner | ||
---|---|---|
Feature | Number | Values |
Name | ErrorReportingRunner | - |
Number of Methods | 6 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.83 | - |
Number of Statements | 30 | - |
Halstead Cumulative Bugs | 0.32 | - |
Halstead Effort | 7549.13 | - |
UnWeighted Class Size | 8 | - |
Instance Variables | 2 | fCauses (java.util.List) fTestClass (java.lang.Class) |
Imported Packages | 8 | java.lang.reflect.InvocationTargetException java.util.Arrays java.util.List org.junit.runner.Description org.junit.runner.Runner org.junit.runner.notification.Failure org.junit.runner.notification.RunNotifier org.junit.runners.model.InitializationError |
Response For class | 6 | - |
CBO | 10 | - |
Maintainability Index | 120.38 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 41 | - |
Fan In | 4 | - |
DIT | 1 | - |
Maintainability Index (NC) | 120.38 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.50 | - |
Local Method Calls | 3 | getCauses (2) runCause (1) describeCause (2) |
LCOM2 | 2.00 | - |
Max Complexity | 4 | - |
Halstead Cumulative Volume | 954.53 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 3 | - |
Fan Out | 6 | - |
SuperClass Name | org.junit.runner.Runner | - |
SIX | 0.11 | - |
External Method Calls | 0 | java.lang.Throwable.getCause (1) org.junit.runner.notification.Failure.Failure (1) org.junit.runner.notification.RunNotifier.fireTestFinished (1) org.junit.runner.Description.createSuiteDescription (1) org.junit.runner.Description.createTestDescription (1) org.junit.runner.notification.RunNotifier.fireTestStarted (1) org.junit.runner.notification.RunNotifier.fireTestFailure (1) cause().getCauses (1) java.util.Arrays.asList (1) org.junit.runner.Description.addChild (1) |
Superclasses | 1 | org.junit.runner.Runner |
Total Complexity | 11 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 3 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 221 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.runners.ErrorReportingRunner | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | ErrorReportingRunner | 1 | 0 | 3 | 21 | 16 | 420.00 | 0.03 | 3 | 0 | 1 | 4 | 0 | 2 | 5 | 5.00 | 0 | 0 | 0 | 0 | 0 | 84.00 | 10 | 4 | 11 | 0 | 3 | 0 |
![]() | describeCause | 1 | 0 | 2 | 15 | 13 | 190.31 | 0.02 | 2 | 1 | 0 | 4 | 0 | 1 | 1 | 3.43 | 0 | 0 | 0 | 0 | 0 | 55.51 | 8 | 1 | 7 | 0 | 1 | 0 |
![]() | getCauses | 4 | 0 | 5 | 78 | 26 | 4436.28 | 0.12 | 6 | 3 | 1 | 10 | 0 | 1 | 2 | 12.10 | 0 | 0 | 0 | 2 | 0 | 366.63 | 33 | 7 | 45 | 0 | 10 | 0 |
![]() | getDescription | 2 | 0 | 7 | 33 | 21 | 1054.16 | 0.05 | 2 | 2 | 1 | 6 | 0 | 0 | 2 | 7.27 | 1 | 0 | 0 | 0 | 0 | 144.95 | 16 | 5 | 17 | 0 | 4 | 1 |
![]() | run | 2 | 0 | 5 | 20 | 16 | 342.22 | 0.03 | 2 | 0 | 1 | 4 | 0 | 1 | 2 | 4.28 | 0 | 0 | 0 | 0 | 0 | 80.00 | 11 | 3 | 9 | 0 | 0 | 1 |
![]() | runCause | 1 | 0 | 5 | 38 | 20 | 928.55 | 0.05 | 4 | 4 | 1 | 6 | 0 | 2 | 1 | 5.65 | 1 | 0 | 0 | 0 | 0 | 164.23 | 21 | 8 | 17 | 0 | 6 | 0 |
Analysis of Method : ErrorReportingRunner(Class, Throwable) in Class : org.junit.internal.runners.ErrorReportingRunner | ||
---|---|---|
Feature | Number | Values |
Name | ErrorReportingRunner | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 21 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 420.00 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 3 | java.lang.Class (1) ? (1) java.lang.Throwable (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | getCauses (1) |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 2 | testClass (java.lang.Class) cause (java.lang.Throwable) |
Modifiers | 5 | private final 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 | 84.00 | - |
Number of Operands | 10 | - |
Variable References | 4 | fCauses (1) fTestClass (1) cause (1) testClass (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : describeCause(Throwable) in Class : org.junit.internal.runners.ErrorReportingRunner | ||
---|---|---|
Feature | Number | Values |
Name | describeCause | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 190.31 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.runner.Description (2) java.lang.Throwable (1) |
External Methods Called | 1 | org.junit.runner.Description.createTestDescription (1) |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 1 | child (java.lang.Throwable) |
Modifiers | 1 | private |
Halstead Difficulty | 3.43 | - |
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 | 8 | - |
Variable References | 1 | fTestClass (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getCauses(Throwable) in Class : org.junit.internal.runners.ErrorReportingRunner | ||
---|---|---|
Feature | Number | Values |
Name | getCauses | - |
Cyclomatic Complexity | 4 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 5 | - |
Halstead Length | 78 | - |
Halstead Vocabulary | 26 | - |
Halstead Effort | 4436.28 | - |
Halstead Bugs | 0.12 | - |
Classes Referenced | 6 | java.util.List (1) java.lang.reflect.InvocationTargetException (1) org.junit.internal.runners.InitializationError (3) java.util.Arrays (1) java.lang.Throwable (2) org.junit.runners.model.InitializationError (3) |
External Methods Called | 3 | cause().getCauses (1) java.util.Arrays.asList (1) java.lang.Throwable.getCause (1) |
Local Methods Called | 1 | getCauses (1) |
Lines Of Code | 10 | - |
Number of Comments | 0 | - |
Arguments | 1 | cause (java.lang.Throwable) |
Modifiers | 2 | @SuppressWarnings("deprecation") private |
Halstead Difficulty | 12.10 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 2 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 366.63 | - |
Number of Operands | 33 | - |
Variable References | 7 | cause (7) |
Number of Operators | 45 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 10 | - |
Number of Loops | 0 | - |
Analysis of Method : getDescription() in Class : org.junit.internal.runners.ErrorReportingRunner | ||
---|---|---|
Feature | Number | Values |
Name | getDescription | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 7 | - |
Halstead Length | 33 | - |
Halstead Vocabulary | 21 | - |
Halstead Effort | 1054.16 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 2 | org.junit.runner.Description (3) java.lang.Throwable (1) |
External Methods Called | 2 | org.junit.runner.Description.addChild (1) org.junit.runner.Description.createSuiteDescription (1) |
Local Methods Called | 1 | describeCause (1) |
Lines Of Code | 6 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 7.27 | - |
Variable Declarations | 1 | description (org.junit.runner.Description) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 144.95 | - |
Number of Operands | 16 | - |
Variable References | 5 | fCauses (1) fTestClass (1) description (2) each (1) |
Number of Operators | 17 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 1 | - |
Analysis of Method : run(RunNotifier) in Class : org.junit.internal.runners.ErrorReportingRunner | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 5 | - |
Halstead Length | 20 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 342.22 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | org.junit.runner.notification.RunNotifier (1) java.lang.Throwable (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | runCause (1) |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 1 | notifier (org.junit.runner.notification.RunNotifier) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 4.28 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 80.00 | - |
Number of Operands | 11 | - |
Variable References | 3 | fCauses (1) notifier (1) each (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 1 | - |
Analysis of Method : runCause(Throwable, RunNotifier) in Class : org.junit.internal.runners.ErrorReportingRunner | ||
---|---|---|
Feature | Number | Values |
Name | runCause | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 5 | - |
Halstead Length | 38 | - |
Halstead Vocabulary | 20 | - |
Halstead Effort | 928.55 | - |
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.fireTestFinished (1) org.junit.runner.notification.RunNotifier.fireTestStarted (1) org.junit.runner.notification.Failure.Failure (1) org.junit.runner.notification.RunNotifier.fireTestFailure (1) |
Local Methods Called | 1 | describeCause (1) |
Lines Of Code | 6 | - |
Number of Comments | 0 | - |
Arguments | 2 | child (java.lang.Throwable) notifier (org.junit.runner.notification.RunNotifier) |
Modifiers | 1 | private |
Halstead Difficulty | 5.65 | - |
Variable Declarations | 1 | description (org.junit.runner.Description) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 164.23 | - |
Number of Operands | 21 | - |
Variable References | 8 | description (3) notifier (3) child (2) |
Number of Operators | 17 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 6 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |