Analysis of Class : junit.extensions.RepeatedTest (Includes summary list of methods in class) Home

Dashboard for Class : junit.extensions.RepeatedTest
Cyclomatic Complexity

Summary of RepeatedTest
FeatureNumberValues
NameRepeatedTest-
Number of Methods4-
LCOM0.33-
Average Cyclomatic Complexity1.75-
Number of Statements17-
Halstead Cumulative Bugs0.14-
Halstead Effort2694.00-
UnWeighted Class Size5-
Instance Variables1fTimesRepeat (int)
Imported Packages2junit.framework.Test
junit.framework.TestResult
Response For class4-
CBO3-
Maintainability Index176.14-
Cumulative Number of Comment Lines4-
Lines Of Code25-
Fan In0-
DIT2-
Maintainability Index (NC)126.14-
Specialization ratio0.00-
Reuse Ratio0.67-
COH0.75-
Local Method Calls0
LCOM20.00-
Max Complexity3-
Halstead Cumulative Volume412.73-
Hierarchy Method Calls3super.countTestCases (1)
super.toString (1)
super.run (1)
Number of Queries2-
Fan Out3-
SuperClass Namejunit.extensions.TestDecorator-
SIX0.08-
External Method Calls0java.lang.IllegalArgumentException.IllegalArgumentException (1)
junit.framework.TestResult.shouldStop (1)
Superclasses2junit.extensions.TestDecorator
junit.framework.Assert
Total Complexity7-
Subclasses0 -
Message Passing Coupling0-
Number of Commands2-
Interfaces0 -
Cumulative Number of Comments1-
Halstead Cumulative Length101-
Modifiers0 -
Summary of methods in junit.extensions.RepeatedTest
Methods in Class : junit.extensions.RepeatedTest
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
RepeatedTest2042719670.960.0421060225.8500000114.6913414040
countTestCases1021513266.430.0200130024.800000055.51619020
run30737231460.700.0611170128.7310001167.3716521141
toString1021513266.430.0210130024.800000055.51609020


Analysis of Method : RepeatedTest(Test, int) in Class : junit.extensions.RepeatedTest
FeatureNumberValues
NameRepeatedTest-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements4-
Halstead Length27-
Halstead Vocabulary19-
Halstead Effort670.96-
Halstead Bugs0.04-
Classes Referenced2java.lang.IllegalArgumentException (1)
junit.framework.Test (1)
External Methods Called1java.lang.IllegalArgumentException.IllegalArgumentException (1)
Local Methods Called0
Lines Of Code6-
Number of Comments0-
Arguments2test (junit.framework.Test)
repeat (int)
Modifiers2private
public
Halstead Difficulty5.85-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume114.69-
Number of Operands13-
Variable References4fTimesRepeat (1)
repeat (2)
test (1)
Number of Operators14-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : countTestCases() in Class : junit.extensions.RepeatedTest
FeatureNumberValues
NamecountTestCases-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length15-
Halstead Vocabulary13-
Halstead Effort266.43-
Halstead Bugs0.02-
Classes Referenced0
External Methods Called0
Local Methods Called1super.countTestCases (1)
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty4.80-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume55.51-
Number of Operands6-
Variable References1fTimesRepeat (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : run(TestResult) in Class : junit.extensions.RepeatedTest
FeatureNumberValues
Namerun-
Cyclomatic Complexity3-
Number of Comment Lines0-
Number of Statements7-
Halstead Length37-
Halstead Vocabulary23-
Halstead Effort1460.70-
Halstead Bugs0.06-
Classes Referenced1junit.framework.TestResult (1)
External Methods Called1junit.framework.TestResult.shouldStop (1)
Local Methods Called1super.run (1)
Lines Of Code7-
Number of Comments0-
Arguments1result (junit.framework.TestResult)
Modifiers2@Override
public
Halstead Difficulty8.73-
Variable Declarations1i (int)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting1-
Halstead Volume167.37-
Number of Operands16-
Variable References5result (2)
fTimesRepeat (1)
i (2)
Number of Operators21-
Max. depth of nesting1-
Number of Expressions4-
Number of Loops1-

Top of this page

Analysis of Method : toString() in Class : junit.extensions.RepeatedTest
FeatureNumberValues
NametoString-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length15-
Halstead Vocabulary13-
Halstead Effort266.43-
Halstead Bugs0.02-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called1super.toString (1)
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty4.80-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume55.51-
Number of Operands6-
Variable References0
Number of Operators9-
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