![]() | 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 | ||
---|---|---|
Feature | Number | Values |
Name | TestSetup | - |
Number of Methods | 4 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 8 | - |
Halstead Cumulative Bugs | 0.09 | - |
Halstead Effort | 1468.32 | - |
UnWeighted Class Size | 4 | - |
Instance Variables | 0 | - |
Imported Packages | 3 | junit.framework.Protectable junit.framework.Test junit.framework.TestResult |
Response For class | 4 | - |
CBO | 4 | - |
Maintainability Index | 160.19 | - |
Cumulative Number of Comment Lines | 12 | - |
Lines Of Code | 13 | - |
Fan In | 0 | - |
DIT | 2 | - |
Maintainability Index (NC) | 139.57 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.67 | - |
COH | 0.00 | - |
Local Method Calls | 0 | |
LCOM2 | 4.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 269.87 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 0 | - |
Fan Out | 4 | - |
SuperClass Name | junit.extensions.TestDecorator | - |
SIX | 0.00 | - |
External Method Calls | 0 | junit.framework.Protectable.Protectable (1) junit.framework.TestResult.runProtected (1) |
Superclasses | 2 | junit.extensions.TestDecorator junit.framework.Assert |
Total Complexity | 4 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 4 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 3 | - |
Halstead Cumulative Length | 70 | - |
Modifiers | 0 | - |
Methods in Class : junit.extensions.TestSetup | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | TestSetup | 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 | 3 | 42 | 24 | 1306.71 | 0.06 | 2 | 2 | 0 | 10 | 0 | 1 | 2 | 6.79 | 1 | 0 | 0 | 0 | 0 | 192.57 | 19 | 2 | 23 | 0 | 3 | 0 |
![]() | setUp | 1 | 3 | 1 | 7 | 7 | 39.30 | 0.01 | 1 | 0 | 0 | 2 | 1 | 0 | 1 | 2.00 | 0 | 1 | 0 | 0 | 0 | 19.65 | 3 | 0 | 4 | 0 | 0 | 0 |
![]() | tearDown | 1 | 4 | 1 | 7 | 7 | 39.30 | 0.01 | 1 | 0 | 0 | 2 | 1 | 0 | 1 | 2.00 | 0 | 1 | 0 | 0 | 0 | 19.65 | 3 | 0 | 4 | 0 | 0 | 0 |
Analysis of Method : TestSetup(Test) in Class : junit.extensions.TestSetup | ||
---|---|---|
Feature | Number | Values |
Name | TestSetup | - |
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 | 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 | 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 | test (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.TestSetup | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 42 | - |
Halstead Vocabulary | 24 | - |
Halstead Effort | 1306.71 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 2 | junit.framework.Protectable (2) junit.framework.TestResult (1) |
External Methods Called | 2 | junit.framework.Protectable.Protectable (1) junit.framework.TestResult.runProtected (1) |
Local Methods Called | 0 | |
Lines Of Code | 10 | - |
Number of Comments | 0 | - |
Arguments | 1 | result (junit.framework.TestResult) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 6.79 | - |
Variable Declarations | 1 | p (junit.framework.Protectable) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 192.57 | - |
Number of Operands | 19 | - |
Variable References | 2 | result (1) p (1) |
Number of Operators | 23 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : setUp() in Class : junit.extensions.TestSetup | ||
---|---|---|
Feature | Number | Values |
Name | setUp | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 1 | - |
Halstead Length | 7 | - |
Halstead Vocabulary | 7 | - |
Halstead Effort | 39.30 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.Exception (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 2 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 2.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 19.65 | - |
Number of Operands | 3 | - |
Variable References | 0 | |
Number of Operators | 4 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : tearDown() in Class : junit.extensions.TestSetup | ||
---|---|---|
Feature | Number | Values |
Name | tearDown | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 1 | - |
Halstead Length | 7 | - |
Halstead Vocabulary | 7 | - |
Halstead Effort | 39.30 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.Exception (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 2 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 2.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 19.65 | - |
Number of Operands | 3 | - |
Variable References | 0 | |
Number of Operators | 4 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |