![]() | Analysis of Class : org.junit.internal.runners.Deprecated$Runnable (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.runners.Deprecated$Runnable |
---|
![]() |
Cyclomatic Complexity |
Summary of Deprecated$Runnable | ||
---|---|---|
Feature | Number | Values |
Name | Deprecated$Runnable | - |
Number of Methods | 1 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 4.00 | - |
Number of Statements | 12 | - |
Halstead Cumulative Bugs | 0.17 | - |
Halstead Effort | 5064.04 | - |
UnWeighted Class Size | 1 | - |
Instance Variables | 0 | - |
Imported Packages | 14 | java.lang.reflect.InvocationTargetException java.lang.reflect.Method java.util.List java.util.concurrent.Callable java.util.concurrent.ExecutorService java.util.concurrent.Executors java.util.concurrent.Future java.util.concurrent.TimeUnit java.util.concurrent.TimeoutException org.junit.internal.AssumptionViolatedException org.junit.runner.Description org.junit.runner.notification.Failure org.junit.runner.notification.RunNotifier org.junit.runners.BlockJUnit4ClassRunner |
Response For class | 1 | - |
CBO | 0 | - |
Maintainability Index | 151.25 | - |
Cumulative Number of Comment Lines | 1 | - |
Lines Of Code | 18 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 101.25 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.00 | - |
Local Method Calls | 0 | |
LCOM2 | 1.00 | - |
Max Complexity | 4 | - |
Halstead Cumulative Volume | 520.27 | - |
Hierarchy Method Calls | 1 | addFailure (2) |
Number of Queries | 0 | - |
Fan Out | 0 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | java.lang.Exception.Exception (1) Future |
Superclasses | 0 | - |
Total Complexity | 4 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 1 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 1 | - |
Halstead Cumulative Length | 99 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.runners.Deprecated$Runnable | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | run | 4 | 1 | 11 | 95 | 42 | 5052.04 | 0.17 | 9 | 9 | 1 | 17 | 1 | 0 | 1 | 9.86 | 3 | 0 | 2 | 0 | 3 | 512.27 | 44 | 14 | 51 | 1 | 15 | 0 |
Analysis of Method : run() in Class : org.junit.internal.runners.Deprecated$Runnable | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 4 | - |
Number of Comment Lines | 1 | - |
Number of Statements | 11 | - |
Halstead Length | 95 | - |
Halstead Vocabulary | 42 | - |
Halstead Effort | 5052.04 | - |
Halstead Bugs | 0.17 | - |
Classes Referenced | 9 | java.util.concurrent.ExecutorService (1) java.lang.Exception (2) java.util.concurrent.TimeUnit (2) java.lang.Object (2) java.lang.String (1) java.util.concurrent.Callable (1) java.util.concurrent.Future (1) java.util.concurrent.Executors (1) java.util.concurrent.TimeoutException (1) |
External Methods Called | 9 | java.lang.Exception.Exception (1) Future java.util.concurrent.ExecutorService.shutdownNow (1) java.util.concurrent.ExecutorService.submit (1) java.util.concurrent.ExecutorService.shutdown (1) java.util.concurrent.ExecutorService.awaitTermination (1) java.lang.String.format (1) org.junit.internal.runners.Callable java.util.concurrent.Executors.newSingleThreadExecutor (1) |
Local Methods Called | 1 | addFailure (2) |
Lines Of Code | 17 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 9.86 | - |
Variable Declarations | 3 | result (Future<Object>) service (java.util.concurrent.ExecutorService) terminated (boolean) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 2 | java.lang.Exception (1) java.util.concurrent.TimeoutException (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 3 | - |
Halstead Volume | 512.27 | - |
Number of Operands | 44 | - |
Variable References | 14 | result (1) service (4) callable (2) Callable terminated (1) TimeUnit.MILLISECONDS (2) timeout (2) e (1) |
Number of Operators | 51 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 15 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |