![]() | Analysis of Class : org.junit.runner.Result (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.runner.Result |
---|
![]() |
Cyclomatic Complexity |
Summary of Result | ||
---|---|---|
Feature | Number | Values |
Name | Result | - |
Number of Methods | 7 | - |
LCOM | 0.07 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 20 | - |
Halstead Cumulative Bugs | 0.14 | - |
Halstead Effort | 1719.32 | - |
UnWeighted Class Size | 12 | - |
Instance Variables | 5 | fCount (java.util.concurrent.atomic.AtomicInteger) fFailures (java.util.List) fRunTime (long) fIgnoreCount (java.util.concurrent.atomic.AtomicInteger) fStartTime (long) |
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 | 10 | - |
CBO | 10 | - |
Maintainability Index | 161.56 | - |
Cumulative Number of Comment Lines | 26 | - |
Lines Of Code | 28 | - |
Fan In | 9 | - |
DIT | 1 | - |
Maintainability Index (NC) | 140.95 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.14 | - |
Local Method Calls | 1 | getFailureCount (1) |
LCOM2 | 28.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 422.75 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 7 | - |
Fan Out | 2 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 3 | java.util.ArrayList.ArrayList (1) .synchronizedList (1) org.junit.runner.Listener.Listener (1) java.util.List.size (1) java.util.concurrent.atomic.AtomicInteger.get (2) java.util.concurrent.atomic.AtomicInteger.AtomicInteger (2) |
Superclasses | 0 | - |
Total Complexity | 7 | - |
Subclasses | 0 | - |
Message Passing Coupling | 3 | - |
Number of Commands | 0 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 8 | - |
Halstead Cumulative Length | 114 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.runner.Result | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | createListener | 1 | 3 | 2 | 10 | 9 | 95.10 | 0.01 | 2 | 1 | 0 | 3 | 1 | 0 | 1 | 3.00 | 0 | 0 | 0 | 0 | 0 | 31.70 | 3 | 0 | 7 | 0 | 1 | 0 |
![]() | getFailureCount | 1 | 3 | 2 | 11 | 10 | 109.62 | 0.01 | 0 | 1 | 0 | 3 | 1 | 0 | 1 | 3.00 | 0 | 0 | 0 | 0 | 0 | 36.54 | 4 | 1 | 7 | 0 | 1 | 0 |
![]() | getFailures | 1 | 3 | 2 | 11 | 11 | 133.19 | 0.01 | 2 | 0 | 0 | 3 | 1 | 0 | 1 | 3.50 | 0 | 0 | 0 | 0 | 0 | 38.05 | 4 | 1 | 7 | 0 | 0 | 0 |
![]() | getIgnoreCount | 1 | 3 | 2 | 11 | 10 | 109.62 | 0.01 | 0 | 1 | 0 | 3 | 1 | 0 | 1 | 3.00 | 0 | 0 | 0 | 0 | 0 | 36.54 | 4 | 1 | 7 | 0 | 1 | 0 |
![]() | getRunCount | 1 | 3 | 2 | 11 | 10 | 109.62 | 0.01 | 0 | 1 | 0 | 3 | 1 | 0 | 7 | 3.00 | 0 | 0 | 0 | 0 | 0 | 36.54 | 4 | 1 | 7 | 0 | 1 | 0 |
![]() | getRunTime | 1 | 3 | 2 | 8 | 8 | 60.00 | 0.01 | 0 | 0 | 0 | 3 | 1 | 0 | 1 | 2.50 | 0 | 0 | 0 | 0 | 0 | 24.00 | 3 | 1 | 5 | 0 | 0 | 0 |
![]() | wasSuccessful | 1 | 3 | 2 | 11 | 10 | 109.62 | 0.01 | 0 | 0 | 1 | 3 | 1 | 0 | 1 | 3.00 | 0 | 0 | 0 | 0 | 0 | 36.54 | 4 | 0 | 7 | 0 | 2 | 0 |
Analysis of Method : createListener() in Class : org.junit.runner.Result | ||
---|---|---|
Feature | Number | Values |
Name | createListener | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 95.10 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 2 | org.junit.runner.notification.RunListener (1) org.junit.runner.Listener (1) |
External Methods Called | 1 | org.junit.runner.Listener.Listener (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 3.00 | - |
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 | 3 | - |
Variable References | 0 | |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getFailureCount() in Class : org.junit.runner.Result | ||
---|---|---|
Feature | Number | Values |
Name | getFailureCount | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 10 | - |
Halstead Effort | 109.62 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 1 | java.util.List.size (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 3.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 36.54 | - |
Number of Operands | 4 | - |
Variable References | 1 | fFailures (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getFailures() in Class : org.junit.runner.Result | ||
---|---|---|
Feature | Number | Values |
Name | getFailures | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 133.19 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 2 | java.util.List (1) org.junit.runner.notification.Failure (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 38.05 | - |
Number of Operands | 4 | - |
Variable References | 1 | fFailures (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : getIgnoreCount() in Class : org.junit.runner.Result | ||
---|---|---|
Feature | Number | Values |
Name | getIgnoreCount | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 10 | - |
Halstead Effort | 109.62 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 1 | java.util.concurrent.atomic.AtomicInteger.get (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 3.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 36.54 | - |
Number of Operands | 4 | - |
Variable References | 1 | fIgnoreCount (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getRunCount() in Class : org.junit.runner.Result | ||
---|---|---|
Feature | Number | Values |
Name | getRunCount | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 10 | - |
Halstead Effort | 109.62 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 1 | java.util.concurrent.atomic.AtomicInteger.get (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 7 | private private private final private private public |
Halstead Difficulty | 3.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 36.54 | - |
Number of Operands | 4 | - |
Variable References | 1 | fCount (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getRunTime() in Class : org.junit.runner.Result | ||
---|---|---|
Feature | Number | Values |
Name | getRunTime | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 8 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 60.00 | - |
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 | 24.00 | - |
Number of Operands | 3 | - |
Variable References | 1 | fRunTime (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : wasSuccessful() in Class : org.junit.runner.Result | ||
---|---|---|
Feature | Number | Values |
Name | wasSuccessful | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 10 | - |
Halstead Effort | 109.62 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 1 | getFailureCount (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 3.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 36.54 | - |
Number of Operands | 4 | - |
Variable References | 0 | |
Number of Operators | 7 | - |
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 |