![]() | Analysis of Class : org.junit.Assume (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.Assume |
---|
![]() |
Cyclomatic Complexity |
Summary of Assume | ||
---|---|---|
Feature | Number | Values |
Name | Assume | - |
Number of Methods | 4 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.25 | - |
Number of Statements | 9 | - |
Halstead Cumulative Bugs | 0.11 | - |
Halstead Effort | 2029.36 | - |
UnWeighted Class Size | 4 | - |
Instance Variables | 0 | - |
Imported Packages | 7 | java.util.Arrays.asList org.hamcrest.CoreMatchers.is org.hamcrest.CoreMatchers.notNullValue org.hamcrest.CoreMatchers.nullValue org.hamcrest.Matcher org.junit.internal.AssumptionViolatedException org.junit.internal.matchers.Each |
Response For class | 4 | - |
CBO | 2 | - |
Maintainability Index | 137.94 | - |
Cumulative Number of Comment Lines | 66 | - |
Lines Of Code | 15 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 138.42 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.00 | - |
Local Method Calls | 1 | assumeThat (3) |
LCOM2 | 4.00 | - |
Max Complexity | 2 | - |
Halstead Cumulative Volume | 322.19 | - |
Hierarchy Method Calls | 4 | nullValue (1) asList (1) is (1) notNullValue (1) |
Number of Queries | 0 | - |
Fan Out | 2 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.hamcrest.Matcher.matches (1) org.junit.internal.matchers.Each.each (1) org.junit.internal.AssumptionViolatedException.AssumptionViolatedException (1) |
Superclasses | 0 | - |
Total Complexity | 5 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 4 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 5 | - |
Halstead Cumulative Length | 83 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.Assume | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | assumeNoException | 1 | 18 | 2 | 14 | 11 | 141.26 | 0.02 | 1 | 0 | 2 | 3 | 1 | 1 | 2 | 2.92 | 0 | 0 | 0 | 0 | 0 | 48.43 | 7 | 1 | 7 | 0 | 1 | 0 |
![]() | assumeNotNull | 1 | 4 | 2 | 21 | 16 | 326.67 | 0.03 | 2 | 1 | 3 | 3 | 1 | 1 | 2 | 3.89 | 0 | 0 | 0 | 0 | 0 | 84.00 | 10 | 1 | 11 | 0 | 3 | 0 |
![]() | assumeThat | 2 | 18 | 2 | 31 | 20 | 1406.79 | 0.04 | 3 | 2 | 0 | 4 | 1 | 2 | 2 | 10.50 | 0 | 0 | 0 | 0 | 0 | 133.98 | 14 | 4 | 17 | 0 | 3 | 0 |
![]() | assumeTrue | 1 | 4 | 2 | 15 | 12 | 153.64 | 0.02 | 0 | 0 | 2 | 3 | 1 | 1 | 2 | 2.86 | 0 | 0 | 0 | 0 | 0 | 53.77 | 8 | 1 | 7 | 0 | 1 | 0 |
Analysis of Method : assumeNoException(Throwable) in Class : org.junit.Assume | ||
---|---|---|
Feature | Number | Values |
Name | assumeNoException | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 18 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 141.26 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | java.lang.Throwable (1) |
External Methods Called | 0 | |
Local Methods Called | 2 | nullValue (1) assumeThat (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | t (java.lang.Throwable) |
Modifiers | 2 | public static |
Halstead Difficulty | 2.92 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 48.43 | - |
Number of Operands | 7 | - |
Variable References | 1 | t (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : assumeNotNull(Object...) in Class : org.junit.Assume | ||
---|---|---|
Feature | Number | Values |
Name | assumeNotNull | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 21 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 326.67 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | java.lang.Object (1) org.junit.internal.matchers.Each (1) |
External Methods Called | 1 | org.junit.internal.matchers.Each.each (1) |
Local Methods Called | 3 | asList (1) notNullValue (1) assumeThat (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | objects (java.lang.Object...) |
Modifiers | 2 | public static |
Halstead Difficulty | 3.89 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 84.00 | - |
Number of Operands | 10 | - |
Variable References | 1 | objects (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : assumeThat(T, Matcher) in Class : org.junit.Assume | ||
---|---|---|
Feature | Number | Values |
Name | assumeThat | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 18 | - |
Number of Statements | 2 | - |
Halstead Length | 31 | - |
Halstead Vocabulary | 20 | - |
Halstead Effort | 1406.79 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 3 | T (3) org.hamcrest.Matcher (1) org.junit.internal.AssumptionViolatedException (1) |
External Methods Called | 2 | org.hamcrest.Matcher.matches (1) org.junit.internal.AssumptionViolatedException.AssumptionViolatedException (1) |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 1 | - |
Arguments | 2 | actual (T) matcher (org.hamcrest.Matcher) |
Modifiers | 2 | public static |
Halstead Difficulty | 10.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 133.98 | - |
Number of Operands | 14 | - |
Variable References | 4 | matcher (2) actual (2) |
Number of Operators | 17 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : assumeTrue(boolean) in Class : org.junit.Assume | ||
---|---|---|
Feature | Number | Values |
Name | assumeTrue | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 153.64 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 2 | is (1) assumeThat (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | b (boolean) |
Modifiers | 2 | public static |
Halstead Difficulty | 2.86 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 53.77 | - |
Number of Operands | 8 | - |
Variable References | 1 | b (1) |
Number of Operators | 7 | - |
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 |