![]() | Analysis of Class : org.junit.rules.ExpectedException$TypeSafeMatcher |
Home |
Dashboard for Class : org.junit.rules.ExpectedException$TypeSafeMatcher |
---|
![]() |
Cyclomatic Complexity |
Summary of ExpectedException$TypeSafeMatcher | ||
---|---|---|
Feature | Number | Values |
Name | ExpectedException$TypeSafeMatcher<Throwable> | - |
Number of Methods | 2 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 6 | - |
Halstead Cumulative Bugs | 0.05 | - |
Halstead Effort | 512.00 | - |
UnWeighted Class Size | 2 | - |
Instance Variables | 0 | - |
Imported Packages | 10 | org.hamcrest.CoreMatchers.instanceOf org.hamcrest.Description org.hamcrest.Matcher org.hamcrest.StringDescription org.junit.Assert org.junit.internal.matchers.TypeSafeMatcher org.junit.matchers.JUnitMatchers.both org.junit.matchers.JUnitMatchers.containsString org.junit.runners.model.FrameworkMethod org.junit.runners.model.Statement |
Response For class | 2 | - |
CBO | 0 | - |
Maintainability Index | 134.24 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 10 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 134.24 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.00 | - |
Local Method Calls | 0 | |
LCOM2 | 2.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 144.54 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 1 | - |
Fan Out | 0 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | matcher.matches (1) org.hamcrest.Description.appendText (1) java.lang.Throwable.getMessage (1) org.hamcrest.Description.appendDescriptionOf (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 | 38 | - |
Modifiers | 1 | public |
Methods in Class : org.junit.rules.ExpectedException$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 | 3 | 19 | 13 | 219.71 | 0.02 | 1 | 2 | 0 | 4 | 0 | 1 | 1 | 3.12 | 0 | 0 | 0 | 0 | 0 | 70.31 | 10 | 3 | 9 | 0 | 2 | 0 |
![]() | matchesSafely | 1 | 0 | 2 | 19 | 15 | 292.28 | 0.02 | 1 | 2 | 0 | 3 | 0 | 1 | 2 | 3.94 | 0 | 0 | 0 | 0 | 0 | 74.23 | 9 | 2 | 10 | 0 | 2 | 0 |
Analysis of Method : describeTo(Description) in Class : org.junit.rules.ExpectedException$TypeSafeMatcher | ||
---|---|---|
Feature | Number | Values |
Name | describeTo | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 19 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 219.71 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | org.hamcrest.Description (1) |
External Methods Called | 2 | org.hamcrest.Description.appendText (1) org.hamcrest.Description.appendDescriptionOf (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.12 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 70.31 | - |
Number of Operands | 10 | - |
Variable References | 3 | description (2) matcher (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : matchesSafely(Throwable) in Class : org.junit.rules.ExpectedException$TypeSafeMatcher | ||
---|---|---|
Feature | Number | Values |
Name | matchesSafely | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 19 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 292.28 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | java.lang.Throwable (1) |
External Methods Called | 2 | matcher.matches (1) java.lang.Throwable.getMessage (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | item (java.lang.Throwable) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 3.94 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 74.23 | - |
Number of Operands | 9 | - |
Variable References | 2 | item (1) matcher (1) |
Number of Operators | 10 | - |
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 |