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

Dashboard for Class : junit.extensions.TestSetup
Cyclomatic Complexity

Summary of TestSetup
FeatureNumberValues
NameTestSetup-
Number of Methods4-
LCOM0.00-
Average Cyclomatic Complexity1.00-
Number of Statements8-
Halstead Cumulative Bugs0.09-
Halstead Effort1468.32-
UnWeighted Class Size4-
Instance Variables0 -
Imported Packages3junit.framework.Protectable
junit.framework.Test
junit.framework.TestResult
Response For class4-
CBO4-
Maintainability Index160.19-
Cumulative Number of Comment Lines12-
Lines Of Code13-
Fan In0-
DIT2-
Maintainability Index (NC)139.57-
Specialization ratio0.00-
Reuse Ratio0.67-
COH0.00-
Local Method Calls0
LCOM24.00-
Max Complexity1-
Halstead Cumulative Volume269.87-
Hierarchy Method Calls0
Number of Queries0-
Fan Out4-
SuperClass Namejunit.extensions.TestDecorator-
SIX0.00-
External Method Calls0junit.framework.Protectable.Protectable (1)
junit.framework.TestResult.runProtected (1)
Superclasses2junit.extensions.TestDecorator
junit.framework.Assert
Total Complexity4-
Subclasses0 -
Message Passing Coupling0-
Number of Commands4-
Interfaces0 -
Cumulative Number of Comments3-
Halstead Cumulative Length70-
Modifiers0 -
Summary of methods in junit.extensions.TestSetup
Methods in Class : junit.extensions.TestSetup
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
TestSetup10210875.000.0110030112.500000030.00515010
run10342241306.710.06220100126.7910000192.5719223030
setUp1317739.300.0110021012.000100019.65304000
tearDown1417739.300.0110021012.000100019.65304000


Analysis of Method : TestSetup(Test) in Class : junit.extensions.TestSetup
FeatureNumberValues
NameTestSetup-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary8-
Halstead Effort75.00-
Halstead Bugs0.01-
Classes Referenced1junit.framework.Test (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1test (junit.framework.Test)
Modifiers1public
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume30.00-
Number of Operands5-
Variable References1test (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : run(TestResult) in Class : junit.extensions.TestSetup
FeatureNumberValues
Namerun-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements3-
Halstead Length42-
Halstead Vocabulary24-
Halstead Effort1306.71-
Halstead Bugs0.06-
Classes Referenced2junit.framework.Protectable (2)
junit.framework.TestResult (1)
External Methods Called2junit.framework.Protectable.Protectable (1)
junit.framework.TestResult.runProtected (1)
Local Methods Called0
Lines Of Code10-
Number of Comments0-
Arguments1result (junit.framework.TestResult)
Modifiers2@Override
public
Halstead Difficulty6.79-
Variable Declarations1p (junit.framework.Protectable)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume192.57-
Number of Operands19-
Variable References2result (1)
p (1)
Number of Operators23-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : setUp() in Class : junit.extensions.TestSetup
FeatureNumberValues
NamesetUp-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements1-
Halstead Length7-
Halstead Vocabulary7-
Halstead Effort39.30-
Halstead Bugs0.01-
Classes Referenced1java.lang.Exception (1)
External Methods Called0
Local Methods Called0
Lines Of Code2-
Number of Comments1-
Arguments0 -
Modifiers1protected
Halstead Difficulty2.00-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume19.65-
Number of Operands3-
Variable References0
Number of Operators4-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : tearDown() in Class : junit.extensions.TestSetup
FeatureNumberValues
NametearDown-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements1-
Halstead Length7-
Halstead Vocabulary7-
Halstead Effort39.30-
Halstead Bugs0.01-
Classes Referenced1java.lang.Exception (1)
External Methods Called0
Local Methods Called0
Lines Of Code2-
Number of Comments1-
Arguments0 -
Modifiers1protected
Halstead Difficulty2.00-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume19.65-
Number of Operands3-
Variable References0
Number of Operators4-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

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