![]() | Analysis of Class : org.junit.runner.notification.RunNotifier (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.runner.notification.RunNotifier |
---|
![]() |
Cyclomatic Complexity |
Summary of RunNotifier | ||
---|---|---|
Feature | Number | Values |
Name | RunNotifier | - |
Number of Methods | 11 | - |
LCOM | 0.30 | - |
Average Cyclomatic Complexity | 1.09 | - |
Number of Statements | 26 | - |
Halstead Cumulative Bugs | 0.46 | - |
Halstead Effort | 8170.77 | - |
UnWeighted Class Size | 13 | - |
Instance Variables | 2 | fListeners (java.util.List) fPleaseStop (boolean) |
Imported Packages | 7 | java.util.ArrayList java.util.Collections java.util.Iterator java.util.List org.junit.internal.AssumptionViolatedException org.junit.runner.Description org.junit.runner.Result |
Response For class | 13 | - |
CBO | 22 | - |
Maintainability Index | 137.38 | - |
Cumulative Number of Comment Lines | 53 | - |
Lines Of Code | 33 | - |
Fan In | 16 | - |
DIT | 1 | - |
Maintainability Index (NC) | 137.14 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.23 | - |
Local Method Calls | 0 | |
LCOM2 | 40.00 | - |
Max Complexity | 2 | - |
Halstead Cumulative Volume | 1380.83 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 0 | - |
Fan Out | 6 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 2 | org.junit.runner.notification.StoppedByUserException.StoppedByUserException (1) java.util.List.add (2) org.junit.runner.notification.SafeNotifier.SafeNotifier (7) java.util.List.remove (1) .synchronizedList (1) java.util.ArrayList.ArrayList (1) |
Superclasses | 0 | - |
Total Complexity | 12 | - |
Subclasses | 0 | - |
Message Passing Coupling | 2 | - |
Number of Commands | 11 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 12 | - |
Halstead Cumulative Length | 320 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.runner.notification.RunNotifier | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | addFirstListener | 1 | 3 | 2 | 14 | 12 | 143.40 | 0.02 | 1 | 1 | 0 | 3 | 1 | 1 | 1 | 2.86 | 0 | 0 | 0 | 0 | 0 | 50.19 | 8 | 2 | 6 | 0 | 1 | 0 |
![]() | addListener | 1 | 2 | 2 | 13 | 11 | 131.17 | 0.01 | 1 | 1 | 0 | 3 | 1 | 1 | 4 | 2.92 | 0 | 0 | 0 | 0 | 0 | 44.97 | 7 | 2 | 6 | 0 | 1 | 0 |
![]() | fireTestAssumptionFailed | 1 | 8 | 2 | 34 | 22 | 947.63 | 0.05 | 2 | 1 | 0 | 8 | 1 | 1 | 1 | 6.25 | 0 | 0 | 0 | 0 | 0 | 151.62 | 15 | 0 | 19 | 0 | 2 | 0 |
![]() | fireTestFailure | 1 | 4 | 2 | 34 | 22 | 947.63 | 0.05 | 2 | 1 | 0 | 8 | 1 | 1 | 1 | 6.25 | 0 | 0 | 0 | 0 | 0 | 151.62 | 15 | 0 | 19 | 0 | 2 | 0 |
![]() | fireTestFinished | 1 | 6 | 2 | 34 | 22 | 947.63 | 0.05 | 2 | 1 | 0 | 8 | 1 | 1 | 1 | 6.25 | 0 | 0 | 0 | 0 | 0 | 151.62 | 15 | 0 | 19 | 0 | 2 | 0 |
![]() | fireTestIgnored | 1 | 4 | 2 | 33 | 22 | 919.76 | 0.05 | 2 | 1 | 0 | 8 | 1 | 1 | 1 | 6.25 | 0 | 0 | 0 | 0 | 0 | 147.16 | 15 | 0 | 18 | 0 | 2 | 0 |
![]() | fireTestRunFinished | 1 | 3 | 2 | 34 | 22 | 947.63 | 0.05 | 2 | 1 | 0 | 8 | 1 | 1 | 1 | 6.25 | 0 | 0 | 0 | 0 | 0 | 151.62 | 15 | 0 | 19 | 0 | 2 | 0 |
![]() | fireTestRunStarted | 1 | 3 | 2 | 34 | 22 | 947.63 | 0.05 | 2 | 1 | 0 | 8 | 1 | 1 | 1 | 6.25 | 0 | 0 | 0 | 0 | 0 | 151.62 | 15 | 0 | 19 | 0 | 2 | 0 |
![]() | fireTestStarted | 2 | 5 | 3 | 44 | 26 | 1595.46 | 0.07 | 3 | 2 | 0 | 10 | 1 | 1 | 1 | 7.71 | 0 | 1 | 0 | 0 | 0 | 206.82 | 18 | 1 | 26 | 0 | 3 | 0 |
![]() | pleaseStop | 1 | 6 | 2 | 9 | 9 | 71.32 | 0.01 | 0 | 0 | 0 | 3 | 1 | 0 | 1 | 2.50 | 0 | 0 | 0 | 0 | 0 | 28.53 | 4 | 1 | 5 | 0 | 1 | 0 |
![]() | removeListener | 1 | 2 | 2 | 13 | 11 | 131.17 | 0.01 | 1 | 1 | 0 | 3 | 1 | 1 | 1 | 2.92 | 0 | 0 | 0 | 0 | 0 | 44.97 | 7 | 2 | 6 | 0 | 1 | 0 |
Analysis of Method : addFirstListener(RunListener) in Class : org.junit.runner.notification.RunNotifier | ||
---|---|---|
Feature | Number | Values |
Name | addFirstListener | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 143.40 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | org.junit.runner.notification.RunListener (1) |
External Methods Called | 1 | java.util.List.add (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | listener (org.junit.runner.notification.RunListener) |
Modifiers | 1 | public |
Halstead Difficulty | 2.86 | - |
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 | 8 | - |
Variable References | 2 | fListeners (1) listener (1) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : addListener(RunListener) in Class : org.junit.runner.notification.RunNotifier | ||
---|---|---|
Feature | Number | Values |
Name | addListener | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 2 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 131.17 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runner.notification.RunListener (1) |
External Methods Called | 1 | java.util.List.add (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | listener (org.junit.runner.notification.RunListener) |
Modifiers | 4 | private final private public |
Halstead Difficulty | 2.92 | - |
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 | 7 | - |
Variable References | 2 | fListeners (1) listener (1) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : fireTestAssumptionFailed(Failure) in Class : org.junit.runner.notification.RunNotifier | ||
---|---|---|
Feature | Number | Values |
Name | fireTestAssumptionFailed | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 8 | - |
Number of Statements | 2 | - |
Halstead Length | 34 | - |
Halstead Vocabulary | 22 | - |
Halstead Effort | 947.63 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 2 | org.junit.runner.notification.SafeNotifier (1) org.junit.runner.notification.Failure (1) |
External Methods Called | 1 | org.junit.runner.notification.SafeNotifier.SafeNotifier (1) |
Local Methods Called | 0 | |
Lines Of Code | 8 | - |
Number of Comments | 1 | - |
Arguments | 1 | failure (org.junit.runner.notification.Failure) |
Modifiers | 1 | public |
Halstead Difficulty | 6.25 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 151.62 | - |
Number of Operands | 15 | - |
Variable References | 0 | |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : fireTestFailure(Failure) in Class : org.junit.runner.notification.RunNotifier | ||
---|---|---|
Feature | Number | Values |
Name | fireTestFailure | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 34 | - |
Halstead Vocabulary | 22 | - |
Halstead Effort | 947.63 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 2 | org.junit.runner.notification.SafeNotifier (1) org.junit.runner.notification.Failure (1) |
External Methods Called | 1 | org.junit.runner.notification.SafeNotifier.SafeNotifier (1) |
Local Methods Called | 0 | |
Lines Of Code | 8 | - |
Number of Comments | 1 | - |
Arguments | 1 | failure (org.junit.runner.notification.Failure) |
Modifiers | 1 | public |
Halstead Difficulty | 6.25 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 151.62 | - |
Number of Operands | 15 | - |
Variable References | 0 | |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : fireTestFinished(Description) in Class : org.junit.runner.notification.RunNotifier | ||
---|---|---|
Feature | Number | Values |
Name | fireTestFinished | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 6 | - |
Number of Statements | 2 | - |
Halstead Length | 34 | - |
Halstead Vocabulary | 22 | - |
Halstead Effort | 947.63 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 2 | org.junit.runner.notification.SafeNotifier (1) org.junit.runner.Description (1) |
External Methods Called | 1 | org.junit.runner.notification.SafeNotifier.SafeNotifier (1) |
Local Methods Called | 0 | |
Lines Of Code | 8 | - |
Number of Comments | 1 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 1 | public |
Halstead Difficulty | 6.25 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 151.62 | - |
Number of Operands | 15 | - |
Variable References | 0 | |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : fireTestIgnored(Description) in Class : org.junit.runner.notification.RunNotifier | ||
---|---|---|
Feature | Number | Values |
Name | fireTestIgnored | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 33 | - |
Halstead Vocabulary | 22 | - |
Halstead Effort | 919.76 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 2 | org.junit.runner.notification.SafeNotifier (1) org.junit.runner.Description (1) |
External Methods Called | 1 | org.junit.runner.notification.SafeNotifier.SafeNotifier (1) |
Local Methods Called | 0 | |
Lines Of Code | 8 | - |
Number of Comments | 1 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 1 | public |
Halstead Difficulty | 6.25 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 147.16 | - |
Number of Operands | 15 | - |
Variable References | 0 | |
Number of Operators | 18 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : fireTestRunFinished(Result) in Class : org.junit.runner.notification.RunNotifier | ||
---|---|---|
Feature | Number | Values |
Name | fireTestRunFinished | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 34 | - |
Halstead Vocabulary | 22 | - |
Halstead Effort | 947.63 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 2 | org.junit.runner.notification.SafeNotifier (1) org.junit.runner.Result (1) |
External Methods Called | 1 | org.junit.runner.notification.SafeNotifier.SafeNotifier (1) |
Local Methods Called | 0 | |
Lines Of Code | 8 | - |
Number of Comments | 1 | - |
Arguments | 1 | result (org.junit.runner.Result) |
Modifiers | 1 | public |
Halstead Difficulty | 6.25 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 151.62 | - |
Number of Operands | 15 | - |
Variable References | 0 | |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : fireTestRunStarted(Description) in Class : org.junit.runner.notification.RunNotifier | ||
---|---|---|
Feature | Number | Values |
Name | fireTestRunStarted | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 34 | - |
Halstead Vocabulary | 22 | - |
Halstead Effort | 947.63 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 2 | org.junit.runner.notification.SafeNotifier (1) org.junit.runner.Description (1) |
External Methods Called | 1 | org.junit.runner.notification.SafeNotifier.SafeNotifier (1) |
Local Methods Called | 0 | |
Lines Of Code | 8 | - |
Number of Comments | 1 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 1 | public |
Halstead Difficulty | 6.25 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 151.62 | - |
Number of Operands | 15 | - |
Variable References | 0 | |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : fireTestStarted(Description) in Class : org.junit.runner.notification.RunNotifier | ||
---|---|---|
Feature | Number | Values |
Name | fireTestStarted | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 5 | - |
Number of Statements | 3 | - |
Halstead Length | 44 | - |
Halstead Vocabulary | 26 | - |
Halstead Effort | 1595.46 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 3 | org.junit.runner.notification.StoppedByUserException (2) org.junit.runner.notification.SafeNotifier (1) org.junit.runner.Description (1) |
External Methods Called | 2 | org.junit.runner.notification.StoppedByUserException.StoppedByUserException (1) org.junit.runner.notification.SafeNotifier.SafeNotifier (1) |
Local Methods Called | 0 | |
Lines Of Code | 10 | - |
Number of Comments | 1 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 1 | public |
Halstead Difficulty | 7.71 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | org.junit.runner.notification.StoppedByUserException (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 206.82 | - |
Number of Operands | 18 | - |
Variable References | 1 | fPleaseStop (1) |
Number of Operators | 26 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : pleaseStop() in Class : org.junit.runner.notification.RunNotifier | ||
---|---|---|
Feature | Number | Values |
Name | pleaseStop | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 6 | - |
Number of Statements | 2 | - |
Halstead Length | 9 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 71.32 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 2.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 28.53 | - |
Number of Operands | 4 | - |
Variable References | 1 | fPleaseStop (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : removeListener(RunListener) in Class : org.junit.runner.notification.RunNotifier | ||
---|---|---|
Feature | Number | Values |
Name | removeListener | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 2 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 131.17 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runner.notification.RunListener (1) |
External Methods Called | 1 | java.util.List.remove (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | listener (org.junit.runner.notification.RunListener) |
Modifiers | 1 | public |
Halstead Difficulty | 2.92 | - |
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 | 7 | - |
Variable References | 2 | fListeners (1) listener (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 |