![]() | Analysis of Class : org.junit.internal.AssumptionViolatedException (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.AssumptionViolatedException |
---|
![]() |
Cyclomatic Complexity |
Summary of AssumptionViolatedException | ||
---|---|---|
Feature | Number | Values |
Name | AssumptionViolatedException | - |
Number of Methods | 4 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.25 | - |
Number of Statements | 19 | - |
Halstead Cumulative Bugs | 0.17 | - |
Halstead Effort | 3199.58 | - |
UnWeighted Class Size | 7 | - |
Instance Variables | 3 | fValue (java.lang.Object) fMatcher (org.hamcrest.Matcher) serialVersionUID (long) |
Imported Packages | 4 | org.hamcrest.Description org.hamcrest.Matcher org.hamcrest.SelfDescribing org.hamcrest.StringDescription |
Response For class | 4 | - |
CBO | 10 | - |
Maintainability Index | 125.63 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 27 | - |
Fan In | 10 | - |
DIT | 1 | - |
Maintainability Index (NC) | 125.63 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.33 | - |
Local Method Calls | 0 | |
LCOM2 | 4.00 | - |
Max Complexity | 2 | - |
Halstead Cumulative Volume | 513.65 | - |
Hierarchy Method Calls | 1 | this (1) |
Number of Queries | 1 | - |
Fan Out | 0 | - |
SuperClass Name | java.lang.RuntimeException | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.hamcrest.Description.appendText (3) org.hamcrest.Description.appendDescriptionOf (1) org.hamcrest.StringDescription.asString (1) org.hamcrest.Description.appendValue (1) |
Superclasses | 1 | java.lang.RuntimeException |
Total Complexity | 5 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 3 | - |
Interfaces | 1 | org.hamcrest.SelfDescribing |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 123 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.AssumptionViolatedException | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | AssumptionViolatedException | 1 | 0 | 4 | 31 | 20 | 1004.85 | 0.04 | 4 | 0 | 0 | 5 | 0 | 2 | 8 | 7.50 | 0 | 0 | 0 | 1 | 0 | 133.98 | 15 | 6 | 16 | 0 | 6 | 0 |
![]() | AssumptionViolatedException | 1 | 0 | 2 | 11 | 9 | 83.69 | 0.01 | 1 | 0 | 1 | 3 | 0 | 1 | 1 | 2.40 | 0 | 0 | 0 | 0 | 0 | 34.87 | 6 | 1 | 5 | 0 | 0 | 0 |
![]() | describeTo | 2 | 0 | 7 | 47 | 22 | 1596.13 | 0.07 | 1 | 3 | 0 | 10 | 0 | 1 | 1 | 7.62 | 0 | 0 | 0 | 0 | 2 | 209.59 | 22 | 9 | 25 | 1 | 7 | 0 |
![]() | getMessage | 1 | 0 | 2 | 14 | 13 | 181.32 | 0.02 | 2 | 1 | 0 | 3 | 0 | 0 | 2 | 3.50 | 0 | 0 | 0 | 0 | 0 | 51.81 | 6 | 0 | 8 | 0 | 1 | 0 |
Analysis of Method : AssumptionViolatedException(Object, Matcher) in Class : org.junit.internal.AssumptionViolatedException | ||
---|---|---|
Feature | Number | Values |
Name | AssumptionViolatedException | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 31 | - |
Halstead Vocabulary | 20 | - |
Halstead Effort | 1004.85 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 4 | org.hamcrest.Matcher (1) java.lang.Object (1) java.lang.Throwable (3) ? (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 2 | value (java.lang.Object) matcher (org.hamcrest.Matcher) |
Modifiers | 8 | private static final private final private final public |
Halstead Difficulty | 7.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 1 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 133.98 | - |
Number of Operands | 15 | - |
Variable References | 6 | fValue (1) value (3) matcher (1) fMatcher (1) |
Number of Operators | 16 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 6 | - |
Number of Loops | 0 | - |
Analysis of Method : AssumptionViolatedException(String) in Class : org.junit.internal.AssumptionViolatedException | ||
---|---|---|
Feature | Number | Values |
Name | AssumptionViolatedException | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 83.69 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | this (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | assumption (java.lang.String) |
Modifiers | 1 | public |
Halstead Difficulty | 2.40 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 34.87 | - |
Number of Operands | 6 | - |
Variable References | 1 | assumption (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : describeTo(Description) in Class : org.junit.internal.AssumptionViolatedException | ||
---|---|---|
Feature | Number | Values |
Name | describeTo | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 7 | - |
Halstead Length | 47 | - |
Halstead Vocabulary | 22 | - |
Halstead Effort | 1596.13 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 1 | org.hamcrest.Description (1) |
External Methods Called | 3 | org.hamcrest.Description.appendText (3) org.hamcrest.Description.appendDescriptionOf (1) org.hamcrest.Description.appendValue (1) |
Local Methods Called | 0 | |
Lines Of Code | 10 | - |
Number of Comments | 0 | - |
Arguments | 1 | description (org.hamcrest.Description) |
Modifiers | 1 | public |
Halstead Difficulty | 7.62 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 2 | - |
Halstead Volume | 209.59 | - |
Number of Operands | 22 | - |
Variable References | 9 | fValue (2) description (5) fMatcher (2) |
Number of Operators | 25 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 7 | - |
Number of Loops | 0 | - |
Analysis of Method : getMessage() in Class : org.junit.internal.AssumptionViolatedException | ||
---|---|---|
Feature | Number | Values |
Name | getMessage | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 181.32 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | java.lang.String (1) org.hamcrest.StringDescription (1) |
External Methods Called | 1 | org.hamcrest.StringDescription.asString (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
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 | 51.81 | - |
Number of Operands | 6 | - |
Variable References | 0 | |
Number of Operators | 8 | - |
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 |