Analysis of Class : org.junit.ComparisonFailure (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.ComparisonFailure
Cyclomatic Complexity

Summary of ComparisonFailure
FeatureNumberValues
NameComparisonFailure-
Number of Methods4-
LCOM0.25-
Average Cyclomatic Complexity1.00-
Number of Statements15-
Halstead Cumulative Bugs0.10-
Halstead Effort1020.87-
UnWeighted Class Size8-
Instance Variables4fActual (java.lang.String)
fExpected (java.lang.String)
serialVersionUID (long)
MAX_CONTEXT_LENGTH (int)
Imported Packages0 -
Response For class4-
CBO1-
Maintainability Index91.96-
Cumulative Number of Comment Lines31-
Lines Of Code21-
Fan In1-
DIT1-
Maintainability Index (NC)134.25-
Specialization ratio0.00-
Reuse Ratio0.50-
COH0.44-
Local Method Calls0
LCOM20.00-
Max Complexity1-
Halstead Cumulative Volume297.47-
Hierarchy Method Calls1super.getMessage (1)
Number of Queries3-
Fan Out0-
SuperClass Namejava.lang.AssertionError-
SIX0.00-
External Method Calls0org.junit.ComparisonCompactor.ComparisonCompactor (1)
fActual().compact (1)
Superclasses1java.lang.AssertionError
Total Complexity4-
Subclasses0 -
Message Passing Coupling0-
Number of Commands1-
Interfaces0 -
Cumulative Number of Comments5-
Halstead Cumulative Length80-
Modifiers0 -
Summary of methods in org.junit.ComparisonFailure
Methods in Class : org.junit.ComparisonFailure
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
ComparisonFailure1642213330.730.0310051394.060000081.411359030
getActual1428860.000.0110031012.500000024.00315000
getExpected1428860.000.0110031012.500000024.00315000
getMessage1622217399.660.0322131024.440000089.9210312030


Analysis of Method : ComparisonFailure(String, String, String) in Class : org.junit.ComparisonFailure
FeatureNumberValues
NameComparisonFailure-
Cyclomatic Complexity1-
Number of Comment Lines6-
Number of Statements4-
Halstead Length22-
Halstead Vocabulary13-
Halstead Effort330.73-
Halstead Bugs0.03-
Classes Referenced1java.lang.String (3)
External Methods Called0
Local Methods Called0
Lines Of Code5-
Number of Comments1-
Arguments3message (java.lang.String)
expected (java.lang.String)
actual (java.lang.String)
Modifiers9private
static
final
private
static
final
private
private
public
Halstead Difficulty4.06-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume81.41-
Number of Operands13-
Variable References5fActual (1)
fExpected (1)
expected (1)
message (1)
actual (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : getActual() in Class : org.junit.ComparisonFailure
FeatureNumberValues
NamegetActual-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length8-
Halstead Vocabulary8-
Halstead Effort60.00-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume24.00-
Number of Operands3-
Variable References1fActual (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : getExpected() in Class : org.junit.ComparisonFailure
FeatureNumberValues
NamegetExpected-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length8-
Halstead Vocabulary8-
Halstead Effort60.00-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume24.00-
Number of Operands3-
Variable References1fExpected (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : getMessage() in Class : org.junit.ComparisonFailure
FeatureNumberValues
NamegetMessage-
Cyclomatic Complexity1-
Number of Comment Lines6-
Number of Statements2-
Halstead Length22-
Halstead Vocabulary17-
Halstead Effort399.66-
Halstead Bugs0.03-
Classes Referenced2java.lang.String (1)
org.junit.ComparisonCompactor (1)
External Methods Called2org.junit.ComparisonCompactor.ComparisonCompactor (1)
fActual().compact (1)
Local Methods Called1super.getMessage (1)
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty4.44-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume89.92-
Number of Operands10-
Variable References3fActual (1)
fExpected (1)
MAX_CONTEXT_LENGTH (1)
Number of Operators12-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

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