![]() | Analysis of Class : org.junit.experimental.results.ResultMatchers$TypeSafeMatcher |
Home |
Dashboard for Class : org.junit.experimental.results.ResultMatchers$TypeSafeMatcher |
---|
![]() |
Cyclomatic Complexity |
Summary of ResultMatchers$TypeSafeMatcher | ||
---|---|---|
Feature | Number | Values |
Name | ResultMatchers$TypeSafeMatcher<PrintableResult> | - |
Number of Methods | 2 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 5 | - |
Halstead Cumulative Bugs | 0.04 | - |
Halstead Effort | 522.07 | - |
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 | 1 | - |
Maintainability Index | 140.74 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 9 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 140.74 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.00 | - |
Local Method Calls | 0 | |
LCOM2 | 2.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 131.14 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 1 | - |
Fan Out | 1 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.hamcrest.Description.appendText (1) org.junit.experimental.results.PrintableResult.failureCount (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 | 34 | - |
Modifiers | 1 | public |
Methods in Class : org.junit.experimental.results.ResultMatchers$TypeSafeMatcher | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | 17 | 14 | 218.45 | 0.02 | 1 | 1 | 0 | 3 | 0 | 1 | 1 | 3.38 | 0 | 0 | 0 | 0 | 0 | 64.73 | 9 | 2 | 8 | 0 | 3 | 0 |
![]() | matchesSafely | 1 | 0 | 2 | 17 | 15 | 303.62 | 0.02 | 1 | 1 | 0 | 3 | 0 | 1 | 2 | 4.57 | 0 | 0 | 0 | 0 | 0 | 66.42 | 8 | 2 | 9 | 0 | 2 | 0 |
Analysis of Method : describeTo(Description) in Class : org.junit.experimental.results.ResultMatchers$TypeSafeMatcher | ||
---|---|---|
Feature | Number | Values |
Name | describeTo | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 17 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 218.45 | - |
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.38 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 64.73 | - |
Number of Operands | 9 | - |
Variable References | 2 | count (1) description (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : matchesSafely(PrintableResult) in Class : org.junit.experimental.results.ResultMatchers$TypeSafeMatcher | ||
---|---|---|
Feature | Number | Values |
Name | matchesSafely | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 17 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 303.62 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | org.junit.experimental.results.PrintableResult (1) |
External Methods Called | 1 | org.junit.experimental.results.PrintableResult.failureCount (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | item (org.junit.experimental.results.PrintableResult) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 4.57 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 66.42 | - |
Number of Operands | 8 | - |
Variable References | 2 | count (1) item (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |