![]() | Analysis of Class : junit.framework.ComparisonFailure (Includes summary list of methods in class) | Home |
Dashboard for Class : junit.framework.ComparisonFailure |
---|
![]() |
Cyclomatic Complexity |
Summary of ComparisonFailure | ||
---|---|---|
Feature | Number | Values |
Name | ComparisonFailure | - |
Number of Methods | 4 | - |
LCOM | 0.25 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 15 | - |
Halstead Cumulative Bugs | 0.10 | - |
Halstead Effort | 1020.87 | - |
UnWeighted Class Size | 8 | - |
Instance Variables | 4 | fActual (java.lang.String) fExpected (java.lang.String) serialVersionUID (long) MAX_CONTEXT_LENGTH (int) |
Imported Packages | 0 | - |
Response For class | 4 | - |
CBO | 3 | - |
Maintainability Index | 102.03 | - |
Cumulative Number of Comment Lines | 25 | - |
Lines Of Code | 21 | - |
Fan In | 1 | - |
DIT | 2 | - |
Maintainability Index (NC) | 134.25 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.67 | - |
COH | 0.44 | - |
Local Method Calls | 0 | |
LCOM2 | 0.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 297.47 | - |
Hierarchy Method Calls | 1 | super.getMessage (1) |
Number of Queries | 3 | - |
Fan Out | 2 | - |
SuperClass Name | junit.framework.AssertionFailedError | - |
SIX | 0.00 | - |
External Method Calls | 0 | fActual().compact (1) junit.framework.ComparisonCompactor.ComparisonCompactor (1) |
Superclasses | 2 | java.lang.AssertionError junit.framework.AssertionFailedError |
Total Complexity | 4 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 1 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 5 | - |
Halstead Cumulative Length | 80 | - |
Modifiers | 0 | - |
Methods in Class : junit.framework.ComparisonFailure | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | ComparisonFailure | 1 | 6 | 4 | 22 | 13 | 330.73 | 0.03 | 1 | 0 | 0 | 5 | 1 | 3 | 9 | 4.06 | 0 | 0 | 0 | 0 | 0 | 81.41 | 13 | 5 | 9 | 0 | 3 | 0 |
![]() | getActual | 1 | 4 | 2 | 8 | 8 | 60.00 | 0.01 | 1 | 0 | 0 | 3 | 1 | 0 | 1 | 2.50 | 0 | 0 | 0 | 0 | 0 | 24.00 | 3 | 1 | 5 | 0 | 0 | 0 |
![]() | getExpected | 1 | 4 | 2 | 8 | 8 | 60.00 | 0.01 | 1 | 0 | 0 | 3 | 1 | 0 | 1 | 2.50 | 0 | 0 | 0 | 0 | 0 | 24.00 | 3 | 1 | 5 | 0 | 0 | 0 |
![]() | getMessage | 1 | 6 | 2 | 22 | 17 | 399.66 | 0.03 | 2 | 2 | 1 | 3 | 1 | 0 | 2 | 4.44 | 0 | 0 | 0 | 0 | 0 | 89.92 | 10 | 3 | 12 | 0 | 3 | 0 |
Analysis of Method : ComparisonFailure(String, String, String) in Class : junit.framework.ComparisonFailure | ||
---|---|---|
Feature | Number | Values |
Name | ComparisonFailure | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 6 | - |
Number of Statements | 4 | - |
Halstead Length | 22 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 330.73 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 1 | java.lang.String (3) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 1 | - |
Arguments | 3 | message (java.lang.String) expected (java.lang.String) actual (java.lang.String) |
Modifiers | 9 | private static final private static final private private public |
Halstead Difficulty | 4.06 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 81.41 | - |
Number of Operands | 13 | - |
Variable References | 5 | fActual (1) fExpected (1) expected (1) message (1) actual (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : getActual() in Class : junit.framework.ComparisonFailure | ||
---|---|---|
Feature | Number | Values |
Name | getActual | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 8 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 60.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 2.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 24.00 | - |
Number of Operands | 3 | - |
Variable References | 1 | fActual (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : getExpected() in Class : junit.framework.ComparisonFailure | ||
---|---|---|
Feature | Number | Values |
Name | getExpected | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 8 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 60.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 2.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 24.00 | - |
Number of Operands | 3 | - |
Variable References | 1 | fExpected (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : getMessage() in Class : junit.framework.ComparisonFailure | ||
---|---|---|
Feature | Number | Values |
Name | getMessage | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 6 | - |
Number of Statements | 2 | - |
Halstead Length | 22 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 399.66 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | java.lang.String (1) junit.framework.ComparisonCompactor (1) |
External Methods Called | 2 | fActual().compact (1) junit.framework.ComparisonCompactor.ComparisonCompactor (1) |
Local Methods Called | 1 | super.getMessage (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 4.44 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 89.92 | - |
Number of Operands | 10 | - |
Variable References | 3 | fActual (1) fExpected (1) MAX_CONTEXT_LENGTH (1) |
Number of Operators | 12 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |