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
FeatureNumberValues
NameAssume-
Number of Methods4-
LCOM0.00-
Average Cyclomatic Complexity1.25-
Number of Statements9-
Halstead Cumulative Bugs0.11-
Halstead Effort2029.36-
UnWeighted Class Size4-
Instance Variables0 -
Imported Packages7java.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 class4-
CBO2-
Maintainability Index137.94-
Cumulative Number of Comment Lines66-
Lines Of Code15-
Fan In0-
DIT1-
Maintainability Index (NC)138.42-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.00-
Local Method Calls1assumeThat (3)
LCOM24.00-
Max Complexity2-
Halstead Cumulative Volume322.19-
Hierarchy Method Calls4nullValue (1)
asList (1)
is (1)
notNullValue (1)
Number of Queries0-
Fan Out2-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0org.hamcrest.Matcher.matches (1)
org.junit.internal.matchers.Each.each (1)
org.junit.internal.AssumptionViolatedException.AssumptionViolatedException (1)
Superclasses0 -
Total Complexity5-
Subclasses0 -
Message Passing Coupling0-
Number of Commands4-
Interfaces0 -
Cumulative Number of Comments5-
Halstead Cumulative Length83-
Modifiers0 -
Summary of methods in org.junit.Assume
Methods in Class : org.junit.Assume
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
assumeNoException11821411141.260.0210231122.920000048.43717010
assumeNotNull1422116326.670.0321331123.890000084.0010111030
assumeThat218231201406.790.04320412210.5000000133.9814417030
assumeTrue1421512153.640.0200231122.860000053.77817010


Analysis of Method : assumeNoException(Throwable) in Class : org.junit.Assume
FeatureNumberValues
NameassumeNoException-
Cyclomatic Complexity1-
Number of Comment Lines18-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary11-
Halstead Effort141.26-
Halstead Bugs0.02-
Classes Referenced1java.lang.Throwable (1)
External Methods Called0
Local Methods Called2nullValue (1)
assumeThat (1)
Lines Of Code3-
Number of Comments1-
Arguments1t (java.lang.Throwable)
Modifiers2public
static
Halstead Difficulty2.92-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume48.43-
Number of Operands7-
Variable References1t (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : assumeNotNull(Object...) in Class : org.junit.Assume
FeatureNumberValues
NameassumeNotNull-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length21-
Halstead Vocabulary16-
Halstead Effort326.67-
Halstead Bugs0.03-
Classes Referenced2java.lang.Object (1)
org.junit.internal.matchers.Each (1)
External Methods Called1org.junit.internal.matchers.Each.each (1)
Local Methods Called3asList (1)
notNullValue (1)
assumeThat (1)
Lines Of Code3-
Number of Comments1-
Arguments1objects (java.lang.Object...)
Modifiers2public
static
Halstead Difficulty3.89-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume84.00-
Number of Operands10-
Variable References1objects (1)
Number of Operators11-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : assumeThat(T, Matcher) in Class : org.junit.Assume
FeatureNumberValues
NameassumeThat-
Cyclomatic Complexity2-
Number of Comment Lines18-
Number of Statements2-
Halstead Length31-
Halstead Vocabulary20-
Halstead Effort1406.79-
Halstead Bugs0.04-
Classes Referenced3T (3)
org.hamcrest.Matcher (1)
org.junit.internal.AssumptionViolatedException (1)
External Methods Called2org.hamcrest.Matcher.matches (1)
org.junit.internal.AssumptionViolatedException.AssumptionViolatedException (1)
Local Methods Called0
Lines Of Code4-
Number of Comments1-
Arguments2actual (T)
matcher (org.hamcrest.Matcher)
Modifiers2public
static
Halstead Difficulty10.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume133.98-
Number of Operands14-
Variable References4matcher (2)
actual (2)
Number of Operators17-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : assumeTrue(boolean) in Class : org.junit.Assume
FeatureNumberValues
NameassumeTrue-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length15-
Halstead Vocabulary12-
Halstead Effort153.64-
Halstead Bugs0.02-
Classes Referenced0
External Methods Called0
Local Methods Called2is (1)
assumeThat (1)
Lines Of Code3-
Number of Comments1-
Arguments1b (boolean)
Modifiers2public
static
Halstead Difficulty2.86-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume53.77-
Number of Operands8-
Variable References1b (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Top of this page Data Generated by JHawk - The Java Metrics tool Home