Analysis of Class : org.junit.experimental.max.MaxHistory$TestComparator (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.experimental.max.MaxHistory$TestComparator
Cyclomatic Complexity

Summary of MaxHistory$TestComparator
FeatureNumberValues
NameMaxHistory$TestComparator-
Number of Methods2-
LCOM0.00-
Average Cyclomatic Complexity2.50-
Number of Statements10-
Halstead Cumulative Bugs0.13-
Halstead Effort4105.53-
UnWeighted Class Size2-
Instance Variables0 -
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 class2-
CBO1-
Maintainability Index168.63-
Cumulative Number of Comment Lines3-
Lines Of Code17-
Fan In0-
DIT1-
Maintainability Index (NC)118.63-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.00-
Local Method Calls1getFailure (2)
LCOM22.00-
Max Complexity3-
Halstead Cumulative Volume376.41-
Hierarchy Method Calls3isNewTest (2)
getTestDuration (2)
getFailureTimestamp (1)
Number of Queries2-
Fan Out1-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0o2().compareTo (1)
o1().compareTo (1)
Superclasses0 -
Total Complexity5-
Subclasses0 -
Message Passing Coupling0-
Number of Commands0-
Interfaces1java.util.Comparator
Cumulative Number of Comments4-
Halstead Cumulative Length88-
Modifiers1private
Summary of methods in org.junit.experimental.max.MaxHistory$TestComparator
Methods in Class : org.junit.experimental.max.MaxHistory$TestComparator
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
compare33556243466.230.09123932113.5010000256.76278290120
getFailure2042516600.000.0320161116.0010000100.0012313030


Analysis of Method : compare(Description, Description) in Class : org.junit.experimental.max.MaxHistory$TestComparator
FeatureNumberValues
Namecompare-
Cyclomatic Complexity3-
Number of Comment Lines3-
Number of Statements5-
Halstead Length56-
Halstead Vocabulary24-
Halstead Effort3466.23-
Halstead Bugs0.09-
Classes Referenced1org.junit.runner.Description (2)
External Methods Called2o2().compareTo (1)
o1().compareTo (1)
Local Methods Called3getTestDuration (2)
isNewTest (2)
getFailure (2)
Lines Of Code9-
Number of Comments3-
Arguments2o1 (org.junit.runner.Description)
o2 (org.junit.runner.Description)
Modifiers1public
Halstead Difficulty13.50-
Variable Declarations1result (int)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume256.76-
Number of Operands27-
Variable References8result (2)
o2 (3)
o1 (3)
Number of Operators29-
Max. depth of nesting0-
Number of Expressions12-
Number of Loops0-

Top of this page

Analysis of Method : getFailure(Description) in Class : org.junit.experimental.max.MaxHistory$TestComparator
FeatureNumberValues
NamegetFailure-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements4-
Halstead Length25-
Halstead Vocabulary16-
Halstead Effort600.00-
Halstead Bugs0.03-
Classes Referenced2org.junit.runner.Description (1)
java.lang.Long (2)
External Methods Called0
Local Methods Called1getFailureTimestamp (1)
Lines Of Code6-
Number of Comments1-
Arguments1key (org.junit.runner.Description)
Modifiers1private
Halstead Difficulty6.00-
Variable Declarations1result (java.lang.Long)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume100.00-
Number of Operands12-
Variable References3result (2)
key (1)
Number of Operators13-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

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