![]() | Analysis of Class : org.junit.experimental.ParallelComputer (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.experimental.ParallelComputer |
---|
![]() |
Cyclomatic Complexity |
Summary of ParallelComputer | ||
---|---|---|
Feature | Number | Values |
Name | ParallelComputer | - |
Number of Methods | 6 | - |
LCOM | 0.20 | - |
Average Cyclomatic Complexity | 1.50 | - |
Number of Statements | 20 | - |
Halstead Cumulative Bugs | 0.44 | - |
Halstead Effort | 17419.05 | - |
UnWeighted Class Size | 8 | - |
Instance Variables | 2 | fMethods (boolean) fClasses (boolean) |
Imported Packages | 12 | java.util.ArrayList java.util.List java.util.concurrent.Callable java.util.concurrent.ExecutorService java.util.concurrent.Executors java.util.concurrent.Future org.junit.runner.Computer org.junit.runner.Runner org.junit.runners.ParentRunner org.junit.runners.model.InitializationError org.junit.runners.model.RunnerBuilder org.junit.runners.model.RunnerScheduler |
Response For class | 6 | - |
CBO | 7 | - |
Maintainability Index | 125.84 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 37 | - |
Fan In | 1 | - |
DIT | 1 | - |
Maintainability Index (NC) | 125.84 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.33 | - |
Local Method Calls | 1 | parallelize (2) |
LCOM2 | 10.00 | - |
Max Complexity | 4 | - |
Halstead Cumulative Volume | 1329.57 | - |
Hierarchy Method Calls | 2 | super.getSuite (1) super.getRunner (1) |
Number of Queries | 5 | - |
Fan Out | 6 | - |
SuperClass Name | org.junit.runner.Computer | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.junit.runners.model.RunnerScheduler.RunnerScheduler (1) runner().setScheduler (1) org.junit.experimental.ParallelComputer.ParallelComputer (2) |
Superclasses | 1 | org.junit.runner.Computer |
Total Complexity | 9 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 1 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 266 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.experimental.ParallelComputer | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | ParallelComputer | 1 | 0 | 3 | 16 | 11 | 207.57 | 0.02 | 0 | 0 | 0 | 4 | 0 | 2 | 5 | 3.75 | 0 | 0 | 0 | 0 | 0 | 55.35 | 9 | 4 | 7 | 0 | 2 | 0 |
![]() | classes | 1 | 0 | 2 | 13 | 12 | 163.12 | 0.02 | 2 | 1 | 0 | 3 | 0 | 0 | 2 | 3.50 | 0 | 0 | 0 | 0 | 0 | 46.60 | 5 | 0 | 8 | 0 | 1 | 0 |
![]() | getRunner | 1 | 0 | 3 | 35 | 25 | 1584.72 | 0.05 | 5 | 0 | 2 | 5 | 0 | 2 | 2 | 9.75 | 1 | 1 | 0 | 0 | 0 | 162.53 | 18 | 5 | 17 | 0 | 4 | 0 |
![]() | getSuite | 1 | 0 | 3 | 40 | 28 | 1922.94 | 0.06 | 5 | 0 | 2 | 5 | 0 | 2 | 2 | 10.00 | 1 | 1 | 0 | 0 | 0 | 192.29 | 20 | 5 | 20 | 0 | 4 | 0 |
![]() | methods | 1 | 0 | 2 | 13 | 12 | 163.12 | 0.02 | 2 | 1 | 0 | 3 | 0 | 0 | 2 | 3.50 | 0 | 0 | 0 | 0 | 0 | 46.60 | 5 | 0 | 8 | 0 | 1 | 0 |
![]() | parallelize | 4 | 0 | 4 | 139 | 53 | 13323.59 | 0.27 | 4 | 2 | 0 | 26 | 0 | 1 | 2 | 16.73 | 0 | 0 | 0 | 1 | 1 | 796.18 | 51 | 3 | 88 | 1 | 4 | 1 |
Analysis of Method : ParallelComputer(boolean, boolean) in Class : org.junit.experimental.ParallelComputer | ||
---|---|---|
Feature | Number | Values |
Name | ParallelComputer | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 207.57 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 2 | classes (boolean) methods (boolean) |
Modifiers | 5 | private final private final public |
Halstead Difficulty | 3.75 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 55.35 | - |
Number of Operands | 9 | - |
Variable References | 4 | methods (1) fMethods (1) classes (1) fClasses (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : classes() in Class : org.junit.experimental.ParallelComputer | ||
---|---|---|
Feature | Number | Values |
Name | classes | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 163.12 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.runner.Computer (1) org.junit.experimental.ParallelComputer (1) |
External Methods Called | 1 | org.junit.experimental.ParallelComputer.ParallelComputer (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | public static |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 46.60 | - |
Number of Operands | 5 | - |
Variable References | 0 | |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getRunner(RunnerBuilder, Class) in Class : org.junit.experimental.ParallelComputer | ||
---|---|---|
Feature | Number | Values |
Name | getRunner | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 35 | - |
Halstead Vocabulary | 25 | - |
Halstead Effort | 1584.72 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 5 | ? (1) java.lang.Class (1) java.lang.Throwable (1) org.junit.runner.Runner (2) org.junit.runners.model.RunnerBuilder (1) |
External Methods Called | 0 | |
Local Methods Called | 2 | parallelize (1) super.getRunner (1) |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 2 | builder (org.junit.runners.model.RunnerBuilder) testClass (java.lang.Class) |
Modifiers | 2 | @Override protected |
Halstead Difficulty | 9.75 | - |
Variable Declarations | 1 | runner (org.junit.runner.Runner) |
Exceptions Thrown | 1 | java.lang.Throwable (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 162.53 | - |
Number of Operands | 18 | - |
Variable References | 5 | builder (1) fMethods (1) runner (2) testClass (1) |
Number of Operators | 17 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : getSuite(RunnerBuilder, Class) in Class : org.junit.experimental.ParallelComputer | ||
---|---|---|
Feature | Number | Values |
Name | getSuite | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 40 | - |
Halstead Vocabulary | 28 | - |
Halstead Effort | 1922.94 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 5 | ? (1) java.lang.Class (1) org.junit.runner.Runner (2) org.junit.runners.model.InitializationError (1) org.junit.runners.model.RunnerBuilder (1) |
External Methods Called | 0 | |
Local Methods Called | 2 | parallelize (1) super.getSuite (1) |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 2 | builder (org.junit.runners.model.RunnerBuilder) classes (java.lang.Class) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 10.00 | - |
Variable Declarations | 1 | suite (org.junit.runner.Runner) |
Exceptions Thrown | 1 | org.junit.runners.model.InitializationError (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 192.29 | - |
Number of Operands | 20 | - |
Variable References | 5 | builder (1) classes (1) suite (2) fClasses (1) |
Number of Operators | 20 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : methods() in Class : org.junit.experimental.ParallelComputer | ||
---|---|---|
Feature | Number | Values |
Name | methods | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 163.12 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.runner.Computer (1) org.junit.experimental.ParallelComputer (1) |
External Methods Called | 1 | org.junit.experimental.ParallelComputer.ParallelComputer (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | public static |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 46.60 | - |
Number of Operands | 5 | - |
Variable References | 0 | |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : parallelize(Runner) in Class : org.junit.experimental.ParallelComputer | ||
---|---|---|
Feature | Number | Values |
Name | parallelize | - |
Cyclomatic Complexity | 4 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 139 | - |
Halstead Vocabulary | 53 | - |
Halstead Effort | 13323.59 | - |
Halstead Bugs | 0.27 | - |
Classes Referenced | 4 | org.junit.runners.model.RunnerScheduler (1) ? (3) org.junit.runner.Runner (2) org.junit.runners.ParentRunner (3) |
External Methods Called | 2 | org.junit.runners.model.RunnerScheduler.RunnerScheduler (1) runner().setScheduler (1) |
Local Methods Called | 0 | |
Lines Of Code | 26 | - |
Number of Comments | 0 | - |
Arguments | 1 | runner (org.junit.runner.Runner) |
Modifiers | 2 | private static |
Halstead Difficulty | 16.73 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 1 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 796.18 | - |
Number of Operands | 51 | - |
Variable References | 3 | runner (3) |
Number of Operators | 88 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 4 | - |
Number of Loops | 1 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |