![]() | Analysis of Class : org.junit.runners.Parameterized$TestClassRunnerForParameters (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.runners.Parameterized$TestClassRunnerForParameters |
---|
![]() |
Cyclomatic Complexity |
Summary of Parameterized$TestClassRunnerForParameters | ||
---|---|---|
Feature | Number | Values |
Name | Parameterized$TestClassRunnerForParameters | - |
Number of Methods | 7 | - |
LCOM | 0.08 | - |
Average Cyclomatic Complexity | 1.14 | - |
Number of Statements | 21 | - |
Halstead Cumulative Bugs | 0.24 | - |
Halstead Effort | 3825.06 | - |
UnWeighted Class Size | 9 | - |
Instance Variables | 2 | fParameterSetNumber (int) fParameterList (java.util.List) |
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 | 7 | - |
CBO | 4 | - |
Maintainability Index | 131.61 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 43 | - |
Fan In | 0 | - |
DIT | 3 | - |
Maintainability Index (NC) | 131.61 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.75 | - |
COH | 0.43 | - |
Local Method Calls | 1 | computeParams (1) |
LCOM2 | 3.00 | - |
Max Complexity | 2 | - |
Halstead Cumulative Volume | 730.93 | - |
Hierarchy Method Calls | 4 | validateOnlyOneConstructor (1) getTestClass (3) childrenInvoker (1) getParametersMethod (1) |
Number of Queries | 5 | - |
Fan Out | 4 | - |
SuperClass Name | org.junit.runners.BlockJUnit4ClassRunner | - |
SIX | 0.09 | - |
External Method Calls | 0 | java.lang.Exception.Exception (1) java.lang.String.format (3) java.util.List.get (1) i().getOnlyConstructor (1) format().getName (1) org.junit.runners.model.FrameworkMethod.getName (1) java.lang.String.getName (1) getOnlyConstructor().newInstance (1) |
Superclasses | 3 | org.junit.runner.Runner org.junit.runners.BlockJUnit4ClassRunner org.junit.runners.ParentRunner |
Total Complexity | 8 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 2 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 176 | - |
Modifiers | 5 | @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public static private |
Methods in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | TestClassRunnerForParameters | 1 | 0 | 4 | 30 | 21 | 741.20 | 0.04 | 4 | 0 | 0 | 6 | 0 | 3 | 4 | 5.62 | 0 | 0 | 0 | 0 | 0 | 131.77 | 15 | 5 | 15 | 0 | 3 | 0 |
![]() | classBlock | 1 | 0 | 2 | 14 | 12 | 175.66 | 0.02 | 2 | 0 | 1 | 3 | 0 | 1 | 2 | 3.50 | 0 | 0 | 0 | 0 | 0 | 50.19 | 7 | 1 | 7 | 0 | 1 | 0 |
![]() | computeParams | 2 | 0 | 4 | 44 | 26 | 1506.83 | 0.07 | 4 | 5 | 2 | 10 | 0 | 0 | 1 | 7.29 | 0 | 1 | 1 | 0 | 2 | 206.82 | 17 | 2 | 27 | 1 | 8 | 0 |
![]() | createTest | 1 | 0 | 2 | 21 | 16 | 336.00 | 0.03 | 2 | 2 | 2 | 4 | 0 | 0 | 2 | 4.00 | 0 | 1 | 0 | 0 | 0 | 84.00 | 8 | 0 | 13 | 0 | 4 | 0 |
![]() | getName | 1 | 0 | 2 | 15 | 13 | 226.65 | 0.02 | 1 | 1 | 0 | 3 | 0 | 0 | 2 | 4.08 | 0 | 0 | 0 | 0 | 0 | 55.51 | 7 | 1 | 8 | 0 | 1 | 0 |
![]() | testName | 1 | 0 | 2 | 22 | 17 | 439.63 | 0.03 | 2 | 2 | 0 | 4 | 0 | 1 | 2 | 4.89 | 0 | 0 | 0 | 0 | 0 | 89.92 | 11 | 2 | 11 | 0 | 2 | 0 |
![]() | validateConstructor | 1 | 0 | 2 | 16 | 14 | 243.67 | 0.02 | 2 | 0 | 1 | 3 | 0 | 1 | 2 | 4.00 | 0 | 0 | 0 | 0 | 0 | 60.92 | 8 | 1 | 8 | 0 | 1 | 0 |
Analysis of Method : TestClassRunnerForParameters(Class, List, int) in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters | ||
---|---|---|
Feature | Number | Values |
Name | TestClassRunnerForParameters | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 30 | - |
Halstead Vocabulary | 21 | - |
Halstead Effort | 741.20 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 4 | java.util.List (1) java.lang.Class (1) ? (1) java.lang.Object (2) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 6 | - |
Number of Comments | 0 | - |
Arguments | 3 | type (java.lang.Class) parameterList (java.util.List) i (int) |
Modifiers | 4 | private final private final |
Halstead Difficulty | 5.62 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 131.77 | - |
Number of Operands | 15 | - |
Variable References | 5 | i (1) type (1) fParameterSetNumber (1) parameterList (1) fParameterList (1) |
Number of Operators | 15 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : classBlock(RunNotifier) in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters | ||
---|---|---|
Feature | Number | Values |
Name | classBlock | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 175.66 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.runner.notification.RunNotifier (1) org.junit.runners.model.Statement (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | childrenInvoker (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | notifier (org.junit.runner.notification.RunNotifier) |
Modifiers | 2 | @Override protected |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 50.19 | - |
Number of Operands | 7 | - |
Variable References | 1 | notifier (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : computeParams() in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters | ||
---|---|---|
Feature | Number | Values |
Name | computeParams | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 44 | - |
Halstead Vocabulary | 26 | - |
Halstead Effort | 1506.83 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 4 | java.lang.String (1) java.lang.Object (1) java.lang.Exception (2) java.lang.ClassCastException (1) |
External Methods Called | 5 | java.lang.Exception.Exception (1) java.util.List.get (1) java.lang.String.format (1) format().getName (1) java.lang.String.getName (1) |
Local Methods Called | 2 | getTestClass (2) getParametersMethod (1) |
Lines Of Code | 10 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | private |
Halstead Difficulty | 7.29 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 1 | java.lang.ClassCastException (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 2 | - |
Halstead Volume | 206.82 | - |
Number of Operands | 17 | - |
Variable References | 2 | fParameterSetNumber (1) fParameterList (1) |
Number of Operators | 27 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 8 | - |
Number of Loops | 0 | - |
Analysis of Method : createTest() in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters | ||
---|---|---|
Feature | Number | Values |
Name | createTest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 21 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 336.00 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | java.lang.Object (1) java.lang.Exception (1) |
External Methods Called | 2 | i().getOnlyConstructor (1) getOnlyConstructor().newInstance (1) |
Local Methods Called | 2 | getTestClass (1) computeParams (1) |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Exception (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 84.00 | - |
Number of Operands | 8 | - |
Variable References | 0 | |
Number of Operators | 13 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : getName() in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters | ||
---|---|---|
Feature | Number | Values |
Name | getName | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 226.65 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | java.lang.String (2) |
External Methods Called | 1 | java.lang.String.format (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override protected |
Halstead Difficulty | 4.08 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 55.51 | - |
Number of Operands | 7 | - |
Variable References | 1 | fParameterSetNumber (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : testName(FrameworkMethod) in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters | ||
---|---|---|
Feature | Number | Values |
Name | testName | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 22 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 439.63 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | org.junit.runners.model.FrameworkMethod (1) java.lang.String (2) |
External Methods Called | 2 | java.lang.String.format (1) org.junit.runners.model.FrameworkMethod.getName (1) |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 1 | method (org.junit.runners.model.FrameworkMethod) |
Modifiers | 2 | @Override protected |
Halstead Difficulty | 4.89 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 89.92 | - |
Number of Operands | 11 | - |
Variable References | 2 | fParameterSetNumber (1) method (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : validateConstructor(List) in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters | ||
---|---|---|
Feature | Number | Values |
Name | validateConstructor | - |
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 | java.util.List (1) java.lang.Throwable (2) |
External Methods Called | 0 | |
Local Methods Called | 1 | validateOnlyOneConstructor (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | errors (java.util.List) |
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 | 60.92 | - |
Number of Operands | 8 | - |
Variable References | 1 | errors (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |