![]() | Analysis of Class : org.junit.internal.matchers.SubstringMatcher (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.matchers.SubstringMatcher |
---|
![]() |
Cyclomatic Complexity |
Summary of SubstringMatcher | ||
---|---|---|
Feature | Number | Values |
Name | SubstringMatcher | - |
Number of Methods | 5 | - |
LCOM | 1.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 10 | - |
Halstead Cumulative Bugs | 0.09 | - |
Halstead Effort | 919.98 | - |
UnWeighted Class Size | 6 | - |
Instance Variables | 1 | substring (java.lang.String) |
Imported Packages | 1 | org.hamcrest.Description |
Response For class | 5 | - |
CBO | 2 | - |
Maintainability Index | 141.94 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 18 | - |
Fan In | 1 | - |
DIT | 2 | - |
Maintainability Index (NC) | 141.94 | - |
Specialization ratio | 0.50 | - |
Reuse Ratio | 0.50 | - |
COH | 0.20 | - |
Local Method Calls | 2 | relationship (1) evalSubstringOf (1) |
LCOM2 | 8.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 267.95 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 3 | - |
Fan Out | 1 | - |
SuperClass Name | org.junit.internal.matchers.TypeSafeMatcher | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.hamcrest.Description.appendText (1) |
Superclasses | 2 | org.hamcrest.BaseMatcher org.junit.internal.matchers.TypeSafeMatcher |
Total Complexity | 5 | - |
Subclasses | 1 | org.junit.internal.matchers.StringContains |
Message Passing Coupling | 0 | - |
Number of Commands | 2 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 77 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.matchers.SubstringMatcher | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | SubstringMatcher | 1 | 0 | 2 | 13 | 11 | 236.11 | 0.01 | 1 | 0 | 0 | 3 | 0 | 1 | 3 | 5.25 | 0 | 0 | 0 | 0 | 0 | 44.97 | 6 | 2 | 7 | 0 | 1 | 0 |
![]() | describeTo | 1 | 0 | 2 | 26 | 15 | 330.13 | 0.03 | 1 | 1 | 1 | 6 | 0 | 1 | 1 | 3.25 | 0 | 0 | 0 | 0 | 0 | 101.58 | 13 | 2 | 13 | 0 | 5 | 0 |
![]() | evalSubstringOf | 1 | 0 | 1 | 8 | 8 | 48.00 | 0.01 | 1 | 0 | 0 | 1 | 0 | 1 | 2 | 2.00 | 0 | 0 | 0 | 0 | 0 | 24.00 | 4 | 0 | 4 | 0 | 0 | 0 |
![]() | matchesSafely | 1 | 0 | 2 | 14 | 12 | 175.66 | 0.02 | 1 | 0 | 1 | 3 | 0 | 1 | 2 | 3.50 | 0 | 0 | 0 | 0 | 0 | 50.19 | 7 | 1 | 7 | 0 | 1 | 0 |
![]() | relationship | 1 | 0 | 1 | 6 | 6 | 31.02 | 0.01 | 1 | 0 | 0 | 1 | 0 | 0 | 2 | 2.00 | 0 | 0 | 0 | 0 | 0 | 15.51 | 2 | 0 | 4 | 0 | 0 | 0 |
Analysis of Method : SubstringMatcher(String) in Class : org.junit.internal.matchers.SubstringMatcher | ||
---|---|---|
Feature | Number | Values |
Name | SubstringMatcher | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 236.11 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | substring (java.lang.String) |
Modifiers | 3 | protected final protected |
Halstead Difficulty | 5.25 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 44.97 | - |
Number of Operands | 6 | - |
Variable References | 2 | substring (2) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : describeTo(Description) in Class : org.junit.internal.matchers.SubstringMatcher | ||
---|---|---|
Feature | Number | Values |
Name | describeTo | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 26 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 330.13 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 1 | org.hamcrest.Description (1) |
External Methods Called | 1 | org.hamcrest.Description.appendText (1) |
Local Methods Called | 1 | relationship (1) |
Lines Of Code | 6 | - |
Number of Comments | 0 | - |
Arguments | 1 | description (org.hamcrest.Description) |
Modifiers | 1 | public |
Halstead Difficulty | 3.25 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 101.58 | - |
Number of Operands | 13 | - |
Variable References | 2 | substring (1) description (1) |
Number of Operators | 13 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 0 | - |
Analysis of Method : evalSubstringOf(String) in Class : org.junit.internal.matchers.SubstringMatcher | ||
---|---|---|
Feature | Number | Values |
Name | evalSubstringOf | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 1 | - |
Halstead Length | 8 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 48.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 0 | - |
Arguments | 1 | string (java.lang.String) |
Modifiers | 2 | protected abstract |
Halstead Difficulty | 2.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 24.00 | - |
Number of Operands | 4 | - |
Variable References | 0 | |
Number of Operators | 4 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : matchesSafely(String) in Class : org.junit.internal.matchers.SubstringMatcher | ||
---|---|---|
Feature | Number | Values |
Name | matchesSafely | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 175.66 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | evalSubstringOf (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | item (java.lang.String) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 50.19 | - |
Number of Operands | 7 | - |
Variable References | 1 | item (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : relationship() in Class : org.junit.internal.matchers.SubstringMatcher | ||
---|---|---|
Feature | Number | Values |
Name | relationship | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 1 | - |
Halstead Length | 6 | - |
Halstead Vocabulary | 6 | - |
Halstead Effort | 31.02 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | protected abstract |
Halstead Difficulty | 2.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 15.51 | - |
Number of Operands | 2 | - |
Variable References | 0 | |
Number of Operators | 4 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |