Analysis of Class : org.junit.experimental.results.ResultMatchers (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.experimental.results.ResultMatchers
Cyclomatic Complexity

Summary of ResultMatchers
FeatureNumberValues
NameResultMatchers-
Number of Methods4-
LCOM0.00-
Average Cyclomatic Complexity1.00-
Number of Statements9-
Halstead Cumulative Bugs0.30-
Halstead Effort7585.96-
UnWeighted Class Size4-
Instance Variables0 -
Imported Packages4org.hamcrest.BaseMatcher
org.hamcrest.Description
org.hamcrest.Matcher
org.junit.internal.matchers.TypeSafeMatcher
Response For class4-
CBO2-
Maintainability Index116.08-
Cumulative Number of Comment Lines21-
Lines Of Code11-
Fan In0-
DIT1-
Maintainability Index (NC)133.96-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.00-
Local Method Calls1failureCountIs (1)
LCOM24.00-
Max Complexity1-
Halstead Cumulative Volume893.87-
Hierarchy Method Calls0
Number of Queries4-
Fan Out2-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0org.hamcrest.BaseMatcher.BaseMatcher (2)
org.junit.internal.matchers.TypeSafeMatcher.TypeSafeMatcher (1)
Superclasses0 -
Total Complexity4-
Subclasses0 -
Message Passing Coupling0-
Number of Commands0-
Interfaces0 -
Cumulative Number of Comments5-
Halstead Cumulative Length185-
Modifiers0 -
Summary of methods in org.junit.experimental.results.ResultMatchers
Methods in Class : org.junit.experimental.results.ResultMatchers
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
failureCountIs13255322566.670.09310111129.3300000275.0024031010
hasFailureContaining14253301993.830.09410101127.6700000260.0723030010
hasSingleFailureContaining13261322817.240.10410101129.2400000305.0027034010
isSuccessful1321413207.220.0220131024.000000051.81509010


Analysis of Method : failureCountIs(int) in Class : org.junit.experimental.results.ResultMatchers
FeatureNumberValues
NamefailureCountIs-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length55-
Halstead Vocabulary32-
Halstead Effort2566.67-
Halstead Bugs0.09-
Classes Referenced3org.junit.internal.matchers.TypeSafeMatcher (1)
org.hamcrest.Matcher (1)
org.junit.experimental.results.PrintableResult (1)
External Methods Called1org.junit.internal.matchers.TypeSafeMatcher.TypeSafeMatcher (1)
Local Methods Called0
Lines Of Code11-
Number of Comments1-
Arguments1count (int)
Modifiers2public
static
Halstead Difficulty9.33-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume275.00-
Number of Operands24-
Variable References0
Number of Operators31-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : hasFailureContaining(String) in Class : org.junit.experimental.results.ResultMatchers
FeatureNumberValues
NamehasFailureContaining-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length53-
Halstead Vocabulary30-
Halstead Effort1993.83-
Halstead Bugs0.09-
Classes Referenced4java.lang.String (1)
org.hamcrest.Matcher (1)
org.hamcrest.BaseMatcher (1)
org.junit.experimental.results.PrintableResult (1)
External Methods Called1org.hamcrest.BaseMatcher.BaseMatcher (1)
Local Methods Called0
Lines Of Code10-
Number of Comments1-
Arguments1string (java.lang.String)
Modifiers2public
static
Halstead Difficulty7.67-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume260.07-
Number of Operands23-
Variable References0
Number of Operators30-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : hasSingleFailureContaining(String) in Class : org.junit.experimental.results.ResultMatchers
FeatureNumberValues
NamehasSingleFailureContaining-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length61-
Halstead Vocabulary32-
Halstead Effort2817.24-
Halstead Bugs0.10-
Classes Referenced4java.lang.String (1)
org.hamcrest.Matcher (1)
org.hamcrest.BaseMatcher (1)
java.lang.Object (1)
External Methods Called1org.hamcrest.BaseMatcher.BaseMatcher (1)
Local Methods Called0
Lines Of Code10-
Number of Comments1-
Arguments1string (java.lang.String)
Modifiers2public
static
Halstead Difficulty9.24-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume305.00-
Number of Operands27-
Variable References0
Number of Operators34-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : isSuccessful() in Class : org.junit.experimental.results.ResultMatchers
FeatureNumberValues
NameisSuccessful-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary13-
Halstead Effort207.22-
Halstead Bugs0.02-
Classes Referenced2org.hamcrest.Matcher (1)
org.junit.experimental.results.PrintableResult (1)
External Methods Called0
Local Methods Called1failureCountIs (1)
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers2public
static
Halstead Difficulty4.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume51.81-
Number of Operands5-
Variable References0
Number of Operators9-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

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