![]() | Analysis of Class : org.junit.rules.ExternalResource (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.rules.ExternalResource |
---|
![]() |
Cyclomatic Complexity |
Summary of ExternalResource | ||
---|---|---|
Feature | Number | Values |
Name | ExternalResource | - |
Number of Methods | 3 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 5 | - |
Halstead Cumulative Bugs | 0.08 | - |
Halstead Effort | 1631.48 | - |
UnWeighted Class Size | 3 | - |
Instance Variables | 0 | - |
Imported Packages | 2 | org.junit.runners.model.FrameworkMethod org.junit.runners.model.Statement |
Response For class | 3 | - |
CBO | 4 | - |
Maintainability Index | 120.08 | - |
Cumulative Number of Comment Lines | 39 | - |
Lines Of Code | 9 | - |
Fan In | 1 | - |
DIT | 1 | - |
Maintainability Index (NC) | 149.46 | - |
Specialization ratio | 1.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.00 | - |
Local Method Calls | 0 | |
LCOM2 | 3.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 238.95 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 1 | - |
Fan Out | 3 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.junit.runners.model.Statement.Statement (1) |
Superclasses | 0 | - |
Total Complexity | 3 | - |
Subclasses | 1 | org.junit.rules.TemporaryFolder |
Message Passing Coupling | 0 | - |
Number of Commands | 2 | - |
Interfaces | 1 | org.junit.rules.MethodRule |
Cumulative Number of Comments | 5 | - |
Halstead Cumulative Length | 59 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.rules.ExternalResource | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | after | 1 | 5 | 1 | 5 | 5 | 17.41 | 0.00 | 0 | 0 | 0 | 2 | 2 | 0 | 1 | 1.50 | 0 | 0 | 0 | 0 | 0 | 11.61 | 2 | 0 | 3 | 0 | 0 | 0 |
![]() | apply | 1 | 0 | 2 | 43 | 25 | 1566.77 | 0.07 | 3 | 1 | 0 | 14 | 0 | 3 | 2 | 7.85 | 0 | 0 | 0 | 0 | 0 | 199.69 | 17 | 0 | 26 | 0 | 1 | 0 |
![]() | before | 1 | 5 | 1 | 7 | 7 | 39.30 | 0.01 | 1 | 0 | 0 | 2 | 2 | 0 | 1 | 2.00 | 0 | 1 | 0 | 0 | 0 | 19.65 | 3 | 0 | 4 | 0 | 0 | 0 |
Analysis of Method : after() in Class : org.junit.rules.ExternalResource | ||
---|---|---|
Feature | Number | Values |
Name | after | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 5 | - |
Number of Statements | 1 | - |
Halstead Length | 5 | - |
Halstead Vocabulary | 5 | - |
Halstead Effort | 17.41 | - |
Halstead Bugs | 0.00 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 2 | - |
Number of Comments | 2 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 1.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 11.61 | - |
Number of Operands | 2 | - |
Variable References | 0 | |
Number of Operators | 3 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : apply(Statement, FrameworkMethod, Object) in Class : org.junit.rules.ExternalResource | ||
---|---|---|
Feature | Number | Values |
Name | apply | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 43 | - |
Halstead Vocabulary | 25 | - |
Halstead Effort | 1566.77 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 3 | org.junit.runners.model.Statement (3) org.junit.runners.model.FrameworkMethod (1) java.lang.Object (1) |
External Methods Called | 1 | org.junit.runners.model.Statement.Statement (1) |
Local Methods Called | 0 | |
Lines Of Code | 14 | - |
Number of Comments | 0 | - |
Arguments | 3 | base (org.junit.runners.model.Statement) method (org.junit.runners.model.FrameworkMethod) target (java.lang.Object) |
Modifiers | 2 | public final |
Halstead Difficulty | 7.85 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 199.69 | - |
Number of Operands | 17 | - |
Variable References | 0 | |
Number of Operators | 26 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : before() in Class : org.junit.rules.ExternalResource | ||
---|---|---|
Feature | Number | Values |
Name | before | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 5 | - |
Number of Statements | 1 | - |
Halstead Length | 7 | - |
Halstead Vocabulary | 7 | - |
Halstead Effort | 39.30 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.Throwable (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 2 | - |
Number of Comments | 2 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 2.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Throwable (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 |