![]() | Analysis of Class : junit.extensions.TestSetup$Protectable (Includes summary list of methods in class) | Home |
Dashboard for Class : junit.extensions.TestSetup$Protectable |
---|
![]() |
Cyclomatic Complexity |
Summary of TestSetup$Protectable | ||
---|---|---|
Feature | Number | Values |
Name | TestSetup$Protectable | - |
Number of Methods | 1 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 5 | - |
Halstead Cumulative Bugs | 0.02 | - |
Halstead Effort | 152.36 | - |
UnWeighted Class Size | 1 | - |
Instance Variables | 0 | - |
Imported Packages | 3 | junit.framework.Protectable junit.framework.Test junit.framework.TestResult |
Response For class | 1 | - |
CBO | 0 | - |
Maintainability Index | 127.74 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 7 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 127.74 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.00 | - |
Local Method Calls | 0 | |
LCOM2 | 1.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 60.94 | - |
Hierarchy Method Calls | 3 | basicRun (1) setUp (1) tearDown (1) |
Number of Queries | 0 | - |
Fan Out | 0 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | - |
Superclasses | 0 | - |
Total Complexity | 1 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 1 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 17 | - |
Modifiers | 1 | public |
Methods in Class : junit.extensions.TestSetup$Protectable | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | protect | 1 | 0 | 4 | 17 | 12 | 152.36 | 0.02 | 1 | 0 | 3 | 5 | 0 | 0 | 1 | 2.50 | 0 | 1 | 0 | 0 | 0 | 60.94 | 7 | 1 | 10 | 0 | 3 | 0 |
Analysis of Method : protect() in Class : junit.extensions.TestSetup$Protectable | ||
---|---|---|
Feature | Number | Values |
Name | protect | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 17 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 152.36 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | java.lang.Exception (1) |
External Methods Called | 0 | |
Local Methods Called | 3 | basicRun (1) tearDown (1) setUp (1) |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 2.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 60.94 | - |
Number of Operands | 7 | - |
Variable References | 1 | result (1) |
Number of Operators | 10 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |