![]() | 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 | ||
---|---|---|
Feature | Number | Values |
Name | ActiveTestSuite | - |
Number of Methods | 8 | - |
LCOM | 0.71 | - |
Average Cyclomatic Complexity | 1.25 | - |
Number of Statements | 24 | - |
Halstead Cumulative Bugs | 0.21 | - |
Halstead Effort | 3588.20 | - |
UnWeighted Class Size | 9 | - |
Instance Variables | 1 | fActiveTestDeathCount (int) |
Imported Packages | 4 | junit.framework.Test junit.framework.TestCase junit.framework.TestResult junit.framework.TestSuite |
Response For class | 8 | - |
CBO | 5 | - |
Maintainability Index | 132.27 | - |
Cumulative Number of Comment Lines | 6 | - |
Lines Of Code | 37 | - |
Fan In | 1 | - |
DIT | 1 | - |
Maintainability Index (NC) | 132.27 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.38 | - |
Local Method Calls | 1 | waitUntilFinished (1) |
LCOM2 | 14.00 | - |
Max Complexity | 3 | - |
Halstead Cumulative Volume | 639.54 | - |
Hierarchy Method Calls | 4 | notifyAll (1) testCount (1) wait (1) super.run (1) |
Number of Queries | 0 | - |
Fan Out | 4 | - |
SuperClass Name | junit.framework.TestSuite | - |
SIX | 0.00 | - |
External Method Calls | 0 | junit.extensions.Thread.start (1) java.lang.Thread.Thread (1) |
Superclasses | 1 | junit.framework.TestSuite |
Total Complexity | 10 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 8 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 4 | - |
Halstead Cumulative Length | 162 | - |
Modifiers | 0 | - |
Methods in Class : junit.extensions.ActiveTestSuite | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | COMP | NOCL | NOS | HLTH | HVOC | HEFF | HBUG | CREF | XMET | LMET | NLOC | NOC | NOA | MOD | HDIF | VDEC | EXCT | EXCR | CAST | TDN | HVOL | NAND | VREF | NOPR | MDN | NEXP | LOOP | |
![]() | ActiveTestSuite | 1 | 0 | 1 | 4 | 4 | 12.00 | 0.00 | 0 | 0 | 0 | 2 | 0 | 0 | 3 | 1.50 | 0 | 0 | 0 | 0 | 0 | 8.00 | 1 | 0 | 3 | 0 | 0 | 0 |
![]() | ActiveTestSuite | 1 | 0 | 2 | 15 | 13 | 266.43 | 0.02 | 3 | 0 | 0 | 3 | 0 | 1 | 1 | 4.80 | 0 | 0 | 0 | 0 | 0 | 55.51 | 6 | 1 | 9 | 0 | 1 | 0 |
![]() | ActiveTestSuite | 1 | 0 | 2 | 18 | 15 | 361.67 | 0.02 | 4 | 0 | 0 | 3 | 0 | 2 | 1 | 5.14 | 0 | 0 | 0 | 0 | 0 | 70.32 | 9 | 2 | 9 | 0 | 0 | 0 |
![]() | ActiveTestSuite | 1 | 0 | 2 | 10 | 8 | 75.00 | 0.01 | 1 | 0 | 0 | 3 | 0 | 1 | 1 | 2.50 | 0 | 0 | 0 | 0 | 0 | 30.00 | 5 | 1 | 5 | 0 | 1 | 0 |
![]() | run | 1 | 0 | 4 | 22 | 16 | 376.44 | 0.03 | 1 | 0 | 2 | 5 | 0 | 1 | 2 | 4.28 | 0 | 0 | 0 | 0 | 0 | 88.00 | 11 | 2 | 11 | 0 | 3 | 0 |
![]() | runFinished | 1 | 0 | 3 | 12 | 10 | 119.59 | 0.01 | 0 | 0 | 1 | 4 | 0 | 0 | 2 | 3.00 | 0 | 0 | 0 | 0 | 0 | 39.86 | 4 | 1 | 8 | 0 | 2 | 0 |
![]() | runTest | 1 | 2 | 3 | 50 | 25 | 1915.59 | 0.08 | 3 | 2 | 0 | 13 | 2 | 2 | 2 | 8.25 | 1 | 0 | 0 | 0 | 0 | 232.19 | 21 | 1 | 29 | 0 | 3 | 0 |
![]() | waitUntilFinished | 3 | 0 | 5 | 24 | 16 | 432.00 | 0.03 | 1 | 0 | 2 | 9 | 1 | 0 | 1 | 4.50 | 0 | 0 | 1 | 0 | 3 | 96.00 | 7 | 1 | 17 | 2 | 3 | 1 |
Analysis of Method : ActiveTestSuite() in Class : junit.extensions.ActiveTestSuite | ||
---|---|---|
Feature | Number | Values |
Name | ActiveTestSuite | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 1 | - |
Halstead Length | 4 | - |
Halstead Vocabulary | 4 | - |
Halstead Effort | 12.00 | - |
Halstead Bugs | 0.00 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 2 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 3 | private volatile public |
Halstead Difficulty | 1.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 8.00 | - |
Number of Operands | 1 | - |
Variable References | 0 | |
Number of Operators | 3 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : ActiveTestSuite(Class) in Class : junit.extensions.ActiveTestSuite | ||
---|---|---|
Feature | Number | Values |
Name | ActiveTestSuite | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 266.43 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | ?extendsTestCase (1) java.lang.Class (1) junit.framework.TestCase (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | theClass (java.lang.Class) |
Modifiers | 1 | public |
Halstead Difficulty | 4.80 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 55.51 | - |
Number of Operands | 6 | - |
Variable References | 1 | theClass (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : ActiveTestSuite(Class, String) in Class : junit.extensions.ActiveTestSuite | ||
---|---|---|
Feature | Number | Values |
Name | ActiveTestSuite | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 18 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 361.67 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 4 | java.lang.String (1) ?extendsTestCase (1) java.lang.Class (1) junit.framework.TestCase (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 2 | theClass (java.lang.Class) name (java.lang.String) |
Modifiers | 1 | public |
Halstead Difficulty | 5.14 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 70.32 | - |
Number of Operands | 9 | - |
Variable References | 2 | name (1) theClass (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : ActiveTestSuite(String) in Class : junit.extensions.ActiveTestSuite | ||
---|---|---|
Feature | Number | Values |
Name | ActiveTestSuite | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 75.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | name (java.lang.String) |
Modifiers | 1 | public |
Halstead Difficulty | 2.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 30.00 | - |
Number of Operands | 5 | - |
Variable References | 1 | name (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : run(TestResult) in Class : junit.extensions.ActiveTestSuite | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 22 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 376.44 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 1 | junit.framework.TestResult (1) |
External Methods Called | 0 | |
Local Methods Called | 2 | waitUntilFinished (1) super.run (1) |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 1 | result (junit.framework.TestResult) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 4.28 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 88.00 | - |
Number of Operands | 11 | - |
Variable References | 2 | result (1) fActiveTestDeathCount (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : runFinished() in Class : junit.extensions.ActiveTestSuite | ||
---|---|---|
Feature | Number | Values |
Name | runFinished | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 12 | - |
Halstead Vocabulary | 10 | - |
Halstead Effort | 119.59 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 1 | notifyAll (1) |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | synchronized public |
Halstead Difficulty | 3.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 39.86 | - |
Number of Operands | 4 | - |
Variable References | 1 | fActiveTestDeathCount (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : runTest(Test, TestResult) in Class : junit.extensions.ActiveTestSuite | ||
---|---|---|
Feature | Number | Values |
Name | runTest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 2 | - |
Number of Statements | 3 | - |
Halstead Length | 50 | - |
Halstead Vocabulary | 25 | - |
Halstead Effort | 1915.59 | - |
Halstead Bugs | 0.08 | - |
Classes Referenced | 3 | java.lang.Thread (2) junit.framework.Test (1) junit.framework.TestResult (1) |
External Methods Called | 2 | junit.extensions.Thread.start (1) java.lang.Thread.Thread (1) |
Local Methods Called | 0 | |
Lines Of Code | 13 | - |
Number of Comments | 2 | - |
Arguments | 2 | test (junit.framework.Test) result (junit.framework.TestResult) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 8.25 | - |
Variable Declarations | 1 | t (java.lang.Thread) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 232.19 | - |
Number of Operands | 21 | - |
Variable References | 1 | t (1) |
Number of Operators | 29 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : waitUntilFinished() in Class : junit.extensions.ActiveTestSuite | ||
---|---|---|
Feature | Number | Values |
Name | waitUntilFinished | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 5 | - |
Halstead Length | 24 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 432.00 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 1 | java.lang.InterruptedException (1) |
External Methods Called | 0 | |
Local Methods Called | 2 | testCount (1) wait (1) |
Lines Of Code | 9 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | synchronized |
Halstead Difficulty | 4.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 1 | java.lang.InterruptedException (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 3 | - |
Halstead Volume | 96.00 | - |
Number of Operands | 7 | - |
Variable References | 1 | fActiveTestDeathCount (1) |
Number of Operators | 17 | - |
Max. depth of nesting | 2 | - |
Number of Expressions | 3 | - |
Number of Loops | 1 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |