![]() | 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 | ||
---|---|---|
Feature | Number | Values |
Name | TestDecorator | - |
Number of Methods | 6 | - |
LCOM | 0.20 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 14 | - |
Halstead Cumulative Bugs | 0.08 | - |
Halstead Effort | 777.65 | - |
UnWeighted Class Size | 7 | - |
Instance Variables | 1 | fTest (junit.framework.Test) |
Imported Packages | 3 | junit.framework.Assert junit.framework.Test junit.framework.TestResult |
Response For class | 6 | - |
CBO | 6 | - |
Maintainability Index | 193.13 | - |
Cumulative Number of Comment Lines | 9 | - |
Lines Of Code | 22 | - |
Fan In | 3 | - |
DIT | 1 | - |
Maintainability Index (NC) | 143.13 | - |
Specialization ratio | 2.00 | - |
Reuse Ratio | 0.25 | - |
COH | 0.83 | - |
Local Method Calls | 1 | basicRun (1) |
LCOM2 | 0.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 242.38 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 3 | - |
Fan Out | 3 | - |
SuperClass Name | junit.framework.Assert | - |
SIX | 0.00 | - |
External Method Calls | 0 | junit.framework.Test.countTestCases (1) junit.framework.Test.toString (1) junit.framework.Test.run (1) |
Superclasses | 1 | junit.framework.Assert |
Total Complexity | 6 | - |
Subclasses | 2 | junit.extensions.RepeatedTest junit.extensions.TestSetup |
Message Passing Coupling | 0 | - |
Number of Commands | 3 | - |
Interfaces | 1 | junit.framework.Test |
Cumulative Number of Comments | 2 | - |
Halstead Cumulative Length | 75 | - |
Modifiers | 0 | - |
Methods in Class : junit.extensions.TestDecorator | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | TestDecorator | 1 | 0 | 2 | 10 | 9 | 99.06 | 0.01 | 1 | 0 | 0 | 3 | 0 | 1 | 2 | 3.12 | 0 | 0 | 0 | 0 | 0 | 31.70 | 5 | 2 | 5 | 0 | 1 | 0 |
![]() | basicRun | 1 | 3 | 2 | 13 | 11 | 131.17 | 0.01 | 1 | 1 | 0 | 3 | 1 | 1 | 1 | 2.92 | 0 | 0 | 0 | 0 | 0 | 44.97 | 7 | 2 | 6 | 0 | 1 | 0 |
![]() | countTestCases | 1 | 0 | 2 | 11 | 9 | 139.48 | 0.01 | 0 | 1 | 0 | 3 | 0 | 0 | 1 | 4.00 | 0 | 0 | 0 | 0 | 0 | 34.87 | 4 | 1 | 7 | 0 | 1 | 0 |
![]() | getTest | 1 | 0 | 2 | 8 | 8 | 60.00 | 0.01 | 1 | 0 | 0 | 3 | 0 | 0 | 1 | 2.50 | 0 | 0 | 0 | 0 | 0 | 24.00 | 3 | 1 | 5 | 0 | 0 | 0 |
![]() | run | 1 | 0 | 2 | 11 | 9 | 83.69 | 0.01 | 1 | 0 | 1 | 3 | 0 | 1 | 1 | 2.40 | 0 | 0 | 0 | 0 | 0 | 34.87 | 6 | 1 | 5 | 0 | 1 | 0 |
![]() | toString | 1 | 0 | 2 | 13 | 11 | 196.76 | 0.01 | 1 | 1 | 0 | 3 | 0 | 0 | 2 | 4.38 | 0 | 0 | 0 | 0 | 0 | 44.97 | 5 | 1 | 8 | 0 | 1 | 0 |
Analysis of Method : TestDecorator(Test) in Class : junit.extensions.TestDecorator | ||
---|---|---|
Feature | Number | Values |
Name | TestDecorator | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 99.06 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | junit.framework.Test (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 2 | protected public |
Halstead Difficulty | 3.12 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 31.70 | - |
Number of Operands | 5 | - |
Variable References | 2 | fTest (1) test (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : basicRun(TestResult) in Class : junit.extensions.TestDecorator | ||
---|---|---|
Feature | Number | Values |
Name | basicRun | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 131.17 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | junit.framework.TestResult (1) |
External Methods Called | 1 | junit.framework.Test.run (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | result (junit.framework.TestResult) |
Modifiers | 1 | public |
Halstead Difficulty | 2.92 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 44.97 | - |
Number of Operands | 7 | - |
Variable References | 2 | result (1) fTest (1) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : countTestCases() in Class : junit.extensions.TestDecorator | ||
---|---|---|
Feature | Number | Values |
Name | countTestCases | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 139.48 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 1 | junit.framework.Test.countTestCases (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 34.87 | - |
Number of Operands | 4 | - |
Variable References | 1 | fTest (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getTest() in Class : junit.extensions.TestDecorator | ||
---|---|---|
Feature | Number | Values |
Name | getTest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 8 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 60.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | junit.framework.Test (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
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 | 24.00 | - |
Number of Operands | 3 | - |
Variable References | 1 | fTest (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : run(TestResult) in Class : junit.extensions.TestDecorator | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 83.69 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | junit.framework.TestResult (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | basicRun (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | result (junit.framework.TestResult) |
Modifiers | 1 | public |
Halstead Difficulty | 2.40 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 34.87 | - |
Number of Operands | 6 | - |
Variable References | 1 | result (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : toString() in Class : junit.extensions.TestDecorator | ||
---|---|---|
Feature | Number | Values |
Name | toString | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 196.76 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 1 | junit.framework.Test.toString (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 4.38 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 44.97 | - |
Number of Operands | 5 | - |
Variable References | 1 | fTest (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |