![]() | 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 | ||
---|---|---|
Feature | Number | Values |
Name | RepeatedTest | - |
Number of Methods | 4 | - |
LCOM | 0.33 | - |
Average Cyclomatic Complexity | 1.75 | - |
Number of Statements | 17 | - |
Halstead Cumulative Bugs | 0.14 | - |
Halstead Effort | 2694.00 | - |
UnWeighted Class Size | 5 | - |
Instance Variables | 1 | fTimesRepeat (int) |
Imported Packages | 2 | junit.framework.Test junit.framework.TestResult |
Response For class | 4 | - |
CBO | 3 | - |
Maintainability Index | 176.14 | - |
Cumulative Number of Comment Lines | 4 | - |
Lines Of Code | 25 | - |
Fan In | 0 | - |
DIT | 2 | - |
Maintainability Index (NC) | 126.14 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.67 | - |
COH | 0.75 | - |
Local Method Calls | 0 | |
LCOM2 | 0.00 | - |
Max Complexity | 3 | - |
Halstead Cumulative Volume | 412.73 | - |
Hierarchy Method Calls | 3 | super.countTestCases (1) super.toString (1) super.run (1) |
Number of Queries | 2 | - |
Fan Out | 3 | - |
SuperClass Name | junit.extensions.TestDecorator | - |
SIX | 0.08 | - |
External Method Calls | 0 | java.lang.IllegalArgumentException.IllegalArgumentException (1) junit.framework.TestResult.shouldStop (1) |
Superclasses | 2 | junit.extensions.TestDecorator junit.framework.Assert |
Total Complexity | 7 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 2 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 1 | - |
Halstead Cumulative Length | 101 | - |
Modifiers | 0 | - |
Methods in Class : junit.extensions.RepeatedTest | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | RepeatedTest | 2 | 0 | 4 | 27 | 19 | 670.96 | 0.04 | 2 | 1 | 0 | 6 | 0 | 2 | 2 | 5.85 | 0 | 0 | 0 | 0 | 0 | 114.69 | 13 | 4 | 14 | 0 | 4 | 0 |
![]() | countTestCases | 1 | 0 | 2 | 15 | 13 | 266.43 | 0.02 | 0 | 0 | 1 | 3 | 0 | 0 | 2 | 4.80 | 0 | 0 | 0 | 0 | 0 | 55.51 | 6 | 1 | 9 | 0 | 2 | 0 |
![]() | run | 3 | 0 | 7 | 37 | 23 | 1460.70 | 0.06 | 1 | 1 | 1 | 7 | 0 | 1 | 2 | 8.73 | 1 | 0 | 0 | 0 | 1 | 167.37 | 16 | 5 | 21 | 1 | 4 | 1 |
![]() | toString | 1 | 0 | 2 | 15 | 13 | 266.43 | 0.02 | 1 | 0 | 1 | 3 | 0 | 0 | 2 | 4.80 | 0 | 0 | 0 | 0 | 0 | 55.51 | 6 | 0 | 9 | 0 | 2 | 0 |
Analysis of Method : RepeatedTest(Test, int) in Class : junit.extensions.RepeatedTest | ||
---|---|---|
Feature | Number | Values |
Name | RepeatedTest | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 27 | - |
Halstead Vocabulary | 19 | - |
Halstead Effort | 670.96 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 2 | java.lang.IllegalArgumentException (1) junit.framework.Test (1) |
External Methods Called | 1 | java.lang.IllegalArgumentException.IllegalArgumentException (1) |
Local Methods Called | 0 | |
Lines Of Code | 6 | - |
Number of Comments | 0 | - |
Arguments | 2 | test (junit.framework.Test) repeat (int) |
Modifiers | 2 | private public |
Halstead Difficulty | 5.85 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 114.69 | - |
Number of Operands | 13 | - |
Variable References | 4 | fTimesRepeat (1) repeat (2) test (1) |
Number of Operators | 14 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : countTestCases() in Class : junit.extensions.RepeatedTest | ||
---|---|---|
Feature | Number | Values |
Name | countTestCases | - |
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 | 0 | |
External Methods Called | 0 | |
Local Methods Called | 1 | super.countTestCases (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override 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 | fTimesRepeat (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : run(TestResult) in Class : junit.extensions.RepeatedTest | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 7 | - |
Halstead Length | 37 | - |
Halstead Vocabulary | 23 | - |
Halstead Effort | 1460.70 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 1 | junit.framework.TestResult (1) |
External Methods Called | 1 | junit.framework.TestResult.shouldStop (1) |
Local Methods Called | 1 | super.run (1) |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 1 | result (junit.framework.TestResult) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 8.73 | - |
Variable Declarations | 1 | i (int) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 167.37 | - |
Number of Operands | 16 | - |
Variable References | 5 | result (2) fTimesRepeat (1) i (2) |
Number of Operators | 21 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 4 | - |
Number of Loops | 1 | - |
Analysis of Method : toString() in Class : junit.extensions.RepeatedTest | ||
---|---|---|
Feature | Number | Values |
Name | toString | - |
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 | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | super.toString (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override 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 | 0 | |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |