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

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

Summary of ExpectedException$TypeSafeMatcher
FeatureNumberValues
NameExpectedException$TypeSafeMatcher<Throwable>-
Number of Methods2-
LCOM0.00-
Average Cyclomatic Complexity1.00-
Number of Statements6-
Halstead Cumulative Bugs0.05-
Halstead Effort512.00-
UnWeighted Class Size2-
Instance Variables0 -
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-
CBO0-
Maintainability Index134.24-
Cumulative Number of Comment Lines0-
Lines Of Code10-
Fan In0-
DIT1-
Maintainability Index (NC)134.24-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.00-
Local Method Calls0
LCOM22.00-
Max Complexity1-
Halstead Cumulative Volume144.54-
Hierarchy Method Calls0
Number of Queries1-
Fan Out0-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0matcher.matches (1)
org.hamcrest.Description.appendText (1)
java.lang.Throwable.getMessage (1)
org.hamcrest.Description.appendDescriptionOf (1)
Superclasses0 -
Total Complexity2-
Subclasses0 -
Message Passing Coupling0-
Number of Commands1-
Interfaces0 -
Cumulative Number of Comments0-
Halstead Cumulative Length38-
Modifiers1public
Summary of methods in org.junit.rules.ExpectedException$TypeSafeMatcher<Throwable>
Methods in Class : org.junit.rules.ExpectedException$TypeSafeMatcher
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
describeTo1031913219.710.0212040113.120000070.311039020
matchesSafely1021915292.280.0212030123.940000074.239210020


Analysis of Method : describeTo(Description) in Class : org.junit.rules.ExpectedException$TypeSafeMatcher
FeatureNumberValues
NamedescribeTo-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements3-
Halstead Length19-
Halstead Vocabulary13-
Halstead Effort219.71-
Halstead Bugs0.02-
Classes Referenced1org.hamcrest.Description (1)
External Methods Called2org.hamcrest.Description.appendText (1)
org.hamcrest.Description.appendDescriptionOf (1)
Local Methods Called0
Lines Of Code4-
Number of Comments0-
Arguments1description (org.hamcrest.Description)
Modifiers1public
Halstead Difficulty3.12-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume70.31-
Number of Operands10-
Variable References3description (2)
matcher (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : matchesSafely(Throwable) in Class : org.junit.rules.ExpectedException$TypeSafeMatcher
FeatureNumberValues
NamematchesSafely-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length19-
Halstead Vocabulary15-
Halstead Effort292.28-
Halstead Bugs0.02-
Classes Referenced1java.lang.Throwable (1)
External Methods Called2matcher.matches (1)
java.lang.Throwable.getMessage (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1item (java.lang.Throwable)
Modifiers2@Override
public
Halstead Difficulty3.94-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume74.23-
Number of Operands9-
Variable References2item (1)
matcher (1)
Number of Operators10-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

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