![]() | Analysis of Class : org.junit.runner.Result$Listener (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.runner.Result$Listener |
---|
![]() |
Cyclomatic Complexity |
Summary of Result$Listener | ||
---|---|---|
Feature | Number | Values |
Name | Result$Listener | - |
Number of Methods | 6 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 13 | - |
Halstead Cumulative Bugs | 0.14 | - |
Halstead Effort | 1662.33 | - |
UnWeighted Class Size | 6 | - |
Instance Variables | 0 | - |
Imported Packages | 6 | java.util.ArrayList java.util.Collections java.util.List java.util.concurrent.atomic.AtomicInteger org.junit.runner.notification.Failure org.junit.runner.notification.RunListener |
Response For class | 6 | - |
CBO | 4 | - |
Maintainability Index | 140.54 | - |
Cumulative Number of Comment Lines | 1 | - |
Lines Of Code | 26 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 140.54 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.00 | - |
Local Method Calls | 0 | |
LCOM2 | 22.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 413.03 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 0 | - |
Fan Out | 4 | - |
SuperClass Name | org.junit.runner.notification.RunListener | - |
SIX | 0.00 | - |
External Method Calls | 0 | java.lang.System.currentTimeMillis (2) |
Superclasses | 1 | org.junit.runner.notification.RunListener |
Total Complexity | 6 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 6 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 1 | - |
Halstead Cumulative Length | 105 | - |
Modifiers | 1 | private |
Methods in Class : org.junit.runner.Result$Listener | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | testAssumptionFailure | 1 | 1 | 1 | 9 | 9 | 57.06 | 0.01 | 1 | 0 | 0 | 2 | 1 | 1 | 2 | 2.00 | 0 | 0 | 0 | 0 | 0 | 28.53 | 5 | 0 | 4 | 0 | 0 | 0 |
![]() | testFailure | 1 | 0 | 2 | 17 | 15 | 261.52 | 0.02 | 2 | 0 | 0 | 3 | 0 | 1 | 2 | 3.94 | 0 | 1 | 0 | 0 | 0 | 66.42 | 9 | 3 | 8 | 0 | 1 | 0 |
![]() | testFinished | 1 | 0 | 2 | 16 | 15 | 218.79 | 0.02 | 2 | 0 | 0 | 3 | 0 | 1 | 2 | 3.50 | 0 | 1 | 0 | 0 | 0 | 62.51 | 8 | 2 | 8 | 0 | 1 | 0 |
![]() | testIgnored | 1 | 0 | 2 | 16 | 15 | 218.79 | 0.02 | 2 | 0 | 0 | 3 | 0 | 1 | 2 | 3.50 | 0 | 1 | 0 | 0 | 0 | 62.51 | 8 | 2 | 8 | 0 | 1 | 0 |
![]() | testRunFinished | 1 | 0 | 3 | 25 | 22 | 603.88 | 0.04 | 3 | 1 | 0 | 4 | 0 | 1 | 2 | 5.42 | 1 | 1 | 0 | 0 | 0 | 111.49 | 13 | 3 | 12 | 0 | 4 | 0 |
![]() | testRunStarted | 1 | 0 | 2 | 18 | 17 | 294.30 | 0.02 | 3 | 1 | 0 | 3 | 0 | 1 | 2 | 4.00 | 0 | 1 | 0 | 0 | 0 | 73.57 | 9 | 1 | 9 | 0 | 2 | 0 |
Analysis of Method : testAssumptionFailure(Failure) in Class : org.junit.runner.Result$Listener | ||
---|---|---|
Feature | Number | Values |
Name | testAssumptionFailure | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 1 | - |
Number of Statements | 1 | - |
Halstead Length | 9 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 57.06 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runner.notification.Failure (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 2 | - |
Number of Comments | 1 | - |
Arguments | 1 | failure (org.junit.runner.notification.Failure) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 2.00 | - |
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 | 5 | - |
Variable References | 0 | |
Number of Operators | 4 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : testFailure(Failure) in Class : org.junit.runner.Result$Listener | ||
---|---|---|
Feature | Number | Values |
Name | testFailure | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 17 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 261.52 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.runner.notification.Failure (1) java.lang.Exception (1) |
External Methods Called | 0 | - |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | failure (org.junit.runner.notification.Failure) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 3.94 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 66.42 | - |
Number of Operands | 9 | - |
Variable References | 3 | fFailures (2) failure (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : testFinished(Description) in Class : org.junit.runner.Result$Listener | ||
---|---|---|
Feature | Number | Values |
Name | testFinished | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 218.79 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.runner.Description (1) java.lang.Exception (1) |
External Methods Called | 0 | - |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 2 | @Override public |
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.51 | - |
Number of Operands | 8 | - |
Variable References | 2 | fCount (2) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : testIgnored(Description) in Class : org.junit.runner.Result$Listener | ||
---|---|---|
Feature | Number | Values |
Name | testIgnored | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 218.79 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.runner.Description (1) java.lang.Exception (1) |
External Methods Called | 0 | - |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 2 | @Override public |
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.51 | - |
Number of Operands | 8 | - |
Variable References | 2 | fIgnoreCount (2) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : testRunFinished(Result) in Class : org.junit.runner.Result$Listener | ||
---|---|---|
Feature | Number | Values |
Name | testRunFinished | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 25 | - |
Halstead Vocabulary | 22 | - |
Halstead Effort | 603.88 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 3 | java.lang.System (1) java.lang.Exception (1) org.junit.runner.Result (1) |
External Methods Called | 1 | java.lang.System.currentTimeMillis (1) |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 1 | result (org.junit.runner.Result) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 5.42 | - |
Variable Declarations | 1 | endTime (long) |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 111.49 | - |
Number of Operands | 13 | - |
Variable References | 3 | endTime (1) fRunTime (1) fStartTime (1) |
Number of Operators | 12 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : testRunStarted(Description) in Class : org.junit.runner.Result$Listener | ||
---|---|---|
Feature | Number | Values |
Name | testRunStarted | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 18 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 294.30 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | org.junit.runner.Description (1) java.lang.System (1) java.lang.Exception (1) |
External Methods Called | 1 | java.lang.System.currentTimeMillis (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 73.57 | - |
Number of Operands | 9 | - |
Variable References | 1 | fStartTime (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |