![]() | Analysis of Class : org.junit.internal.runners.model.EachTestNotifier (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.runners.model.EachTestNotifier |
---|
![]() |
Cyclomatic Complexity |
Summary of EachTestNotifier | ||
---|---|---|
Feature | Number | Values |
Name | EachTestNotifier | - |
Number of Methods | 6 | - |
LCOM | 0.60 | - |
Average Cyclomatic Complexity | 1.33 | - |
Number of Statements | 23 | - |
Halstead Cumulative Bugs | 0.15 | - |
Halstead Effort | 2918.57 | - |
UnWeighted Class Size | 8 | - |
Instance Variables | 2 | fDescription (org.junit.runner.Description) fNotifier (org.junit.runner.notification.RunNotifier) |
Imported Packages | 4 | org.junit.internal.AssumptionViolatedException org.junit.runner.Description org.junit.runner.notification.Failure org.junit.runner.notification.RunNotifier |
Response For class | 6 | - |
CBO | 7 | - |
Maintainability Index | 131.98 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 29 | - |
Fan In | 2 | - |
DIT | 1 | - |
Maintainability Index (NC) | 131.98 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 1.00 | - |
Local Method Calls | 1 | addFailure (1) |
LCOM2 | 0.00 | - |
Max Complexity | 3 | - |
Halstead Cumulative Volume | 455.47 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 0 | - |
Fan Out | 5 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.junit.runner.notification.RunNotifier.fireTestStarted (1) org.junit.internal.runners.model.MultipleFailureException.getFailures (1) org.junit.runner.notification.RunNotifier.fireTestFinished (1) org.junit.runner.notification.RunNotifier.fireTestIgnored (1) org.junit.runner.notification.RunNotifier.fireTestAssumptionFailed (1) org.junit.runner.notification.Failure.Failure (2) org.junit.runner.notification.RunNotifier.fireTestFailure (1) |
Superclasses | 0 | - |
Total Complexity | 8 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 6 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 119 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.runners.model.EachTestNotifier | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | EachTestNotifier | 1 | 0 | 3 | 16 | 12 | 184.37 | 0.02 | 2 | 0 | 0 | 4 | 0 | 2 | 5 | 3.21 | 0 | 0 | 0 | 0 | 0 | 57.36 | 9 | 4 | 7 | 0 | 2 | 0 |
![]() | addFailedAssumption | 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 |
![]() | addFailure | 3 | 0 | 9 | 45 | 24 | 2166.39 | 0.07 | 3 | 3 | 1 | 9 | 0 | 1 | 1 | 10.50 | 1 | 0 | 0 | 1 | 1 | 206.32 | 21 | 7 | 24 | 1 | 7 | 1 |
![]() | fireTestFinished | 1 | 0 | 2 | 11 | 9 | 108.97 | 0.01 | 0 | 1 | 0 | 3 | 0 | 0 | 1 | 3.12 | 0 | 0 | 0 | 0 | 0 | 34.87 | 5 | 2 | 6 | 0 | 1 | 0 |
![]() | fireTestIgnored | 1 | 0 | 2 | 11 | 9 | 108.97 | 0.01 | 0 | 1 | 0 | 3 | 0 | 0 | 1 | 3.12 | 0 | 0 | 0 | 0 | 0 | 34.87 | 5 | 2 | 6 | 0 | 1 | 0 |
![]() | fireTestStarted | 1 | 0 | 2 | 11 | 9 | 108.97 | 0.01 | 0 | 1 | 0 | 3 | 0 | 0 | 1 | 3.12 | 0 | 0 | 0 | 0 | 0 | 34.87 | 5 | 2 | 6 | 0 | 1 | 0 |
Analysis of Method : EachTestNotifier(RunNotifier, Description) in Class : org.junit.internal.runners.model.EachTestNotifier | ||
---|---|---|
Feature | Number | Values |
Name | EachTestNotifier | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 184.37 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.runner.Description (1) org.junit.runner.notification.RunNotifier (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 2 | notifier (org.junit.runner.notification.RunNotifier) description (org.junit.runner.Description) |
Modifiers | 5 | private final private final public |
Halstead Difficulty | 3.21 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 57.36 | - |
Number of Operands | 9 | - |
Variable References | 4 | fDescription (1) fNotifier (1) description (1) notifier (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : addFailedAssumption(AssumptionViolatedException) in Class : org.junit.internal.runners.model.EachTestNotifier | ||
---|---|---|
Feature | Number | Values |
Name | addFailedAssumption | - |
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 | org.junit.internal.AssumptionViolatedException (1) org.junit.runner.notification.Failure (1) |
External Methods Called | 2 | org.junit.runner.notification.RunNotifier.fireTestAssumptionFailed (1) org.junit.runner.notification.Failure.Failure (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | e (org.junit.internal.AssumptionViolatedException) |
Modifiers | 1 | public |
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) e (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : addFailure(Throwable) in Class : org.junit.internal.runners.model.EachTestNotifier | ||
---|---|---|
Feature | Number | Values |
Name | addFailure | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 9 | - |
Halstead Length | 45 | - |
Halstead Vocabulary | 24 | - |
Halstead Effort | 2166.39 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 3 | org.junit.internal.runners.model.MultipleFailureException (4) java.lang.Throwable (2) org.junit.runner.notification.Failure (1) |
External Methods Called | 3 | org.junit.internal.runners.model.MultipleFailureException.getFailures (1) org.junit.runner.notification.RunNotifier.fireTestFailure (1) org.junit.runner.notification.Failure.Failure (1) |
Local Methods Called | 1 | addFailure (1) |
Lines Of Code | 9 | - |
Number of Comments | 0 | - |
Arguments | 1 | targetException (java.lang.Throwable) |
Modifiers | 1 | public |
Halstead Difficulty | 10.50 | - |
Variable Declarations | 1 | mfe (MultipleFailureException) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 1 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 206.32 | - |
Number of Operands | 21 | - |
Variable References | 7 | fDescription (1) fNotifier (1) each (1) mfe (1) targetException (3) |
Number of Operators | 24 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 7 | - |
Number of Loops | 1 | - |
Analysis of Method : fireTestFinished() in Class : org.junit.internal.runners.model.EachTestNotifier | ||
---|---|---|
Feature | Number | Values |
Name | fireTestFinished | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 108.97 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 1 | org.junit.runner.notification.RunNotifier.fireTestFinished (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | 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 | 34.87 | - |
Number of Operands | 5 | - |
Variable References | 2 | fDescription (1) fNotifier (1) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : fireTestIgnored() in Class : org.junit.internal.runners.model.EachTestNotifier | ||
---|---|---|
Feature | Number | Values |
Name | fireTestIgnored | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 108.97 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 1 | org.junit.runner.notification.RunNotifier.fireTestIgnored (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | 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 | 34.87 | - |
Number of Operands | 5 | - |
Variable References | 2 | fDescription (1) fNotifier (1) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : fireTestStarted() in Class : org.junit.internal.runners.model.EachTestNotifier | ||
---|---|---|
Feature | Number | Values |
Name | fireTestStarted | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 108.97 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 1 | org.junit.runner.notification.RunNotifier.fireTestStarted (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | 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 | 34.87 | - |
Number of Operands | 5 | - |
Variable References | 2 | fDescription (1) fNotifier (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 |