![]() | 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 | ||
---|---|---|
Feature | Number | Values |
Name | JUnitMatchers | - |
Number of Methods | 8 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 17 | - |
Halstead Cumulative Bugs | 0.36 | - |
Halstead Effort | 9006.73 | - |
UnWeighted Class Size | 8 | - |
Instance Variables | 0 | - |
Imported Packages | 5 | org.hamcrest.Matcher org.junit.internal.matchers.CombinableMatcher org.junit.internal.matchers.Each org.junit.internal.matchers.IsCollectionContaining org.junit.internal.matchers.StringContains |
Response For class | 8 | - |
CBO | 4 | - |
Maintainability Index | 117.87 | - |
Cumulative Number of Comment Lines | 42 | - |
Lines Of Code | 26 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 135.74 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.00 | - |
Local Method Calls | 0 | |
LCOM2 | 8.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 1085.47 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 8 | - |
Fan Out | 4 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.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) |
Superclasses | 0 | - |
Total Complexity | 8 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 0 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 9 | - |
Halstead Cumulative Length | 260 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.matchers.JUnitMatchers | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | COMP | NOCL | NOS | HLTH | HVOC | HEFF | HBUG | CREF | XMET | LMET | NLOC | NOC | NOA | MOD | HDIF | VDEC | EXCT | EXCR | CAST | TDN | HVOL | NAND | VREF | NOPR | MDN | NEXP | LOOP | |
![]() | both | 1 | 6 | 2 | 26 | 14 | 890.92 | 0.03 | 3 | 1 | 0 | 3 | 1 | 1 | 2 | 9.00 | 0 | 0 | 0 | 0 | 0 | 98.99 | 10 | 1 | 16 | 0 | 1 | 0 |
![]() | containsString | 1 | 4 | 2 | 30 | 18 | 875.68 | 0.04 | 3 | 1 | 0 | 3 | 1 | 1 | 2 | 7.00 | 0 | 0 | 0 | 0 | 0 | 125.10 | 14 | 1 | 16 | 0 | 1 | 0 |
![]() | either | 1 | 6 | 2 | 26 | 14 | 890.92 | 0.03 | 3 | 1 | 0 | 3 | 1 | 1 | 2 | 9.00 | 0 | 0 | 0 | 0 | 0 | 98.99 | 10 | 1 | 16 | 0 | 1 | 0 |
![]() | everyItem | 1 | 4 | 2 | 28 | 17 | 899.24 | 0.04 | 4 | 1 | 0 | 3 | 1 | 1 | 2 | 7.86 | 0 | 0 | 0 | 0 | 0 | 114.45 | 11 | 1 | 17 | 0 | 1 | 0 |
![]() | hasItem | 1 | 4 | 2 | 32 | 19 | 856.38 | 0.05 | 4 | 1 | 0 | 3 | 1 | 1 | 2 | 6.30 | 0 | 0 | 0 | 0 | 0 | 135.93 | 14 | 1 | 18 | 0 | 1 | 0 |
![]() | hasItem | 1 | 4 | 2 | 41 | 21 | 1683.79 | 0.06 | 5 | 1 | 0 | 3 | 1 | 1 | 2 | 9.35 | 0 | 0 | 0 | 0 | 0 | 180.09 | 17 | 1 | 24 | 0 | 1 | 0 |
![]() | hasItems | 1 | 4 | 2 | 33 | 20 | 998.37 | 0.05 | 4 | 1 | 0 | 3 | 1 | 1 | 2 | 7.00 | 0 | 0 | 0 | 0 | 0 | 142.62 | 14 | 1 | 19 | 0 | 1 | 0 |
![]() | hasItems | 1 | 6 | 2 | 42 | 22 | 1910.42 | 0.06 | 5 | 1 | 0 | 3 | 1 | 1 | 2 | 10.20 | 0 | 0 | 0 | 0 | 0 | 187.30 | 17 | 1 | 25 | 0 | 1 | 0 |
Analysis of Method : both(Matcher) in Class : org.junit.matchers.JUnitMatchers | ||
---|---|---|
Feature | Number | Values |
Name | both | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 6 | - |
Number of Statements | 2 | - |
Halstead Length | 26 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 890.92 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 3 | T (3) org.junit.internal.matchers.CombinableMatcher (2) org.hamcrest.Matcher (1) |
External Methods Called | 1 | org.junit.internal.matchers.CombinableMatcher.CombinableMatcher (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | matcher (org.hamcrest.Matcher) |
Modifiers | 2 | public static |
Halstead Difficulty | 9.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 98.99 | - |
Number of Operands | 10 | - |
Variable References | 1 | matcher (1) |
Number of Operators | 16 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : containsString(String) in Class : org.junit.matchers.JUnitMatchers | ||
---|---|---|
Feature | Number | Values |
Name | containsString | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 30 | - |
Halstead Vocabulary | 18 | - |
Halstead Effort | 875.68 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 3 | java.lang.String (2) org.hamcrest.Matcher (1) org.junit.internal.matchers.StringContains (1) |
External Methods Called | 1 | org.junit.internal.matchers.StringContains.containsString (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | substring (java.lang.String) |
Modifiers | 2 | public static |
Halstead Difficulty | 7.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 125.10 | - |
Number of Operands | 14 | - |
Variable References | 1 | substring (1) |
Number of Operators | 16 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : either(Matcher) in Class : org.junit.matchers.JUnitMatchers | ||
---|---|---|
Feature | Number | Values |
Name | either | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 6 | - |
Number of Statements | 2 | - |
Halstead Length | 26 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 890.92 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 3 | T (3) org.junit.internal.matchers.CombinableMatcher (2) org.hamcrest.Matcher (1) |
External Methods Called | 1 | org.junit.internal.matchers.CombinableMatcher.CombinableMatcher (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | matcher (org.hamcrest.Matcher) |
Modifiers | 2 | public static |
Halstead Difficulty | 9.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 98.99 | - |
Number of Operands | 10 | - |
Variable References | 1 | matcher (1) |
Number of Operators | 16 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : everyItem(Matcher) in Class : org.junit.matchers.JUnitMatchers | ||
---|---|---|
Feature | Number | Values |
Name | everyItem | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 28 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 899.24 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 4 | Iterable (1) T (3) org.hamcrest.Matcher (2) org.junit.internal.matchers.Each (1) |
External Methods Called | 1 | org.junit.internal.matchers.Each.each (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | elementMatcher (org.hamcrest.Matcher) |
Modifiers | 2 | public static |
Halstead Difficulty | 7.86 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 114.45 | - |
Number of Operands | 11 | - |
Variable References | 1 | elementMatcher (1) |
Number of Operators | 17 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : hasItem(T) in Class : org.junit.matchers.JUnitMatchers | ||
---|---|---|
Feature | Number | Values |
Name | hasItem | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 32 | - |
Halstead Vocabulary | 19 | - |
Halstead Effort | 856.38 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 4 | org.junit.internal.matchers.IsCollectionContaining (1) T (2) org.hamcrest.Matcher (1) java.lang.Iterable (1) |
External Methods Called | 1 | org.junit.internal.matchers.IsCollectionContaining.hasItem (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | element (T) |
Modifiers | 2 | public static |
Halstead Difficulty | 6.30 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 135.93 | - |
Number of Operands | 14 | - |
Variable References | 1 | element (1) |
Number of Operators | 18 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : hasItem(Matcher) in Class : org.junit.matchers.JUnitMatchers | ||
---|---|---|
Feature | Number | Values |
Name | hasItem | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 41 | - |
Halstead Vocabulary | 21 | - |
Halstead Effort | 1683.79 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 5 | org.junit.internal.matchers.IsCollectionContaining (1) T (2) org.hamcrest.Matcher (2) java.lang.Iterable (1) ?extendsT (1) |
External Methods Called | 1 | org.junit.internal.matchers.IsCollectionContaining.hasItem (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | elementMatcher (org.hamcrest.Matcher) |
Modifiers | 2 | public static |
Halstead Difficulty | 9.35 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 180.09 | - |
Number of Operands | 17 | - |
Variable References | 1 | elementMatcher (1) |
Number of Operators | 24 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : hasItems(T...) in Class : org.junit.matchers.JUnitMatchers | ||
---|---|---|
Feature | Number | Values |
Name | hasItems | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 33 | - |
Halstead Vocabulary | 20 | - |
Halstead Effort | 998.37 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 4 | org.junit.internal.matchers.IsCollectionContaining (1) T (2) org.hamcrest.Matcher (1) java.lang.Iterable (1) |
External Methods Called | 1 | org.junit.internal.matchers.IsCollectionContaining.hasItems (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | elements (T...) |
Modifiers | 2 | public static |
Halstead Difficulty | 7.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 142.62 | - |
Number of Operands | 14 | - |
Variable References | 1 | elements (1) |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : hasItems(Matcher...) in Class : org.junit.matchers.JUnitMatchers | ||
---|---|---|
Feature | Number | Values |
Name | hasItems | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 6 | - |
Number of Statements | 2 | - |
Halstead Length | 42 | - |
Halstead Vocabulary | 22 | - |
Halstead Effort | 1910.42 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 5 | org.junit.internal.matchers.IsCollectionContaining (1) T (2) org.hamcrest.Matcher (2) java.lang.Iterable (1) ?extendsT (1) |
External Methods Called | 1 | org.junit.internal.matchers.IsCollectionContaining.hasItems (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | elementMatchers (org.hamcrest.Matcher...) |
Modifiers | 2 | public static |
Halstead Difficulty | 10.20 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 187.30 | - |
Number of Operands | 17 | - |
Variable References | 1 | elementMatchers (1) |
Number of Operators | 25 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |