![]() | Analysis of Class : junit.framework.JUnit4TestAdapterCache$RunListener (Includes summary list of methods in class) | Home |
Dashboard for Class : junit.framework.JUnit4TestAdapterCache$RunListener |
---|
![]() |
Cyclomatic Complexity |
Summary of JUnit4TestAdapterCache$RunListener | ||
---|---|---|
Feature | Number | Values |
Name | JUnit4TestAdapterCache$RunListener | - |
Number of Methods | 3 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 7 | - |
Halstead Cumulative Bugs | 0.09 | - |
Halstead Effort | 1039.57 | - |
UnWeighted Class Size | 3 | - |
Instance Variables | 0 | - |
Imported Packages | 8 | java.util.ArrayList java.util.Arrays java.util.HashMap java.util.List org.junit.runner.Description org.junit.runner.notification.Failure org.junit.runner.notification.RunListener org.junit.runner.notification.RunNotifier |
Response For class | 3 | - |
CBO | 2 | - |
Maintainability Index | 139.77 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 16 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 139.77 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.00 | - |
Local Method Calls | 0 | |
LCOM2 | 3.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 260.42 | - |
Hierarchy Method Calls | 1 | asTest (3) |
Number of Queries | 0 | - |
Fan Out | 2 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | result.startTest (1) result.addError (1) result.endTest (1) org.junit.runner.notification.Failure.getDescription (1) org.junit.runner.notification.Failure.getException (1) |
Superclasses | 0 | - |
Total Complexity | 3 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 3 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 64 | - |
Modifiers | 2 | @Override public |
Methods in Class : junit.framework.JUnit4TestAdapterCache$RunListener | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | testFailure | 1 | 0 | 2 | 26 | 18 | 448.46 | 0.04 | 2 | 3 | 1 | 3 | 0 | 1 | 2 | 4.14 | 0 | 1 | 0 | 0 | 0 | 108.42 | 13 | 3 | 13 | 0 | 4 | 0 |
![]() | testFinished | 1 | 0 | 2 | 19 | 16 | 295.56 | 0.03 | 2 | 1 | 1 | 4 | 0 | 1 | 2 | 3.89 | 0 | 1 | 0 | 0 | 0 | 76.00 | 10 | 2 | 9 | 0 | 2 | 0 |
![]() | testStarted | 1 | 0 | 2 | 19 | 16 | 295.56 | 0.03 | 2 | 1 | 1 | 4 | 0 | 1 | 2 | 3.89 | 0 | 1 | 0 | 0 | 0 | 76.00 | 10 | 2 | 9 | 0 | 2 | 0 |
Analysis of Method : testFailure(Failure) in Class : junit.framework.JUnit4TestAdapterCache$RunListener | ||
---|---|---|
Feature | Number | Values |
Name | testFailure | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 26 | - |
Halstead Vocabulary | 18 | - |
Halstead Effort | 448.46 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 2 | org.junit.runner.notification.Failure (1) java.lang.Exception (1) |
External Methods Called | 3 | result.addError (1) org.junit.runner.notification.Failure.getDescription (1) org.junit.runner.notification.Failure.getException (1) |
Local Methods Called | 1 | asTest (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | failure (org.junit.runner.notification.Failure) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 4.14 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 108.42 | - |
Number of Operands | 13 | - |
Variable References | 3 | result (1) failure (2) |
Number of Operators | 13 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : testFinished(Description) in Class : junit.framework.JUnit4TestAdapterCache$RunListener | ||
---|---|---|
Feature | Number | Values |
Name | testFinished | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 19 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 295.56 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | org.junit.runner.Description (1) java.lang.Exception (1) |
External Methods Called | 1 | result.endTest (1) |
Local Methods Called | 1 | asTest (1) |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 3.89 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 76.00 | - |
Number of Operands | 10 | - |
Variable References | 2 | result (1) description (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : testStarted(Description) in Class : junit.framework.JUnit4TestAdapterCache$RunListener | ||
---|---|---|
Feature | Number | Values |
Name | testStarted | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 19 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 295.56 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | org.junit.runner.Description (1) java.lang.Exception (1) |
External Methods Called | 1 | result.startTest (1) |
Local Methods Called | 1 | asTest (1) |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 3.89 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 76.00 | - |
Number of Operands | 10 | - |
Variable References | 2 | result (1) description (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |