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

Dashboard for Class : junit.extensions.ActiveTestSuite
Cyclomatic Complexity

Summary of ActiveTestSuite
FeatureNumberValues
NameActiveTestSuite-
Number of Methods8-
LCOM0.71-
Average Cyclomatic Complexity1.25-
Number of Statements24-
Halstead Cumulative Bugs0.21-
Halstead Effort3588.20-
UnWeighted Class Size9-
Instance Variables1fActiveTestDeathCount (int)
Imported Packages4junit.framework.Test
junit.framework.TestCase
junit.framework.TestResult
junit.framework.TestSuite
Response For class8-
CBO5-
Maintainability Index132.27-
Cumulative Number of Comment Lines6-
Lines Of Code37-
Fan In1-
DIT1-
Maintainability Index (NC)132.27-
Specialization ratio0.00-
Reuse Ratio0.50-
COH0.38-
Local Method Calls1waitUntilFinished (1)
LCOM214.00-
Max Complexity3-
Halstead Cumulative Volume639.54-
Hierarchy Method Calls4notifyAll (1)
testCount (1)
wait (1)
super.run (1)
Number of Queries0-
Fan Out4-
SuperClass Namejunit.framework.TestSuite-
SIX0.00-
External Method Calls0junit.extensions.Thread.start (1)
java.lang.Thread.Thread (1)
Superclasses1junit.framework.TestSuite
Total Complexity10-
Subclasses0 -
Message Passing Coupling0-
Number of Commands8-
Interfaces0 -
Cumulative Number of Comments4-
Halstead Cumulative Length162-
Modifiers0 -
Summary of methods in junit.extensions.ActiveTestSuite
Methods in Class : junit.extensions.ActiveTestSuite
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
ActiveTestSuite1014412.000.0000020031.50000008.00103000
ActiveTestSuite1021513266.430.0230030114.800000055.51619010
ActiveTestSuite1021815361.670.0240030215.140000070.32929000
ActiveTestSuite10210875.000.0110030112.500000030.00515010
run1042216376.440.0310250124.280000088.0011211030
runFinished1031210119.590.0100140023.000000039.86418020
runTest12350251915.590.08320132228.2510000232.1921129030
waitUntilFinished3052416432.000.0310291014.500010396.007117231


Analysis of Method : ActiveTestSuite() in Class : junit.extensions.ActiveTestSuite
FeatureNumberValues
NameActiveTestSuite-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements1-
Halstead Length4-
Halstead Vocabulary4-
Halstead Effort12.00-
Halstead Bugs0.00-
Classes Referenced0
External Methods Called0
Local Methods Called0
Lines Of Code2-
Number of Comments0-
Arguments0 -
Modifiers3private
volatile
public
Halstead Difficulty1.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume8.00-
Number of Operands1-
Variable References0
Number of Operators3-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : ActiveTestSuite(Class) in Class : junit.extensions.ActiveTestSuite
FeatureNumberValues
NameActiveTestSuite-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length15-
Halstead Vocabulary13-
Halstead Effort266.43-
Halstead Bugs0.02-
Classes Referenced3?extendsTestCase (1)
java.lang.Class (1)
junit.framework.TestCase (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1theClass (java.lang.Class)
Modifiers1public
Halstead Difficulty4.80-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume55.51-
Number of Operands6-
Variable References1theClass (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : ActiveTestSuite(Class, String) in Class : junit.extensions.ActiveTestSuite
FeatureNumberValues
NameActiveTestSuite-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length18-
Halstead Vocabulary15-
Halstead Effort361.67-
Halstead Bugs0.02-
Classes Referenced4java.lang.String (1)
?extendsTestCase (1)
java.lang.Class (1)
junit.framework.TestCase (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments2theClass (java.lang.Class)
name (java.lang.String)
Modifiers1public
Halstead Difficulty5.14-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume70.32-
Number of Operands9-
Variable References2name (1)
theClass (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : ActiveTestSuite(String) in Class : junit.extensions.ActiveTestSuite
FeatureNumberValues
NameActiveTestSuite-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary8-
Halstead Effort75.00-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1name (java.lang.String)
Modifiers1public
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume30.00-
Number of Operands5-
Variable References1name (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.ActiveTestSuite
FeatureNumberValues
Namerun-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements4-
Halstead Length22-
Halstead Vocabulary16-
Halstead Effort376.44-
Halstead Bugs0.03-
Classes Referenced1junit.framework.TestResult (1)
External Methods Called0
Local Methods Called2waitUntilFinished (1)
super.run (1)
Lines Of Code5-
Number of Comments0-
Arguments1result (junit.framework.TestResult)
Modifiers2@Override
public
Halstead Difficulty4.28-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume88.00-
Number of Operands11-
Variable References2result (1)
fActiveTestDeathCount (1)
Number of Operators11-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : runFinished() in Class : junit.extensions.ActiveTestSuite
FeatureNumberValues
NamerunFinished-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements3-
Halstead Length12-
Halstead Vocabulary10-
Halstead Effort119.59-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called0
Local Methods Called1notifyAll (1)
Lines Of Code4-
Number of Comments0-
Arguments0 -
Modifiers2synchronized
public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume39.86-
Number of Operands4-
Variable References1fActiveTestDeathCount (1)
Number of Operators8-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : runTest(Test, TestResult) in Class : junit.extensions.ActiveTestSuite
FeatureNumberValues
NamerunTest-
Cyclomatic Complexity1-
Number of Comment Lines2-
Number of Statements3-
Halstead Length50-
Halstead Vocabulary25-
Halstead Effort1915.59-
Halstead Bugs0.08-
Classes Referenced3java.lang.Thread (2)
junit.framework.Test (1)
junit.framework.TestResult (1)
External Methods Called2junit.extensions.Thread.start (1)
java.lang.Thread.Thread (1)
Local Methods Called0
Lines Of Code13-
Number of Comments2-
Arguments2test (junit.framework.Test)
result (junit.framework.TestResult)
Modifiers2@Override
public
Halstead Difficulty8.25-
Variable Declarations1t (java.lang.Thread)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume232.19-
Number of Operands21-
Variable References1t (1)
Number of Operators29-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : waitUntilFinished() in Class : junit.extensions.ActiveTestSuite
FeatureNumberValues
NamewaitUntilFinished-
Cyclomatic Complexity3-
Number of Comment Lines0-
Number of Statements5-
Halstead Length24-
Halstead Vocabulary16-
Halstead Effort432.00-
Halstead Bugs0.03-
Classes Referenced1java.lang.InterruptedException (1)
External Methods Called0
Local Methods Called2testCount (1)
wait (1)
Lines Of Code9-
Number of Comments1-
Arguments0 -
Modifiers1synchronized
Halstead Difficulty4.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced1java.lang.InterruptedException (1)
Number of casts0-
Total Depth of Nesting3-
Halstead Volume96.00-
Number of Operands7-
Variable References1fActiveTestDeathCount (1)
Number of Operators17-
Max. depth of nesting2-
Number of Expressions3-
Number of Loops1-

Top of this page

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