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
FeatureNumberValues
NameResult-
Number of Methods7-
LCOM0.07-
Average Cyclomatic Complexity1.00-
Number of Statements20-
Halstead Cumulative Bugs0.14-
Halstead Effort1719.32-
UnWeighted Class Size12-
Instance Variables5fCount (java.util.concurrent.atomic.AtomicInteger)
fFailures (java.util.List)
fRunTime (long)
fIgnoreCount (java.util.concurrent.atomic.AtomicInteger)
fStartTime (long)
Imported Packages6java.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 class10-
CBO10-
Maintainability Index161.56-
Cumulative Number of Comment Lines26-
Lines Of Code28-
Fan In9-
DIT1-
Maintainability Index (NC)140.95-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.14-
Local Method Calls1getFailureCount (1)
LCOM228.00-
Max Complexity1-
Halstead Cumulative Volume422.75-
Hierarchy Method Calls0
Number of Queries7-
Fan Out2-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls3java.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)
Superclasses0 -
Total Complexity7-
Subclasses0 -
Message Passing Coupling3-
Number of Commands0-
Interfaces0 -
Cumulative Number of Comments8-
Halstead Cumulative Length114-
Modifiers0 -
Summary of methods in org.junit.runner.Result
Methods in Class : org.junit.runner.Result
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
createListener13210995.100.0121031013.000000031.70307010
getFailureCount1321110109.620.0101031013.000000036.54417010
getFailures1321111133.190.0120031013.500000038.05417000
getIgnoreCount1321110109.620.0101031013.000000036.54417010
getRunCount1321110109.620.0101031073.000000036.54417010
getRunTime1328860.000.0100031012.500000024.00315000
wasSuccessful1321110109.620.0100131013.000000036.54407020


Analysis of Method : createListener() in Class : org.junit.runner.Result
FeatureNumberValues
NamecreateListener-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary9-
Halstead Effort95.10-
Halstead Bugs0.01-
Classes Referenced2org.junit.runner.notification.RunListener (1)
org.junit.runner.Listener (1)
External Methods Called1org.junit.runner.Listener.Listener (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume31.70-
Number of Operands3-
Variable References0
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getFailureCount() in Class : org.junit.runner.Result
FeatureNumberValues
NamegetFailureCount-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary10-
Halstead Effort109.62-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called1java.util.List.size (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume36.54-
Number of Operands4-
Variable References1fFailures (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getFailures() in Class : org.junit.runner.Result
FeatureNumberValues
NamegetFailures-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary11-
Halstead Effort133.19-
Halstead Bugs0.01-
Classes Referenced2java.util.List (1)
org.junit.runner.notification.Failure (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty3.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume38.05-
Number of Operands4-
Variable References1fFailures (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : getIgnoreCount() in Class : org.junit.runner.Result
FeatureNumberValues
NamegetIgnoreCount-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary10-
Halstead Effort109.62-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called1java.util.concurrent.atomic.AtomicInteger.get (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume36.54-
Number of Operands4-
Variable References1fIgnoreCount (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getRunCount() in Class : org.junit.runner.Result
FeatureNumberValues
NamegetRunCount-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary10-
Halstead Effort109.62-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called1java.util.concurrent.atomic.AtomicInteger.get (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers7private
private
private
final
private
private
public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume36.54-
Number of Operands4-
Variable References1fCount (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getRunTime() in Class : org.junit.runner.Result
FeatureNumberValues
NamegetRunTime-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length8-
Halstead Vocabulary8-
Halstead Effort60.00-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume24.00-
Number of Operands3-
Variable References1fRunTime (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : wasSuccessful() in Class : org.junit.runner.Result
FeatureNumberValues
NamewasSuccessful-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary10-
Halstead Effort109.62-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called0
Local Methods Called1getFailureCount (1)
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume36.54-
Number of Operands4-
Variable References0
Number of Operators7-
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