![]() | Analysis of Class : org.junit.internal.runners.statements.FailOnTimeout (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.runners.statements.FailOnTimeout |
---|
![]() |
Cyclomatic Complexity |
Summary of FailOnTimeout | ||
---|---|---|
Feature | Number | Values |
Name | FailOnTimeout | - |
Number of Methods | 2 | - |
LCOM | 0.75 | - |
Average Cyclomatic Complexity | 2.50 | - |
Number of Statements | 17 | - |
Halstead Cumulative Bugs | 0.21 | - |
Halstead Effort | 6561.67 | - |
UnWeighted Class Size | 6 | - |
Instance Variables | 4 | fThrown (java.lang.Throwable) fFinished (boolean) fTimeout (long) fNext (org.junit.runners.model.Statement) |
Imported Packages | 1 | org.junit.runners.model.Statement |
Response For class | 2 | - |
CBO | 3 | - |
Maintainability Index | 109.41 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 23 | - |
Fan In | 2 | - |
DIT | 1 | - |
Maintainability Index (NC) | 109.41 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.62 | - |
Local Method Calls | 0 | |
LCOM2 | 0.00 | - |
Max Complexity | 4 | - |
Halstead Cumulative Volume | 623.55 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 0 | - |
Fan Out | 1 | - |
SuperClass Name | org.junit.runners.model.Statement | - |
SIX | 0.33 | - |
External Method Calls | 0 | java.lang.String.format (1) org.junit.internal.runners.statements.Thread.join (1) org.junit.internal.runners.statements.Thread.getStackTrace (1) java.lang.Thread.Thread (1) java.lang.Exception.setStackTrace (1) org.junit.internal.runners.statements.Thread.start (1) java.lang.Exception.Exception (1) |
Superclasses | 1 | org.junit.runners.model.Statement |
Total Complexity | 5 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 2 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 129 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.runners.statements.FailOnTimeout | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | FailOnTimeout | 1 | 0 | 3 | 16 | 12 | 184.37 | 0.02 | 1 | 0 | 0 | 4 | 0 | 2 | 6 | 3.21 | 0 | 0 | 0 | 0 | 0 | 57.36 | 9 | 4 | 7 | 0 | 2 | 0 |
![]() | evaluate | 4 | 0 | 9 | 93 | 38 | 6206.82 | 0.16 | 4 | 7 | 0 | 23 | 0 | 0 | 2 | 12.72 | 2 | 1 | 0 | 0 | 0 | 488.06 | 39 | 10 | 54 | 0 | 10 | 0 |
Analysis of Method : FailOnTimeout(Statement, long) in Class : org.junit.internal.runners.statements.FailOnTimeout | ||
---|---|---|
Feature | Number | Values |
Name | FailOnTimeout | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 184.37 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | org.junit.runners.model.Statement (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 2 | next (org.junit.runners.model.Statement) timeout (long) |
Modifiers | 6 | private private final private private public |
Halstead Difficulty | 3.21 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 57.36 | - |
Number of Operands | 9 | - |
Variable References | 4 | next (1) timeout (1) fTimeout (1) fNext (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : evaluate() in Class : org.junit.internal.runners.statements.FailOnTimeout | ||
---|---|---|
Feature | Number | Values |
Name | evaluate | - |
Cyclomatic Complexity | 4 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 9 | - |
Halstead Length | 93 | - |
Halstead Vocabulary | 38 | - |
Halstead Effort | 6206.82 | - |
Halstead Bugs | 0.16 | - |
Classes Referenced | 4 | java.lang.String (1) java.lang.Thread (2) java.lang.Throwable (1) java.lang.Exception (2) |
External Methods Called | 7 | java.lang.String.format (1) org.junit.internal.runners.statements.Thread.join (1) org.junit.internal.runners.statements.Thread.getStackTrace (1) java.lang.Thread.Thread (1) org.junit.internal.runners.statements.Thread.start (1) java.lang.Exception.setStackTrace (1) java.lang.Exception.Exception (1) |
Local Methods Called | 0 | |
Lines Of Code | 23 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 12.72 | - |
Variable Declarations | 2 | thread (java.lang.Thread) exception (java.lang.Exception) |
Exceptions Thrown | 1 | java.lang.Throwable (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 488.06 | - |
Number of Operands | 39 | - |
Variable References | 10 | thread (3) exception (2) fThrown (2) fFinished (1) fTimeout (2) |
Number of Operators | 54 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 10 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |