![]() | Analysis of Class : org.junit.internal.matchers.Each$BaseMatcher |
Home |
Dashboard for Class : org.junit.internal.matchers.Each$BaseMatcher |
---|
![]() |
Cyclomatic Complexity |
Summary of Each$BaseMatcher | ||
---|---|---|
Feature | Number | Values |
Name | Each$BaseMatcher<Iterable<T>> | - |
Number of Methods | 2 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 6 | - |
Halstead Cumulative Bugs | 0.04 | - |
Halstead Effort | 446.68 | - |
UnWeighted Class Size | 2 | - |
Instance Variables | 0 | - |
Imported Packages | 5 | org.hamcrest.BaseMatcher org.hamcrest.CoreMatchers.not org.hamcrest.Description org.hamcrest.Matcher org.junit.internal.matchers.IsCollectionContaining.hasItem |
Response For class | 2 | - |
CBO | 0 | - |
Maintainability Index | 134.70 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 9 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 134.70 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.00 | - |
Local Method Calls | 0 | |
LCOM2 | 2.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 116.55 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 1 | - |
Fan Out | 0 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | allItemsAre.matches (1) org.hamcrest.Description.appendText (1) individual.describeTo (1) |
Superclasses | 0 | - |
Total Complexity | 2 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 1 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 33 | - |
Modifiers | 1 | public |
Methods in Class : org.junit.internal.matchers.Each$BaseMatcher | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | describeTo | 1 | 0 | 3 | 19 | 12 | 243.27 | 0.02 | 1 | 2 | 0 | 4 | 0 | 1 | 1 | 3.57 | 0 | 0 | 0 | 0 | 0 | 68.11 | 10 | 3 | 9 | 0 | 2 | 0 |
![]() | matches | 1 | 0 | 2 | 14 | 11 | 203.41 | 0.02 | 1 | 1 | 0 | 3 | 0 | 1 | 1 | 4.20 | 0 | 0 | 0 | 0 | 0 | 48.43 | 7 | 2 | 7 | 0 | 1 | 0 |
Analysis of Method : describeTo(Description) in Class : org.junit.internal.matchers.Each$BaseMatcher | ||
---|---|---|
Feature | Number | Values |
Name | describeTo | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 19 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 243.27 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | org.hamcrest.Description (1) |
External Methods Called | 2 | org.hamcrest.Description.appendText (1) individual.describeTo (1) |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 1 | description (org.hamcrest.Description) |
Modifiers | 1 | public |
Halstead Difficulty | 3.57 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 68.11 | - |
Number of Operands | 10 | - |
Variable References | 3 | individual (1) description (2) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : matches(Object) in Class : org.junit.internal.matchers.Each$BaseMatcher | ||
---|---|---|
Feature | Number | Values |
Name | matches | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 203.41 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | java.lang.Object (1) |
External Methods Called | 1 | allItemsAre.matches (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | item (java.lang.Object) |
Modifiers | 1 | public |
Halstead Difficulty | 4.20 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 48.43 | - |
Number of Operands | 7 | - |
Variable References | 2 | item (1) allItemsAre (1) |
Number of Operators | 7 | - |
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 |