![]() | Analysis of Class : org.junit.experimental.max.MaxHistory$RememberingListener (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.experimental.max.MaxHistory$RememberingListener |
---|
![]() |
Cyclomatic Complexity |
Summary of MaxHistory$RememberingListener | ||
---|---|---|
Feature | Number | Values |
Name | MaxHistory$RememberingListener | - |
Number of Methods | 4 | - |
LCOM | 0.17 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 13 | - |
Halstead Cumulative Bugs | 0.16 | - |
Halstead Effort | 2368.95 | - |
UnWeighted Class Size | 6 | - |
Instance Variables | 2 | starts (java.util.Map) overallStart (long) |
Imported Packages | 14 | java.io.File java.io.FileInputStream java.io.FileOutputStream java.io.IOException java.io.ObjectInputStream java.io.ObjectOutputStream java.io.Serializable java.util.Comparator java.util.HashMap java.util.Map org.junit.runner.Description org.junit.runner.Result org.junit.runner.notification.Failure org.junit.runner.notification.RunListener |
Response For class | 6 | - |
CBO | 4 | - |
Maintainability Index | 131.37 | - |
Cumulative Number of Comment Lines | 1 | - |
Lines Of Code | 22 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 131.37 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.38 | - |
Local Method Calls | 0 | |
LCOM2 | 6.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 488.66 | - |
Hierarchy Method Calls | 3 | putTestFailureTimestamp (1) putTestDuration (1) save (1) |
Number of Queries | 0 | - |
Fan Out | 4 | - |
SuperClass Name | org.junit.runner.notification.RunListener | - |
SIX | 0.00 | - |
External Method Calls | 2 | java.util.Map.get (1) java.lang.System.nanoTime (2) java.util.Map.put (1) java.util.HashMap.HashMap (1) org.junit.runner.notification.Failure.getDescription (1) .currentTimeMillis (1) |
Superclasses | 1 | org.junit.runner.notification.RunListener |
Total Complexity | 4 | - |
Subclasses | 0 | - |
Message Passing Coupling | 2 | - |
Number of Commands | 4 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 2 | - |
Halstead Cumulative Length | 116 | - |
Modifiers | 2 | private final |
Methods in Class : org.junit.experimental.max.MaxHistory$RememberingListener | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | testFailure | 1 | 0 | 2 | 19 | 16 | 295.56 | 0.03 | 2 | 1 | 1 | 3 | 0 | 1 | 2 | 3.89 | 0 | 1 | 0 | 0 | 0 | 76.00 | 10 | 2 | 9 | 0 | 1 | 0 |
![]() | testFinished | 1 | 0 | 4 | 35 | 23 | 966.91 | 0.05 | 3 | 2 | 1 | 5 | 0 | 1 | 2 | 6.11 | 2 | 1 | 0 | 0 | 0 | 158.32 | 19 | 5 | 16 | 0 | 5 | 0 |
![]() | testRunFinished | 1 | 0 | 2 | 14 | 13 | 155.42 | 0.02 | 2 | 0 | 1 | 3 | 0 | 1 | 2 | 3.00 | 0 | 1 | 0 | 0 | 0 | 51.81 | 7 | 0 | 7 | 0 | 1 | 0 |
![]() | testStarted | 1 | 1 | 2 | 21 | 17 | 330.47 | 0.03 | 3 | 2 | 0 | 3 | 2 | 1 | 4 | 3.85 | 0 | 1 | 0 | 0 | 0 | 85.84 | 11 | 2 | 10 | 0 | 2 | 0 |
Analysis of Method : testFailure(Failure) in Class : org.junit.experimental.max.MaxHistory$RememberingListener | ||
---|---|---|
Feature | Number | Values |
Name | testFailure | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 19 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 295.56 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | org.junit.runner.notification.Failure (1) java.lang.Exception (1) |
External Methods Called | 1 | org.junit.runner.notification.Failure.getDescription (1) |
Local Methods Called | 1 | putTestFailureTimestamp (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | failure (org.junit.runner.notification.Failure) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 3.89 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 76.00 | - |
Number of Operands | 10 | - |
Variable References | 2 | failure (1) overallStart (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : testFinished(Description) in Class : org.junit.experimental.max.MaxHistory$RememberingListener | ||
---|---|---|
Feature | Number | Values |
Name | testFinished | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 35 | - |
Halstead Vocabulary | 23 | - |
Halstead Effort | 966.91 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 3 | org.junit.runner.Description (1) java.lang.System (1) java.lang.Exception (1) |
External Methods Called | 2 | java.util.Map.get (1) java.lang.System.nanoTime (1) |
Local Methods Called | 1 | putTestDuration (1) |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 6.11 | - |
Variable Declarations | 2 | end (long) start (long) |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 158.32 | - |
Number of Operands | 19 | - |
Variable References | 5 | end (1) description (2) starts (1) start (1) |
Number of Operators | 16 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 0 | - |
Analysis of Method : testRunFinished(Result) in Class : org.junit.experimental.max.MaxHistory$RememberingListener | ||
---|---|---|
Feature | Number | Values |
Name | testRunFinished | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 155.42 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | java.lang.Exception (1) org.junit.runner.Result (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | save (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | result (org.junit.runner.Result) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 3.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 | 51.81 | - |
Number of Operands | 7 | - |
Variable References | 0 | |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : testStarted(Description) in Class : org.junit.experimental.max.MaxHistory$RememberingListener | ||
---|---|---|
Feature | Number | Values |
Name | testStarted | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 1 | - |
Number of Statements | 2 | - |
Halstead Length | 21 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 330.47 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 3 | org.junit.runner.Description (1) java.lang.System (1) java.lang.Exception (1) |
External Methods Called | 2 | java.lang.System.nanoTime (1) java.util.Map.put (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 2 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 4 | private private @Override public |
Halstead Difficulty | 3.85 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 85.84 | - |
Number of Operands | 11 | - |
Variable References | 2 | description (1) starts (1) |
Number of Operators | 10 | - |
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 |