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
FeatureNumberValues
NameFailOnTimeout-
Number of Methods2-
LCOM0.75-
Average Cyclomatic Complexity2.50-
Number of Statements17-
Halstead Cumulative Bugs0.21-
Halstead Effort6561.67-
UnWeighted Class Size6-
Instance Variables4fThrown (java.lang.Throwable)
fFinished (boolean)
fTimeout (long)
fNext (org.junit.runners.model.Statement)
Imported Packages1org.junit.runners.model.Statement
Response For class2-
CBO3-
Maintainability Index109.41-
Cumulative Number of Comment Lines0-
Lines Of Code23-
Fan In2-
DIT1-
Maintainability Index (NC)109.41-
Specialization ratio0.00-
Reuse Ratio0.50-
COH0.62-
Local Method Calls0
LCOM20.00-
Max Complexity4-
Halstead Cumulative Volume623.55-
Hierarchy Method Calls0
Number of Queries0-
Fan Out1-
SuperClass Nameorg.junit.runners.model.Statement-
SIX0.33-
External Method Calls0java.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)
Superclasses1org.junit.runners.model.Statement
Total Complexity5-
Subclasses0 -
Message Passing Coupling0-
Number of Commands2-
Interfaces0 -
Cumulative Number of Comments0-
Halstead Cumulative Length129-
Modifiers0 -
Summary of methods in org.junit.internal.runners.statements.FailOnTimeout
Methods in Class : org.junit.internal.runners.statements.FailOnTimeout
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
FailOnTimeout1031612184.370.0210040263.210000057.36947020
evaluate40993386206.820.164702300212.7221000488.063910540100


Analysis of Method : FailOnTimeout(Statement, long) in Class : org.junit.internal.runners.statements.FailOnTimeout
FeatureNumberValues
NameFailOnTimeout-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements3-
Halstead Length16-
Halstead Vocabulary12-
Halstead Effort184.37-
Halstead Bugs0.02-
Classes Referenced1org.junit.runners.model.Statement (1)
External Methods Called0
Local Methods Called0
Lines Of Code4-
Number of Comments0-
Arguments2next (org.junit.runners.model.Statement)
timeout (long)
Modifiers6private
private
final
private
private
public
Halstead Difficulty3.21-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume57.36-
Number of Operands9-
Variable References4next (1)
timeout (1)
fTimeout (1)
fNext (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : evaluate() in Class : org.junit.internal.runners.statements.FailOnTimeout
FeatureNumberValues
Nameevaluate-
Cyclomatic Complexity4-
Number of Comment Lines0-
Number of Statements9-
Halstead Length93-
Halstead Vocabulary38-
Halstead Effort6206.82-
Halstead Bugs0.16-
Classes Referenced4java.lang.String (1)
java.lang.Thread (2)
java.lang.Throwable (1)
java.lang.Exception (2)
External Methods Called7java.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 Called0
Lines Of Code23-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty12.72-
Variable Declarations2thread (java.lang.Thread)
exception (java.lang.Exception)
Exceptions Thrown1java.lang.Throwable (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume488.06-
Number of Operands39-
Variable References10thread (3)
exception (2)
fThrown (2)
fFinished (1)
fTimeout (2)
Number of Operators54-
Max. depth of nesting0-
Number of Expressions10-
Number of Loops0-

Top of this page

Top of this page Data Generated by JHawk - The Java Metrics tool Home