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
FeatureNumberValues
NameAssumptionViolatedException-
Number of Methods4-
LCOM0.00-
Average Cyclomatic Complexity1.25-
Number of Statements19-
Halstead Cumulative Bugs0.17-
Halstead Effort3199.58-
UnWeighted Class Size7-
Instance Variables3fValue (java.lang.Object)
fMatcher (org.hamcrest.Matcher)
serialVersionUID (long)
Imported Packages4org.hamcrest.Description
org.hamcrest.Matcher
org.hamcrest.SelfDescribing
org.hamcrest.StringDescription
Response For class4-
CBO10-
Maintainability Index125.63-
Cumulative Number of Comment Lines0-
Lines Of Code27-
Fan In10-
DIT1-
Maintainability Index (NC)125.63-
Specialization ratio0.00-
Reuse Ratio0.50-
COH0.33-
Local Method Calls0
LCOM24.00-
Max Complexity2-
Halstead Cumulative Volume513.65-
Hierarchy Method Calls1this (1)
Number of Queries1-
Fan Out0-
SuperClass Namejava.lang.RuntimeException-
SIX0.00-
External Method Calls0org.hamcrest.Description.appendText (3)
org.hamcrest.Description.appendDescriptionOf (1)
org.hamcrest.StringDescription.asString (1)
org.hamcrest.Description.appendValue (1)
Superclasses1java.lang.RuntimeException
Total Complexity5-
Subclasses0 -
Message Passing Coupling0-
Number of Commands3-
Interfaces1org.hamcrest.SelfDescribing
Cumulative Number of Comments0-
Halstead Cumulative Length123-
Modifiers0 -
Summary of methods in org.junit.internal.AssumptionViolatedException
Methods in Class : org.junit.internal.AssumptionViolatedException
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
AssumptionViolatedException10431201004.850.0440050287.5000010133.9815616060
AssumptionViolatedException10211983.690.0110130112.400000034.87615000
describeTo20747221596.130.07130100117.6200002209.5922925170
getMessage1021413181.320.0221030023.500000051.81608010


Analysis of Method : AssumptionViolatedException(Object, Matcher) in Class : org.junit.internal.AssumptionViolatedException
FeatureNumberValues
NameAssumptionViolatedException-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements4-
Halstead Length31-
Halstead Vocabulary20-
Halstead Effort1004.85-
Halstead Bugs0.04-
Classes Referenced4org.hamcrest.Matcher (1)
java.lang.Object (1)
java.lang.Throwable (3)
? (1)
External Methods Called0
Local Methods Called0
Lines Of Code5-
Number of Comments0-
Arguments2value (java.lang.Object)
matcher (org.hamcrest.Matcher)
Modifiers8private
static
final
private
final
private
final
public
Halstead Difficulty7.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts1-
Total Depth of Nesting0-
Halstead Volume133.98-
Number of Operands15-
Variable References6fValue (1)
value (3)
matcher (1)
fMatcher (1)
Number of Operators16-
Max. depth of nesting0-
Number of Expressions6-
Number of Loops0-

Top of this page

Analysis of Method : AssumptionViolatedException(String) in Class : org.junit.internal.AssumptionViolatedException
FeatureNumberValues
NameAssumptionViolatedException-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary9-
Halstead Effort83.69-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called1this (1)
Lines Of Code3-
Number of Comments0-
Arguments1assumption (java.lang.String)
Modifiers1public
Halstead Difficulty2.40-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume34.87-
Number of Operands6-
Variable References1assumption (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : describeTo(Description) in Class : org.junit.internal.AssumptionViolatedException
FeatureNumberValues
NamedescribeTo-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements7-
Halstead Length47-
Halstead Vocabulary22-
Halstead Effort1596.13-
Halstead Bugs0.07-
Classes Referenced1org.hamcrest.Description (1)
External Methods Called3org.hamcrest.Description.appendText (3)
org.hamcrest.Description.appendDescriptionOf (1)
org.hamcrest.Description.appendValue (1)
Local Methods Called0
Lines Of Code10-
Number of Comments0-
Arguments1description (org.hamcrest.Description)
Modifiers1public
Halstead Difficulty7.62-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting2-
Halstead Volume209.59-
Number of Operands22-
Variable References9fValue (2)
description (5)
fMatcher (2)
Number of Operators25-
Max. depth of nesting1-
Number of Expressions7-
Number of Loops0-

Top of this page

Analysis of Method : getMessage() in Class : org.junit.internal.AssumptionViolatedException
FeatureNumberValues
NamegetMessage-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary13-
Halstead Effort181.32-
Halstead Bugs0.02-
Classes Referenced2java.lang.String (1)
org.hamcrest.StringDescription (1)
External Methods Called1org.hamcrest.StringDescription.asString (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty3.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume51.81-
Number of Operands6-
Variable References0
Number of Operators8-
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