![]() | Analysis of Class : org.junit.internal.runners.Deprecated (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.runners.Deprecated |
---|
![]() |
Cyclomatic Complexity |
Summary of Deprecated | ||
---|---|---|
Feature | Number | Values |
Name | Deprecated | - |
Number of Methods | 9 | - |
LCOM | 0.06 | - |
Average Cyclomatic Complexity | 1.22 | - |
Number of Statements | 26 | - |
Halstead Cumulative Bugs | 0.28 | - |
Halstead Effort | 5684.13 | - |
UnWeighted Class Size | 11 | - |
Instance Variables | 2 | fMethod (java.lang.reflect.Method) fTestClass (TestClass) |
Imported Packages | 9 | java.lang.reflect.InvocationTargetException java.lang.reflect.Method java.util.List org.junit.After org.junit.Before org.junit.Ignore org.junit.Test org.junit.Test.None org.junit.runners.BlockJUnit4ClassRunner |
Response For class | 9 | - |
CBO | 2 | - |
Maintainability Index | 137.67 | - |
Cumulative Number of Comment Lines | 5 | - |
Lines Of Code | 40 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 137.67 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.44 | - |
Local Method Calls | 1 | getExpectedException (1) |
LCOM2 | 6.00 | - |
Max Complexity | 2 | - |
Halstead Cumulative Volume | 829.95 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 3 | - |
Fan Out | 2 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.junit.Test.expected (2) java.lang.reflect.Method.getAnnotation (3) org.junit.Test.timeout (1) java.lang.reflect.Method.invoke (1) java.lang.Throwable.getClass (1) TestClass.getAnnotatedMethods (2) .isAssignableFrom (1) |
Superclasses | 0 | - |
Total Complexity | 11 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 6 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 1 | - |
Halstead Cumulative Length | 207 | - |
Modifiers | 1 | public |
Methods in Class : org.junit.internal.runners.Deprecated | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | TestMethod | 1 | 0 | 3 | 16 | 12 | 184.37 | 0.02 | 2 | 0 | 0 | 4 | 0 | 2 | 1 | 3.21 | 0 | 0 | 0 | 0 | 0 | 57.36 | 9 | 4 | 7 | 0 | 2 | 0 |
![]() | expectsException | 1 | 0 | 2 | 10 | 9 | 79.25 | 0.01 | 0 | 0 | 1 | 3 | 0 | 0 | 0 | 2.50 | 0 | 0 | 0 | 0 | 0 | 31.70 | 4 | 0 | 6 | 0 | 1 | 0 |
![]() | getAfters | 1 | 0 | 2 | 16 | 14 | 243.67 | 0.02 | 2 | 1 | 0 | 3 | 0 | 0 | 0 | 4.00 | 0 | 0 | 0 | 0 | 0 | 60.92 | 6 | 2 | 10 | 0 | 2 | 0 |
![]() | getBefores | 1 | 0 | 2 | 16 | 14 | 243.67 | 0.02 | 2 | 1 | 0 | 3 | 0 | 0 | 0 | 4.00 | 0 | 0 | 0 | 0 | 0 | 60.92 | 6 | 2 | 10 | 0 | 2 | 0 |
![]() | getExpectedException | 2 | 0 | 3 | 45 | 26 | 2707.45 | 0.07 | 3 | 2 | 0 | 7 | 0 | 0 | 1 | 12.80 | 1 | 0 | 0 | 0 | 0 | 211.52 | 16 | 6 | 29 | 0 | 5 | 0 |
![]() | getTimeout | 2 | 0 | 5 | 35 | 19 | 1238.98 | 0.05 | 1 | 2 | 0 | 7 | 0 | 0 | 1 | 8.33 | 2 | 0 | 0 | 0 | 0 | 148.68 | 15 | 5 | 20 | 0 | 6 | 0 |
![]() | invoke | 1 | 0 | 2 | 17 | 14 | 242.72 | 0.02 | 4 | 1 | 0 | 3 | 0 | 1 | 1 | 3.75 | 0 | 3 | 0 | 0 | 0 | 64.73 | 10 | 2 | 7 | 0 | 1 | 0 |
![]() | isIgnored | 1 | 0 | 2 | 16 | 14 | 243.67 | 0.02 | 1 | 1 | 0 | 3 | 0 | 0 | 1 | 4.00 | 0 | 0 | 0 | 0 | 0 | 60.92 | 6 | 2 | 10 | 0 | 2 | 0 |
![]() | isUnexpected | 1 | 0 | 2 | 18 | 13 | 228.37 | 0.02 | 1 | 2 | 0 | 3 | 0 | 1 | 0 | 3.43 | 0 | 0 | 0 | 0 | 0 | 66.61 | 8 | 1 | 10 | 0 | 2 | 0 |
Analysis of Method : TestMethod(Method, TestClass) in Class : org.junit.internal.runners.Deprecated | ||
---|---|---|
Feature | Number | Values |
Name | TestMethod | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 184.37 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | TestClass (1) java.lang.reflect.Method (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 2 | method (java.lang.reflect.Method) testClass (TestClass) |
Modifiers | 1 | public |
Halstead Difficulty | 3.21 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 57.36 | - |
Number of Operands | 9 | - |
Variable References | 4 | fMethod (1) fTestClass (1) testClass (1) method (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : expectsException() in Class : org.junit.internal.runners.Deprecated | ||
---|---|---|
Feature | Number | Values |
Name | expectsException | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 79.25 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 1 | getExpectedException (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 0 | - |
Halstead Difficulty | 2.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 31.70 | - |
Number of Operands | 4 | - |
Variable References | 0 | |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getAfters() in Class : org.junit.internal.runners.Deprecated | ||
---|---|---|
Feature | Number | Values |
Name | getAfters | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 243.67 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.After (1) java.util.List (1) |
External Methods Called | 1 | TestClass.getAnnotatedMethods (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 0 | - |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 60.92 | - |
Number of Operands | 6 | - |
Variable References | 2 | After.class (1) fTestClass (1) |
Number of Operators | 10 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : getBefores() in Class : org.junit.internal.runners.Deprecated | ||
---|---|---|
Feature | Number | Values |
Name | getBefores | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 243.67 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.Before (1) java.util.List (1) |
External Methods Called | 1 | TestClass.getAnnotatedMethods (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 0 | - |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 60.92 | - |
Number of Operands | 6 | - |
Variable References | 2 | fTestClass (1) Before.class (1) |
Number of Operators | 10 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : getExpectedException() in Class : org.junit.internal.runners.Deprecated | ||
---|---|---|
Feature | Number | Values |
Name | getExpectedException | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 45 | - |
Halstead Vocabulary | 26 | - |
Halstead Effort | 2707.45 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 3 | org.junit.Test.None (1) java.lang.Class (1) org.junit.Test (2) |
External Methods Called | 2 | org.junit.Test.expected (2) java.lang.reflect.Method.getAnnotation (1) |
Local Methods Called | 0 | |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 12.80 | - |
Variable Declarations | 1 | annotation (org.junit.Test) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 211.52 | - |
Number of Operands | 16 | - |
Variable References | 6 | annotation (3) fMethod (1) Test.class (1) None.class (1) |
Number of Operators | 29 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 0 | - |
Analysis of Method : getTimeout() in Class : org.junit.internal.runners.Deprecated | ||
---|---|---|
Feature | Number | Values |
Name | getTimeout | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 5 | - |
Halstead Length | 35 | - |
Halstead Vocabulary | 19 | - |
Halstead Effort | 1238.98 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 1 | org.junit.Test (2) |
External Methods Called | 2 | java.lang.reflect.Method.getAnnotation (1) org.junit.Test.timeout (1) |
Local Methods Called | 0 | |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 8.33 | - |
Variable Declarations | 2 | annotation (org.junit.Test) timeout (long) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 148.68 | - |
Number of Operands | 15 | - |
Variable References | 5 | annotation (2) fMethod (1) Test.class (1) timeout (1) |
Number of Operators | 20 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 6 | - |
Number of Loops | 0 | - |
Analysis of Method : invoke(Object) in Class : org.junit.internal.runners.Deprecated | ||
---|---|---|
Feature | Number | Values |
Name | invoke | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 17 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 242.72 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 4 | java.lang.IllegalAccessException (1) java.lang.Object (1) java.lang.reflect.InvocationTargetException (1) java.lang.IllegalArgumentException (1) |
External Methods Called | 1 | java.lang.reflect.Method.invoke (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | test (java.lang.Object) |
Modifiers | 1 | public |
Halstead Difficulty | 3.75 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 3 | java.lang.IllegalAccessException (1) java.lang.reflect.InvocationTargetException (1) java.lang.IllegalArgumentException (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 64.73 | - |
Number of Operands | 10 | - |
Variable References | 2 | fMethod (1) test (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : isIgnored() in Class : org.junit.internal.runners.Deprecated | ||
---|---|---|
Feature | Number | Values |
Name | isIgnored | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 243.67 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | org.junit.Ignore (1) |
External Methods Called | 1 | java.lang.reflect.Method.getAnnotation (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 60.92 | - |
Number of Operands | 6 | - |
Variable References | 2 | fMethod (1) Ignore.class (1) |
Number of Operators | 10 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : isUnexpected(Throwable) in Class : org.junit.internal.runners.Deprecated | ||
---|---|---|
Feature | Number | Values |
Name | isUnexpected | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 18 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 228.37 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | java.lang.Throwable (1) |
External Methods Called | 2 | java.lang.Throwable.getClass (1) .isAssignableFrom (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | exception (java.lang.Throwable) |
Modifiers | 0 | - |
Halstead Difficulty | 3.43 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 66.61 | - |
Number of Operands | 8 | - |
Variable References | 1 | exception (1) |
Number of Operators | 10 | - |
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 |