![]() | Analysis of Class : org.junit.experimental.results.ResultMatchers$BaseMatcher | Home |
Dashboard for Class : org.junit.experimental.results.ResultMatchers$BaseMatcher |
---|
![]() |
Cyclomatic Complexity |
Summary of ResultMatchers$BaseMatcher | ||
---|---|---|
Feature | Number | Values |
Name | ResultMatchers$BaseMatcher<Object> | - |
Number of Methods | 2 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 5 | - |
Halstead Cumulative Bugs | 0.05 | - |
Halstead Effort | 656.97 | - |
UnWeighted Class Size | 2 | - |
Instance Variables | 0 | - |
Imported Packages | 4 | org.hamcrest.BaseMatcher org.hamcrest.Description org.hamcrest.Matcher org.junit.internal.matchers.TypeSafeMatcher |
Response For class | 2 | - |
CBO | 0 | - |
Maintainability Index | 139.95 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 8 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 139.95 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.00 | - |
Local Method Calls | 0 | |
LCOM2 | 2.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 155.51 | - |
Hierarchy Method Calls | 1 | failureCountIs (1) |
Number of Queries | 1 | - |
Fan Out | 0 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | java.lang.Object.toString (1) org.hamcrest.Description.appendText (1) string().matches (1) toString().contains (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 | 40 | - |
Modifiers | 1 | public |
Methods in Class : org.junit.experimental.results.ResultMatchers$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 | 2 | 15 | 13 | 190.31 | 0.02 | 1 | 1 | 0 | 3 | 0 | 1 | 1 | 3.43 | 0 | 0 | 0 | 0 | 0 | 55.51 | 8 | 2 | 7 | 0 | 2 | 0 |
![]() | matches | 1 | 0 | 2 | 25 | 16 | 466.67 | 0.03 | 1 | 3 | 1 | 3 | 0 | 1 | 1 | 4.67 | 0 | 0 | 0 | 0 | 0 | 100.00 | 12 | 3 | 13 | 0 | 5 | 0 |
Analysis of Method : describeTo(Description) in Class : org.junit.experimental.results.ResultMatchers$BaseMatcher | ||
---|---|---|
Feature | Number | Values |
Name | describeTo | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 190.31 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | org.hamcrest.Description (1) |
External Methods Called | 1 | org.hamcrest.Description.appendText (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | description (org.hamcrest.Description) |
Modifiers | 1 | public |
Halstead Difficulty | 3.43 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 55.51 | - |
Number of Operands | 8 | - |
Variable References | 2 | string (1) description (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : matches(Object) in Class : org.junit.experimental.results.ResultMatchers$BaseMatcher | ||
---|---|---|
Feature | Number | Values |
Name | matches | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 25 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 466.67 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 1 | java.lang.Object (1) |
External Methods Called | 3 | java.lang.Object.toString (1) string().matches (1) toString().contains (1) |
Local Methods Called | 1 | failureCountIs (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | item (java.lang.Object) |
Modifiers | 1 | public |
Halstead Difficulty | 4.67 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 100.00 | - |
Number of Operands | 12 | - |
Variable References | 3 | string (1) item (2) |
Number of Operators | 13 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |