![]() | Analysis of Class : org.junit.internal.ArrayComparisonFailure (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.ArrayComparisonFailure |
---|
![]() |
Cyclomatic Complexity |
Summary of ArrayComparisonFailure | ||
---|---|---|
Feature | Number | Values |
Name | ArrayComparisonFailure | - |
Number of Methods | 4 | - |
LCOM | 0.17 | - |
Average Cyclomatic Complexity | 1.50 | - |
Number of Statements | 27 | - |
Halstead Cumulative Bugs | 0.22 | - |
Halstead Effort | 6153.36 | - |
UnWeighted Class Size | 8 | - |
Instance Variables | 4 | fCause (java.lang.AssertionError) fIndices (java.util.List) fMessage (java.lang.String) serialVersionUID (long) |
Imported Packages | 3 | java.util.ArrayList java.util.List org.junit.Assert |
Response For class | 5 | - |
CBO | 2 | - |
Maintainability Index | 137.40 | - |
Cumulative Number of Comment Lines | 14 | - |
Lines Of Code | 32 | - |
Fan In | 2 | - |
DIT | 1 | - |
Maintainability Index (NC) | 116.78 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.38 | - |
Local Method Calls | 2 | getMessage (1) addDimension (1) |
LCOM2 | 2.00 | - |
Max Complexity | 3 | - |
Halstead Cumulative Volume | 671.53 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 2 | - |
Fan Out | 1 | - |
SuperClass Name | java.lang.AssertionError | - |
SIX | 0.00 | - |
External Method Calls | 1 | java.util.List.add (1) java.util.ArrayList.ArrayList (1) java.lang.AssertionError.getMessage (1) StringBuilder.append (7) StringBuilder.toString (1) StringBuilder.StringBuilder (1) |
Superclasses | 1 | java.lang.AssertionError |
Total Complexity | 6 | - |
Subclasses | 0 | - |
Message Passing Coupling | 1 | - |
Number of Commands | 2 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 3 | - |
Halstead Cumulative Length | 152 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.ArrayComparisonFailure | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | ArrayComparisonFailure | 1 | 7 | 4 | 22 | 15 | 279.34 | 0.03 | 2 | 0 | 1 | 5 | 1 | 3 | 9 | 3.25 | 0 | 0 | 0 | 0 | 0 | 85.95 | 13 | 5 | 9 | 0 | 3 | 0 |
![]() | addDimension | 1 | 0 | 2 | 14 | 12 | 143.40 | 0.02 | 0 | 1 | 0 | 3 | 0 | 1 | 1 | 2.86 | 0 | 0 | 0 | 0 | 0 | 50.19 | 8 | 2 | 6 | 0 | 1 | 0 |
![]() | getMessage | 3 | 0 | 14 | 77 | 30 | 5056.26 | 0.13 | 2 | 4 | 0 | 14 | 0 | 0 | 2 | 13.38 | 1 | 0 | 0 | 0 | 1 | 377.83 | 35 | 13 | 42 | 1 | 12 | 1 |
![]() | toString | 1 | 3 | 2 | 11 | 10 | 109.62 | 0.01 | 1 | 0 | 1 | 3 | 1 | 0 | 2 | 3.00 | 0 | 0 | 0 | 0 | 0 | 36.54 | 4 | 0 | 7 | 0 | 1 | 0 |
Analysis of Method : ArrayComparisonFailure(String, AssertionError, int) in Class : org.junit.internal.ArrayComparisonFailure | ||
---|---|---|
Feature | Number | Values |
Name | ArrayComparisonFailure | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 7 | - |
Number of Statements | 4 | - |
Halstead Length | 22 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 279.34 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | java.lang.AssertionError (1) java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | addDimension (1) |
Lines Of Code | 5 | - |
Number of Comments | 1 | - |
Arguments | 3 | message (java.lang.String) cause (java.lang.AssertionError) index (int) |
Modifiers | 9 | private static final private private final private final public |
Halstead Difficulty | 3.25 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 85.95 | - |
Number of Operands | 13 | - |
Variable References | 5 | fCause (1) index (1) message (1) cause (1) fMessage (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : addDimension(int) in Class : org.junit.internal.ArrayComparisonFailure | ||
---|---|---|
Feature | Number | Values |
Name | addDimension | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 143.40 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 0 | |
External Methods Called | 1 | java.util.List.add (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | index (int) |
Modifiers | 1 | public |
Halstead Difficulty | 2.86 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 50.19 | - |
Number of Operands | 8 | - |
Variable References | 2 | fIndices (1) index (1) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getMessage() in Class : org.junit.internal.ArrayComparisonFailure | ||
---|---|---|
Feature | Number | Values |
Name | getMessage | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 14 | - |
Halstead Length | 77 | - |
Halstead Vocabulary | 30 | - |
Halstead Effort | 5056.26 | - |
Halstead Bugs | 0.13 | - |
Classes Referenced | 2 | java.lang.String (1) StringBuilder (2) |
External Methods Called | 4 | java.lang.AssertionError.getMessage (1) StringBuilder.append (7) StringBuilder.toString (1) StringBuilder.StringBuilder (1) |
Local Methods Called | 0 | |
Lines Of Code | 14 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 13.38 | - |
Variable Declarations | 1 | builder (StringBuilder) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 377.83 | - |
Number of Operands | 35 | - |
Variable References | 13 | fCause (1) fIndices (1) builder (8) each (1) fMessage (2) |
Number of Operators | 42 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 12 | - |
Number of Loops | 1 | - |
Analysis of Method : toString() in Class : org.junit.internal.ArrayComparisonFailure | ||
---|---|---|
Feature | Number | Values |
Name | toString | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 10 | - |
Halstead Effort | 109.62 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | getMessage (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 3.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 36.54 | - |
Number of Operands | 4 | - |
Variable References | 0 | |
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 |