![]() | Analysis of Class : org.junit.internal.runners.statements.ExpectException (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.runners.statements.ExpectException |
---|
![]() |
Cyclomatic Complexity |
Summary of ExpectException | ||
---|---|---|
Feature | Number | Values |
Name | ExpectException | - |
Number of Methods | 2 | - |
LCOM | 1.00 | - |
Average Cyclomatic Complexity | 2.50 | - |
Number of Statements | 15 | - |
Halstead Cumulative Bugs | 0.19 | - |
Halstead Effort | 5954.49 | - |
UnWeighted Class Size | 4 | - |
Instance Variables | 2 | fExpected (java.lang.Class) fNext (org.junit.runners.model.Statement) |
Imported Packages | 1 | org.junit.runners.model.Statement |
Response For class | 2 | - |
CBO | 2 | - |
Maintainability Index | 111.91 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 26 | - |
Fan In | 1 | - |
DIT | 1 | - |
Maintainability Index (NC) | 111.91 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 1.00 | - |
Local Method Calls | 0 | |
LCOM2 | 0.00 | - |
Max Complexity | 4 | - |
Halstead Cumulative Volume | 582.41 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 0 | - |
Fan Out | 1 | - |
SuperClass Name | org.junit.runners.model.Statement | - |
SIX | 0.33 | - |
External Method Calls | 0 | e.getClass (2) java.lang.Exception.Exception (1) org.junit.runners.model.Statement.evaluate (1) java.lang.Class.isAssignableFrom (1) java.lang.Class.getName (2) getClass().getName (1) java.lang.AssertionError.AssertionError (1) |
Superclasses | 1 | org.junit.runners.model.Statement |
Total Complexity | 5 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 2 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 121 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.runners.statements.ExpectException | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | ExpectException | 1 | 0 | 3 | 21 | 17 | 482.83 | 0.03 | 4 | 0 | 0 | 4 | 0 | 2 | 4 | 5.62 | 0 | 0 | 0 | 0 | 0 | 85.84 | 10 | 4 | 11 | 0 | 2 | 0 |
![]() | evaluate | 4 | 0 | 9 | 85 | 37 | 5283.45 | 0.15 | 4 | 7 | 0 | 17 | 0 | 0 | 2 | 11.93 | 2 | 1 | 1 | 0 | 3 | 442.80 | 35 | 10 | 50 | 2 | 18 | 0 |
Analysis of Method : ExpectException(Statement, Class) in Class : org.junit.internal.runners.statements.ExpectException | ||
---|---|---|
Feature | Number | Values |
Name | ExpectException | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 21 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 482.83 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 4 | org.junit.runners.model.Statement (1) ?extendsThrowable (1) java.lang.Class (1) java.lang.Throwable (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 2 | next (org.junit.runners.model.Statement) expected (java.lang.Class) |
Modifiers | 4 | private private final public |
Halstead Difficulty | 5.62 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 85.84 | - |
Number of Operands | 10 | - |
Variable References | 4 | fExpected (1) next (1) expected (1) fNext (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : evaluate() in Class : org.junit.internal.runners.statements.ExpectException | ||
---|---|---|
Feature | Number | Values |
Name | evaluate | - |
Cyclomatic Complexity | 4 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 9 | - |
Halstead Length | 85 | - |
Halstead Vocabulary | 37 | - |
Halstead Effort | 5283.45 | - |
Halstead Bugs | 0.15 | - |
Classes Referenced | 4 | java.lang.AssertionError (1) java.lang.String (1) java.lang.Throwable (1) java.lang.Exception (2) |
External Methods Called | 7 | e.getClass (2) java.lang.Exception.Exception (1) org.junit.runners.model.Statement.evaluate (1) java.lang.Class.isAssignableFrom (1) java.lang.Class.getName (2) getClass().getName (1) java.lang.AssertionError.AssertionError (1) |
Local Methods Called | 0 | |
Lines Of Code | 17 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 11.93 | - |
Variable Declarations | 2 | complete (boolean) message (java.lang.String) |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 1 | java.lang.Throwable (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 3 | - |
Halstead Volume | 442.80 | - |
Number of Operands | 35 | - |
Variable References | 10 | complete (2) fExpected (3) message (1) e (3) fNext (1) |
Number of Operators | 50 | - |
Max. depth of nesting | 2 | - |
Number of Expressions | 18 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |