Analysis of Class : org.junit.rules.ExpectedException$ExpectedExceptionStatement (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.rules.ExpectedException$ExpectedExceptionStatement
Cyclomatic Complexity

Summary of ExpectedException$ExpectedExceptionStatement
FeatureNumberValues
NameExpectedException$ExpectedExceptionStatement-
Number of Methods2-
LCOM0.00-
Average Cyclomatic Complexity2.50-
Number of Statements11-
Halstead Cumulative Bugs0.11-
Halstead Effort3528.01-
UnWeighted Class Size3-
Instance Variables1fNext (org.junit.runners.model.Statement)
Imported Packages10org.hamcrest.CoreMatchers.instanceOf
org.hamcrest.Description
org.hamcrest.Matcher
org.hamcrest.StringDescription
org.junit.Assert
org.junit.internal.matchers.TypeSafeMatcher
org.junit.matchers.JUnitMatchers.both
org.junit.matchers.JUnitMatchers.containsString
org.junit.runners.model.FrameworkMethod
org.junit.runners.model.Statement
Response For class2-
CBO2-
Maintainability Index119.15-
Cumulative Number of Comment Lines0-
Lines Of Code20-
Fan In0-
DIT1-
Maintainability Index (NC)119.15-
Specialization ratio0.00-
Reuse Ratio0.50-
COH1.00-
Local Method Calls0
LCOM20.00-
Max Complexity4-
Halstead Cumulative Volume319.67-
Hierarchy Method Calls0
Number of Queries0-
Fan Out2-
SuperClass Nameorg.junit.runners.model.Statement-
SIX0.33-
External Method Calls0org.hamcrest.StringDescription.toString (1)
java.lang.AssertionError.AssertionError (1)
org.junit.runners.model.Statement.evaluate (1)
org.junit.Assert.assertThat (1)
Superclasses1org.junit.runners.model.Statement
Total Complexity5-
Subclasses0 -
Message Passing Coupling0-
Number of Commands2-
Interfaces0 -
Cumulative Number of Comments0-
Halstead Cumulative Length72-
Modifiers1private
Summary of methods in org.junit.rules.ExpectedException$ExpectedExceptionStatement
Methods in Class : org.junit.rules.ExpectedException$ExpectedExceptionStatement
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
ExpectedExceptionStatement10210999.060.0110030133.120000031.70525010
evaluate40755303392.760.094401300212.5701102269.8822733170


Analysis of Method : ExpectedExceptionStatement(Statement) in Class : org.junit.rules.ExpectedException$ExpectedExceptionStatement
FeatureNumberValues
NameExpectedExceptionStatement-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary9-
Halstead Effort99.06-
Halstead Bugs0.01-
Classes Referenced1org.junit.runners.model.Statement (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1base (org.junit.runners.model.Statement)
Modifiers3private
final
public
Halstead Difficulty3.12-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume31.70-
Number of Operands5-
Variable References2base (1)
fNext (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : evaluate() in Class : org.junit.rules.ExpectedException$ExpectedExceptionStatement
FeatureNumberValues
Nameevaluate-
Cyclomatic Complexity4-
Number of Comment Lines0-
Number of Statements7-
Halstead Length55-
Halstead Vocabulary30-
Halstead Effort3392.76-
Halstead Bugs0.09-
Classes Referenced4java.lang.AssertionError (1)
java.lang.Throwable (2)
org.junit.Assert (1)
org.hamcrest.StringDescription (1)
External Methods Called4org.hamcrest.StringDescription.toString (1)
java.lang.AssertionError.AssertionError (1)
org.junit.runners.model.Statement.evaluate (1)
org.junit.Assert.assertThat (1)
Local Methods Called0
Lines Of Code13-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty12.57-
Variable Declarations0
Exceptions Thrown1java.lang.Throwable (1)
Exceptions Referenced1java.lang.Throwable (1)
Number of casts0-
Total Depth of Nesting2-
Halstead Volume269.88-
Number of Operands22-
Variable References7e (2)
fNext (1)
fMatcher (4)
Number of Operators33-
Max. depth of nesting1-
Number of Expressions7-
Number of Loops0-

Top of this page

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