![]() | Analysis of Class : org.junit.experimental.results.ResultMatchers (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.experimental.results.ResultMatchers |
---|
![]() |
Cyclomatic Complexity |
Summary of ResultMatchers | ||
---|---|---|
Feature | Number | Values |
Name | ResultMatchers | - |
Number of Methods | 4 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 9 | - |
Halstead Cumulative Bugs | 0.30 | - |
Halstead Effort | 7585.96 | - |
UnWeighted Class Size | 4 | - |
Instance Variables | 0 | - |
Imported Packages | 4 | org.hamcrest.BaseMatcher org.hamcrest.Description org.hamcrest.Matcher org.junit.internal.matchers.TypeSafeMatcher |
Response For class | 4 | - |
CBO | 2 | - |
Maintainability Index | 116.08 | - |
Cumulative Number of Comment Lines | 21 | - |
Lines Of Code | 11 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 133.96 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.00 | - |
Local Method Calls | 1 | failureCountIs (1) |
LCOM2 | 4.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 893.87 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 4 | - |
Fan Out | 2 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.hamcrest.BaseMatcher.BaseMatcher (2) org.junit.internal.matchers.TypeSafeMatcher.TypeSafeMatcher (1) |
Superclasses | 0 | - |
Total Complexity | 4 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 0 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 5 | - |
Halstead Cumulative Length | 185 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.experimental.results.ResultMatchers | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | failureCountIs | 1 | 3 | 2 | 55 | 32 | 2566.67 | 0.09 | 3 | 1 | 0 | 11 | 1 | 1 | 2 | 9.33 | 0 | 0 | 0 | 0 | 0 | 275.00 | 24 | 0 | 31 | 0 | 1 | 0 |
![]() | hasFailureContaining | 1 | 4 | 2 | 53 | 30 | 1993.83 | 0.09 | 4 | 1 | 0 | 10 | 1 | 1 | 2 | 7.67 | 0 | 0 | 0 | 0 | 0 | 260.07 | 23 | 0 | 30 | 0 | 1 | 0 |
![]() | hasSingleFailureContaining | 1 | 3 | 2 | 61 | 32 | 2817.24 | 0.10 | 4 | 1 | 0 | 10 | 1 | 1 | 2 | 9.24 | 0 | 0 | 0 | 0 | 0 | 305.00 | 27 | 0 | 34 | 0 | 1 | 0 |
![]() | isSuccessful | 1 | 3 | 2 | 14 | 13 | 207.22 | 0.02 | 2 | 0 | 1 | 3 | 1 | 0 | 2 | 4.00 | 0 | 0 | 0 | 0 | 0 | 51.81 | 5 | 0 | 9 | 0 | 1 | 0 |
Analysis of Method : failureCountIs(int) in Class : org.junit.experimental.results.ResultMatchers | ||
---|---|---|
Feature | Number | Values |
Name | failureCountIs | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 55 | - |
Halstead Vocabulary | 32 | - |
Halstead Effort | 2566.67 | - |
Halstead Bugs | 0.09 | - |
Classes Referenced | 3 | org.junit.internal.matchers.TypeSafeMatcher (1) org.hamcrest.Matcher (1) org.junit.experimental.results.PrintableResult (1) |
External Methods Called | 1 | org.junit.internal.matchers.TypeSafeMatcher.TypeSafeMatcher (1) |
Local Methods Called | 0 | |
Lines Of Code | 11 | - |
Number of Comments | 1 | - |
Arguments | 1 | count (int) |
Modifiers | 2 | public static |
Halstead Difficulty | 9.33 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 275.00 | - |
Number of Operands | 24 | - |
Variable References | 0 | |
Number of Operators | 31 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : hasFailureContaining(String) in Class : org.junit.experimental.results.ResultMatchers | ||
---|---|---|
Feature | Number | Values |
Name | hasFailureContaining | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 53 | - |
Halstead Vocabulary | 30 | - |
Halstead Effort | 1993.83 | - |
Halstead Bugs | 0.09 | - |
Classes Referenced | 4 | java.lang.String (1) org.hamcrest.Matcher (1) org.hamcrest.BaseMatcher (1) org.junit.experimental.results.PrintableResult (1) |
External Methods Called | 1 | org.hamcrest.BaseMatcher.BaseMatcher (1) |
Local Methods Called | 0 | |
Lines Of Code | 10 | - |
Number of Comments | 1 | - |
Arguments | 1 | string (java.lang.String) |
Modifiers | 2 | public static |
Halstead Difficulty | 7.67 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 260.07 | - |
Number of Operands | 23 | - |
Variable References | 0 | |
Number of Operators | 30 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : hasSingleFailureContaining(String) in Class : org.junit.experimental.results.ResultMatchers | ||
---|---|---|
Feature | Number | Values |
Name | hasSingleFailureContaining | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 61 | - |
Halstead Vocabulary | 32 | - |
Halstead Effort | 2817.24 | - |
Halstead Bugs | 0.10 | - |
Classes Referenced | 4 | java.lang.String (1) org.hamcrest.Matcher (1) org.hamcrest.BaseMatcher (1) java.lang.Object (1) |
External Methods Called | 1 | org.hamcrest.BaseMatcher.BaseMatcher (1) |
Local Methods Called | 0 | |
Lines Of Code | 10 | - |
Number of Comments | 1 | - |
Arguments | 1 | string (java.lang.String) |
Modifiers | 2 | public static |
Halstead Difficulty | 9.24 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 305.00 | - |
Number of Operands | 27 | - |
Variable References | 0 | |
Number of Operators | 34 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : isSuccessful() in Class : org.junit.experimental.results.ResultMatchers | ||
---|---|---|
Feature | Number | Values |
Name | isSuccessful | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 207.22 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.hamcrest.Matcher (1) org.junit.experimental.results.PrintableResult (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | failureCountIs (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 2 | public static |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 51.81 | - |
Number of Operands | 5 | - |
Variable References | 0 | |
Number of Operators | 9 | - |
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 |