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
FeatureNumberValues
NameMaxHistory$RememberingListener-
Number of Methods4-
LCOM0.17-
Average Cyclomatic Complexity1.00-
Number of Statements13-
Halstead Cumulative Bugs0.16-
Halstead Effort2368.95-
UnWeighted Class Size6-
Instance Variables2starts (java.util.Map)
overallStart (long)
Imported Packages14java.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 class6-
CBO4-
Maintainability Index131.37-
Cumulative Number of Comment Lines1-
Lines Of Code22-
Fan In0-
DIT1-
Maintainability Index (NC)131.37-
Specialization ratio0.00-
Reuse Ratio0.50-
COH0.38-
Local Method Calls0
LCOM26.00-
Max Complexity1-
Halstead Cumulative Volume488.66-
Hierarchy Method Calls3putTestFailureTimestamp (1)
putTestDuration (1)
save (1)
Number of Queries0-
Fan Out4-
SuperClass Nameorg.junit.runner.notification.RunListener-
SIX0.00-
External Method Calls2java.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)
Superclasses1org.junit.runner.notification.RunListener
Total Complexity4-
Subclasses0 -
Message Passing Coupling2-
Number of Commands4-
Interfaces0 -
Cumulative Number of Comments2-
Halstead Cumulative Length116-
Modifiers2private
final
Summary of methods in org.junit.experimental.max.MaxHistory$RememberingListener
Methods in Class : org.junit.experimental.max.MaxHistory$RememberingListener
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
testFailure1021916295.560.0321130123.890100076.001029010
testFinished1043523966.910.0532150126.1121000158.3219516050
testRunFinished1021413155.420.0220130123.000100051.81707010
testStarted1122117330.470.0332032143.850100085.8411210020


Analysis of Method : testFailure(Failure) in Class : org.junit.experimental.max.MaxHistory$RememberingListener
FeatureNumberValues
NametestFailure-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length19-
Halstead Vocabulary16-
Halstead Effort295.56-
Halstead Bugs0.03-
Classes Referenced2org.junit.runner.notification.Failure (1)
java.lang.Exception (1)
External Methods Called1org.junit.runner.notification.Failure.getDescription (1)
Local Methods Called1putTestFailureTimestamp (1)
Lines Of Code3-
Number of Comments0-
Arguments1failure (org.junit.runner.notification.Failure)
Modifiers2@Override
public
Halstead Difficulty3.89-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume76.00-
Number of Operands10-
Variable References2failure (1)
overallStart (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : testFinished(Description) in Class : org.junit.experimental.max.MaxHistory$RememberingListener
FeatureNumberValues
NametestFinished-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements4-
Halstead Length35-
Halstead Vocabulary23-
Halstead Effort966.91-
Halstead Bugs0.05-
Classes Referenced3org.junit.runner.Description (1)
java.lang.System (1)
java.lang.Exception (1)
External Methods Called2java.util.Map.get (1)
java.lang.System.nanoTime (1)
Local Methods Called1putTestDuration (1)
Lines Of Code5-
Number of Comments0-
Arguments1description (org.junit.runner.Description)
Modifiers2@Override
public
Halstead Difficulty6.11-
Variable Declarations2end (long)
start (long)
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume158.32-
Number of Operands19-
Variable References5end (1)
description (2)
starts (1)
start (1)
Number of Operators16-
Max. depth of nesting0-
Number of Expressions5-
Number of Loops0-

Top of this page

Analysis of Method : testRunFinished(Result) in Class : org.junit.experimental.max.MaxHistory$RememberingListener
FeatureNumberValues
NametestRunFinished-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary13-
Halstead Effort155.42-
Halstead Bugs0.02-
Classes Referenced2java.lang.Exception (1)
org.junit.runner.Result (1)
External Methods Called0
Local Methods Called1save (1)
Lines Of Code3-
Number of Comments0-
Arguments1result (org.junit.runner.Result)
Modifiers2@Override
public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume51.81-
Number of Operands7-
Variable References0
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : testStarted(Description) in Class : org.junit.experimental.max.MaxHistory$RememberingListener
FeatureNumberValues
NametestStarted-
Cyclomatic Complexity1-
Number of Comment Lines1-
Number of Statements2-
Halstead Length21-
Halstead Vocabulary17-
Halstead Effort330.47-
Halstead Bugs0.03-
Classes Referenced3org.junit.runner.Description (1)
java.lang.System (1)
java.lang.Exception (1)
External Methods Called2java.lang.System.nanoTime (1)
java.util.Map.put (1)
Local Methods Called0
Lines Of Code3-
Number of Comments2-
Arguments1description (org.junit.runner.Description)
Modifiers4private
private
@Override
public
Halstead Difficulty3.85-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume85.84-
Number of Operands11-
Variable References2description (1)
starts (1)
Number of Operators10-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Top of this page Data Generated by JHawk - The Java Metrics tool Home