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

Dashboard for Class : junit.extensions.TestDecorator
Cyclomatic Complexity

Summary of TestDecorator
FeatureNumberValues
NameTestDecorator-
Number of Methods6-
LCOM0.20-
Average Cyclomatic Complexity1.00-
Number of Statements14-
Halstead Cumulative Bugs0.08-
Halstead Effort777.65-
UnWeighted Class Size7-
Instance Variables1fTest (junit.framework.Test)
Imported Packages3junit.framework.Assert
junit.framework.Test
junit.framework.TestResult
Response For class6-
CBO6-
Maintainability Index193.13-
Cumulative Number of Comment Lines9-
Lines Of Code22-
Fan In3-
DIT1-
Maintainability Index (NC)143.13-
Specialization ratio2.00-
Reuse Ratio0.25-
COH0.83-
Local Method Calls1basicRun (1)
LCOM20.00-
Max Complexity1-
Halstead Cumulative Volume242.38-
Hierarchy Method Calls0
Number of Queries3-
Fan Out3-
SuperClass Namejunit.framework.Assert-
SIX0.00-
External Method Calls0junit.framework.Test.countTestCases (1)
junit.framework.Test.toString (1)
junit.framework.Test.run (1)
Superclasses1junit.framework.Assert
Total Complexity6-
Subclasses2junit.extensions.RepeatedTest
junit.extensions.TestSetup
Message Passing Coupling0-
Number of Commands3-
Interfaces1junit.framework.Test
Cumulative Number of Comments2-
Halstead Cumulative Length75-
Modifiers0 -
Summary of methods in junit.extensions.TestDecorator
Methods in Class : junit.extensions.TestDecorator
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
TestDecorator10210999.060.0110030123.120000031.70525010
basicRun1321311131.170.0111031112.920000044.97726010
countTestCases102119139.480.0101030014.000000034.87417010
getTest1028860.000.0110030012.500000024.00315000
run10211983.690.0110130112.400000034.87615010
toString1021311196.760.0111030024.380000044.97518010


Analysis of Method : TestDecorator(Test) in Class : junit.extensions.TestDecorator
FeatureNumberValues
NameTestDecorator-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary9-
Halstead Effort99.06-
Halstead Bugs0.01-
Classes Referenced1junit.framework.Test (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1test (junit.framework.Test)
Modifiers2protected
public
Halstead Difficulty3.12-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume31.70-
Number of Operands5-
Variable References2fTest (1)
test (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : basicRun(TestResult) in Class : junit.extensions.TestDecorator
FeatureNumberValues
NamebasicRun-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary11-
Halstead Effort131.17-
Halstead Bugs0.01-
Classes Referenced1junit.framework.TestResult (1)
External Methods Called1junit.framework.Test.run (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1result (junit.framework.TestResult)
Modifiers1public
Halstead Difficulty2.92-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume44.97-
Number of Operands7-
Variable References2result (1)
fTest (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : countTestCases() in Class : junit.extensions.TestDecorator
FeatureNumberValues
NamecountTestCases-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary9-
Halstead Effort139.48-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called1junit.framework.Test.countTestCases (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers1public
Halstead Difficulty4.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume34.87-
Number of Operands4-
Variable References1fTest (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getTest() in Class : junit.extensions.TestDecorator
FeatureNumberValues
NamegetTest-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length8-
Halstead Vocabulary8-
Halstead Effort60.00-
Halstead Bugs0.01-
Classes Referenced1junit.framework.Test (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
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 References1fTest (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : run(TestResult) in Class : junit.extensions.TestDecorator
FeatureNumberValues
Namerun-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary9-
Halstead Effort83.69-
Halstead Bugs0.01-
Classes Referenced1junit.framework.TestResult (1)
External Methods Called0
Local Methods Called1basicRun (1)
Lines Of Code3-
Number of Comments0-
Arguments1result (junit.framework.TestResult)
Modifiers1public
Halstead Difficulty2.40-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume34.87-
Number of Operands6-
Variable References1result (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : toString() in Class : junit.extensions.TestDecorator
FeatureNumberValues
NametoString-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary11-
Halstead Effort196.76-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called1junit.framework.Test.toString (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty4.38-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume44.97-
Number of Operands5-
Variable References1fTest (1)
Number of Operators8-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

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