Analysis of Class : org.junit.matchers.JUnitMatchers (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.matchers.JUnitMatchers
Cyclomatic Complexity

Summary of JUnitMatchers
FeatureNumberValues
NameJUnitMatchers-
Number of Methods8-
LCOM0.00-
Average Cyclomatic Complexity1.00-
Number of Statements17-
Halstead Cumulative Bugs0.36-
Halstead Effort9006.73-
UnWeighted Class Size8-
Instance Variables0 -
Imported Packages5org.hamcrest.Matcher
org.junit.internal.matchers.CombinableMatcher
org.junit.internal.matchers.Each
org.junit.internal.matchers.IsCollectionContaining
org.junit.internal.matchers.StringContains
Response For class8-
CBO4-
Maintainability Index117.87-
Cumulative Number of Comment Lines42-
Lines Of Code26-
Fan In0-
DIT1-
Maintainability Index (NC)135.74-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.00-
Local Method Calls0
LCOM28.00-
Max Complexity1-
Halstead Cumulative Volume1085.47-
Hierarchy Method Calls0
Number of Queries8-
Fan Out4-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0org.junit.internal.matchers.IsCollectionContaining.hasItem (2)
org.junit.internal.matchers.Each.each (1)
org.junit.internal.matchers.CombinableMatcher.CombinableMatcher (2)
org.junit.internal.matchers.IsCollectionContaining.hasItems (2)
org.junit.internal.matchers.StringContains.containsString (1)
Superclasses0 -
Total Complexity8-
Subclasses0 -
Message Passing Coupling0-
Number of Commands0-
Interfaces0 -
Cumulative Number of Comments9-
Halstead Cumulative Length260-
Modifiers0 -
Summary of methods in org.junit.matchers.JUnitMatchers
Methods in Class : org.junit.matchers.JUnitMatchers
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
both1622614890.920.0331031129.000000098.9910116010
containsString1423018875.680.0431031127.0000000125.1014116010
either1622614890.920.0331031129.000000098.9910116010
everyItem1422817899.240.0441031127.8600000114.4511117010
hasItem1423219856.380.0541031126.3000000135.9314118010
hasItem14241211683.790.0651031129.3500000180.0917124010
hasItems1423320998.370.0541031127.0000000142.6214119010
hasItems16242221910.420.06510311210.2000000187.3017125010


Analysis of Method : both(Matcher) in Class : org.junit.matchers.JUnitMatchers
FeatureNumberValues
Nameboth-
Cyclomatic Complexity1-
Number of Comment Lines6-
Number of Statements2-
Halstead Length26-
Halstead Vocabulary14-
Halstead Effort890.92-
Halstead Bugs0.03-
Classes Referenced3T (3)
org.junit.internal.matchers.CombinableMatcher (2)
org.hamcrest.Matcher (1)
External Methods Called1org.junit.internal.matchers.CombinableMatcher.CombinableMatcher (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1matcher (org.hamcrest.Matcher)
Modifiers2public
static
Halstead Difficulty9.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume98.99-
Number of Operands10-
Variable References1matcher (1)
Number of Operators16-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : containsString(String) in Class : org.junit.matchers.JUnitMatchers
FeatureNumberValues
NamecontainsString-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length30-
Halstead Vocabulary18-
Halstead Effort875.68-
Halstead Bugs0.04-
Classes Referenced3java.lang.String (2)
org.hamcrest.Matcher (1)
org.junit.internal.matchers.StringContains (1)
External Methods Called1org.junit.internal.matchers.StringContains.containsString (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1substring (java.lang.String)
Modifiers2public
static
Halstead Difficulty7.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume125.10-
Number of Operands14-
Variable References1substring (1)
Number of Operators16-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : either(Matcher) in Class : org.junit.matchers.JUnitMatchers
FeatureNumberValues
Nameeither-
Cyclomatic Complexity1-
Number of Comment Lines6-
Number of Statements2-
Halstead Length26-
Halstead Vocabulary14-
Halstead Effort890.92-
Halstead Bugs0.03-
Classes Referenced3T (3)
org.junit.internal.matchers.CombinableMatcher (2)
org.hamcrest.Matcher (1)
External Methods Called1org.junit.internal.matchers.CombinableMatcher.CombinableMatcher (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1matcher (org.hamcrest.Matcher)
Modifiers2public
static
Halstead Difficulty9.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume98.99-
Number of Operands10-
Variable References1matcher (1)
Number of Operators16-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : everyItem(Matcher) in Class : org.junit.matchers.JUnitMatchers
FeatureNumberValues
NameeveryItem-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length28-
Halstead Vocabulary17-
Halstead Effort899.24-
Halstead Bugs0.04-
Classes Referenced4Iterable (1)
T (3)
org.hamcrest.Matcher (2)
org.junit.internal.matchers.Each (1)
External Methods Called1org.junit.internal.matchers.Each.each (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1elementMatcher (org.hamcrest.Matcher)
Modifiers2public
static
Halstead Difficulty7.86-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume114.45-
Number of Operands11-
Variable References1elementMatcher (1)
Number of Operators17-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : hasItem(T) in Class : org.junit.matchers.JUnitMatchers
FeatureNumberValues
NamehasItem-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length32-
Halstead Vocabulary19-
Halstead Effort856.38-
Halstead Bugs0.05-
Classes Referenced4org.junit.internal.matchers.IsCollectionContaining (1)
T (2)
org.hamcrest.Matcher (1)
java.lang.Iterable (1)
External Methods Called1org.junit.internal.matchers.IsCollectionContaining.hasItem (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1element (T)
Modifiers2public
static
Halstead Difficulty6.30-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume135.93-
Number of Operands14-
Variable References1element (1)
Number of Operators18-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : hasItem(Matcher) in Class : org.junit.matchers.JUnitMatchers
FeatureNumberValues
NamehasItem-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length41-
Halstead Vocabulary21-
Halstead Effort1683.79-
Halstead Bugs0.06-
Classes Referenced5org.junit.internal.matchers.IsCollectionContaining (1)
T (2)
org.hamcrest.Matcher (2)
java.lang.Iterable (1)
?extendsT (1)
External Methods Called1org.junit.internal.matchers.IsCollectionContaining.hasItem (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1elementMatcher (org.hamcrest.Matcher)
Modifiers2public
static
Halstead Difficulty9.35-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume180.09-
Number of Operands17-
Variable References1elementMatcher (1)
Number of Operators24-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : hasItems(T...) in Class : org.junit.matchers.JUnitMatchers
FeatureNumberValues
NamehasItems-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length33-
Halstead Vocabulary20-
Halstead Effort998.37-
Halstead Bugs0.05-
Classes Referenced4org.junit.internal.matchers.IsCollectionContaining (1)
T (2)
org.hamcrest.Matcher (1)
java.lang.Iterable (1)
External Methods Called1org.junit.internal.matchers.IsCollectionContaining.hasItems (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1elements (T...)
Modifiers2public
static
Halstead Difficulty7.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume142.62-
Number of Operands14-
Variable References1elements (1)
Number of Operators19-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : hasItems(Matcher...) in Class : org.junit.matchers.JUnitMatchers
FeatureNumberValues
NamehasItems-
Cyclomatic Complexity1-
Number of Comment Lines6-
Number of Statements2-
Halstead Length42-
Halstead Vocabulary22-
Halstead Effort1910.42-
Halstead Bugs0.06-
Classes Referenced5org.junit.internal.matchers.IsCollectionContaining (1)
T (2)
org.hamcrest.Matcher (2)
java.lang.Iterable (1)
?extendsT (1)
External Methods Called1org.junit.internal.matchers.IsCollectionContaining.hasItems (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1elementMatchers (org.hamcrest.Matcher...)
Modifiers2public
static
Halstead Difficulty10.20-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume187.30-
Number of Operands17-
Variable References1elementMatchers (1)
Number of Operators25-
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