![]() | Analysis of Class : org.junit.runners.Parameterized (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.runners.Parameterized |
---|
![]() |
Cyclomatic Complexity |
Summary of Parameterized | ||
---|---|---|
Feature | Number | Values |
Name | Parameterized | - |
Number of Methods | 4 | - |
LCOM | 0.67 | - |
Average Cyclomatic Complexity | 1.75 | - |
Number of Statements | 22 | - |
Halstead Cumulative Bugs | 0.32 | - |
Halstead Effort | 9966.55 | - |
UnWeighted Class Size | 5 | - |
Instance Variables | 1 | runners (java.util.ArrayList) |
Imported Packages | 14 | java.lang.annotation.ElementType java.lang.annotation.Retention java.lang.annotation.RetentionPolicy java.lang.annotation.Target java.lang.reflect.Modifier java.util.ArrayList java.util.Collections java.util.List org.junit.runner.Runner org.junit.runner.notification.RunNotifier org.junit.runners.model.FrameworkMethod org.junit.runners.model.InitializationError org.junit.runners.model.Statement org.junit.runners.model.TestClass |
Response For class | 5 | - |
CBO | 7 | - |
Maintainability Index | 80.49 | - |
Cumulative Number of Comment Lines | 49 | - |
Lines Of Code | 36 | - |
Fan In | 0 | - |
DIT | 3 | - |
Maintainability Index (NC) | 118.05 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.75 | - |
COH | 0.50 | - |
Local Method Calls | 2 | getParametersMethod (1) getParametersList (1) |
LCOM2 | 4.00 | - |
Max Complexity | 3 | - |
Halstead Cumulative Volume | 964.29 | - |
Hierarchy Method Calls | 1 | getTestClass (2) |
Number of Queries | 3 | - |
Fan Out | 7 | - |
SuperClass Name | org.junit.runners.Suite | - |
SIX | 0.07 | - |
External Method Calls | 1 | klass().invokeExplosively (1) org.junit.runners.TestClassRunnerForParameters.getJavaClass (1) java.lang.reflect.Modifier.isPublic (1) each.getMethod (1) java.lang.reflect.Modifier.isStatic (1) org.junit.runners.TestClassRunnerForParameters.TestClassRunnerForParameters (1) java.util.ArrayList.ArrayList (1) org.junit.runners.model.TestClass.getName (1) java.util.ArrayList.add (1) getMethod().getModifiers (1) List |
Superclasses | 3 | org.junit.runner.Runner org.junit.runners.ParentRunner org.junit.runners.Suite |
Total Complexity | 7 | - |
Subclasses | 0 | - |
Message Passing Coupling | 1 | - |
Number of Commands | 1 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 2 | - |
Halstead Cumulative Length | 199 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.runners.Parameterized | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | Parameterized | 2 | 3 | 7 | 65 | 35 | 3111.77 | 0.11 | 7 | 4 | 2 | 7 | 1 | 1 | 3 | 9.33 | 2 | 0 | 0 | 0 | 0 | 333.40 | 28 | 8 | 37 | 0 | 10 | 1 |
![]() | getChildren | 1 | 0 | 2 | 13 | 13 | 192.42 | 0.02 | 2 | 0 | 0 | 3 | 0 | 0 | 2 | 4.00 | 0 | 0 | 0 | 0 | 0 | 48.11 | 5 | 1 | 8 | 0 | 0 | 0 |
![]() | getParametersList | 1 | 0 | 2 | 32 | 22 | 998.91 | 0.05 | 4 | 1 | 1 | 5 | 0 | 1 | 2 | 7.00 | 0 | 1 | 0 | 1 | 0 | 142.70 | 14 | 1 | 18 | 0 | 3 | 0 |
![]() | getParametersMethod | 3 | 0 | 9 | 68 | 37 | 5033.98 | 0.12 | 6 | 6 | 0 | 12 | 0 | 1 | 1 | 14.21 | 2 | 1 | 0 | 0 | 1 | 354.24 | 30 | 7 | 38 | 1 | 11 | 1 |
Analysis of Method : Parameterized(Class) in Class : org.junit.runners.Parameterized | ||
---|---|---|
Feature | Number | Values |
Name | Parameterized | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 7 | - |
Halstead Length | 65 | - |
Halstead Vocabulary | 35 | - |
Halstead Effort | 3111.77 | - |
Halstead Bugs | 0.11 | - |
Classes Referenced | 7 | org.junit.runner.Runner (1) java.util.List (1) java.util.Collections (1) java.lang.Class (1) java.lang.Object (2) org.junit.runners.TestClassRunnerForParameters (1) ? (1) |
External Methods Called | 4 | org.junit.runners.TestClassRunnerForParameters.TestClassRunnerForParameters (1) org.junit.runners.TestClassRunnerForParameters.getJavaClass (1) List |
Local Methods Called | 2 | getTestClass (2) getParametersList (1) |
Lines Of Code | 7 | - |
Number of Comments | 1 | - |
Arguments | 1 | klass (java.lang.Class) |
Modifiers | 3 | private final public |
Halstead Difficulty | 9.33 | - |
Variable Declarations | 2 | parametersList (List<Object[]>) i (int) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 333.40 | - |
Number of Operands | 28 | - |
Variable References | 8 | klass (1) runners (1) parametersList (2) i (3) emptyList (1) |
Number of Operators | 37 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 10 | - |
Number of Loops | 1 | - |
Analysis of Method : getChildren() in Class : org.junit.runners.Parameterized | ||
---|---|---|
Feature | Number | Values |
Name | getChildren | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 192.42 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | java.util.List (1) org.junit.runner.Runner (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override protected |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 48.11 | - |
Number of Operands | 5 | - |
Variable References | 1 | runners (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : getParametersList(TestClass) in Class : org.junit.runners.Parameterized | ||
---|---|---|
Feature | Number | Values |
Name | getParametersList | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 32 | - |
Halstead Vocabulary | 22 | - |
Halstead Effort | 998.91 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 4 | java.util.List (3) org.junit.runners.model.TestClass (1) java.lang.Object (4) java.lang.Throwable (1) |
External Methods Called | 1 | klass().invokeExplosively (1) |
Local Methods Called | 1 | getParametersMethod (1) |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 1 | klass (org.junit.runners.model.TestClass) |
Modifiers | 2 | @SuppressWarnings("unchecked") private |
Halstead Difficulty | 7.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Throwable (1) |
Exceptions Referenced | 0 | |
Number of casts | 1 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 142.70 | - |
Number of Operands | 14 | - |
Variable References | 1 | klass (1) |
Number of Operators | 18 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : getParametersMethod(TestClass) in Class : org.junit.runners.Parameterized | ||
---|---|---|
Feature | Number | Values |
Name | getParametersMethod | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 9 | - |
Halstead Length | 68 | - |
Halstead Vocabulary | 37 | - |
Halstead Effort | 5033.98 | - |
Halstead Bugs | 0.12 | - |
Classes Referenced | 6 | org.junit.runners.model.FrameworkMethod (4) java.util.List (1) org.junit.runners.model.TestClass (1) Parameters.class (1) java.lang.reflect.Modifier (2) java.lang.Exception (2) |
External Methods Called | 6 | java.lang.reflect.Modifier.isStatic (1) each.getMethod (1) java.lang.reflect.Modifier.isPublic (1) java.lang.Exception.Exception (1) org.junit.runners.model.TestClass.getName (1) getMethod().getModifiers (1) |
Local Methods Called | 0 | |
Lines Of Code | 12 | - |
Number of Comments | 0 | - |
Arguments | 1 | testClass (org.junit.runners.model.TestClass) |
Modifiers | 1 | private |
Halstead Difficulty | 14.21 | - |
Variable Declarations | 2 | methods (List<FrameworkMethod>) modifiers (int) |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 354.24 | - |
Number of Operands | 30 | - |
Variable References | 7 | methods (1) modifiers (2) each (2) testClass (2) |
Number of Operators | 38 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 11 | - |
Number of Loops | 1 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |