Analysis of Class : org.junit.internal.runners.statements.ExpectException (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.internal.runners.statements.ExpectException
Cyclomatic Complexity

Summary of ExpectException
FeatureNumberValues
NameExpectException-
Number of Methods2-
LCOM1.00-
Average Cyclomatic Complexity2.50-
Number of Statements15-
Halstead Cumulative Bugs0.19-
Halstead Effort5954.49-
UnWeighted Class Size4-
Instance Variables2fExpected (java.lang.Class)
fNext (org.junit.runners.model.Statement)
Imported Packages1org.junit.runners.model.Statement
Response For class2-
CBO2-
Maintainability Index111.91-
Cumulative Number of Comment Lines0-
Lines Of Code26-
Fan In1-
DIT1-
Maintainability Index (NC)111.91-
Specialization ratio0.00-
Reuse Ratio0.50-
COH1.00-
Local Method Calls0
LCOM20.00-
Max Complexity4-
Halstead Cumulative Volume582.41-
Hierarchy Method Calls0
Number of Queries0-
Fan Out1-
SuperClass Nameorg.junit.runners.model.Statement-
SIX0.33-
External Method Calls0e.getClass (2)
java.lang.Exception.Exception (1)
org.junit.runners.model.Statement.evaluate (1)
java.lang.Class.isAssignableFrom (1)
java.lang.Class.getName (2)
getClass().getName (1)
java.lang.AssertionError.AssertionError (1)
Superclasses1org.junit.runners.model.Statement
Total Complexity5-
Subclasses0 -
Message Passing Coupling0-
Number of Commands2-
Interfaces0 -
Cumulative Number of Comments0-
Halstead Cumulative Length121-
Modifiers0 -
Summary of methods in org.junit.internal.runners.statements.ExpectException
Methods in Class : org.junit.internal.runners.statements.ExpectException
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
ExpectException1032117482.830.0340040245.620000085.8410411020
evaluate40985375283.450.154701700211.9321103442.803510502180


Analysis of Method : ExpectException(Statement, Class) in Class : org.junit.internal.runners.statements.ExpectException
FeatureNumberValues
NameExpectException-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements3-
Halstead Length21-
Halstead Vocabulary17-
Halstead Effort482.83-
Halstead Bugs0.03-
Classes Referenced4org.junit.runners.model.Statement (1)
?extendsThrowable (1)
java.lang.Class (1)
java.lang.Throwable (1)
External Methods Called0
Local Methods Called0
Lines Of Code4-
Number of Comments0-
Arguments2next (org.junit.runners.model.Statement)
expected (java.lang.Class)
Modifiers4private
private
final
public
Halstead Difficulty5.62-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume85.84-
Number of Operands10-
Variable References4fExpected (1)
next (1)
expected (1)
fNext (1)
Number of Operators11-
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.ExpectException
FeatureNumberValues
Nameevaluate-
Cyclomatic Complexity4-
Number of Comment Lines0-
Number of Statements9-
Halstead Length85-
Halstead Vocabulary37-
Halstead Effort5283.45-
Halstead Bugs0.15-
Classes Referenced4java.lang.AssertionError (1)
java.lang.String (1)
java.lang.Throwable (1)
java.lang.Exception (2)
External Methods Called7e.getClass (2)
java.lang.Exception.Exception (1)
org.junit.runners.model.Statement.evaluate (1)
java.lang.Class.isAssignableFrom (1)
java.lang.Class.getName (2)
getClass().getName (1)
java.lang.AssertionError.AssertionError (1)
Local Methods Called0
Lines Of Code17-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty11.93-
Variable Declarations2complete (boolean)
message (java.lang.String)
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced1java.lang.Throwable (1)
Number of casts0-
Total Depth of Nesting3-
Halstead Volume442.80-
Number of Operands35-
Variable References10complete (2)
fExpected (3)
message (1)
e (3)
fNext (1)
Number of Operators50-
Max. depth of nesting2-
Number of Expressions18-
Number of Loops0-

Top of this page

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