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
FeatureNumberValues
NameParameterized$TestClassRunnerForParameters-
Number of Methods7-
LCOM0.08-
Average Cyclomatic Complexity1.14-
Number of Statements21-
Halstead Cumulative Bugs0.24-
Halstead Effort3825.06-
UnWeighted Class Size9-
Instance Variables2fParameterSetNumber (int)
fParameterList (java.util.List)
Imported Packages14java.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 class7-
CBO4-
Maintainability Index131.61-
Cumulative Number of Comment Lines0-
Lines Of Code43-
Fan In0-
DIT3-
Maintainability Index (NC)131.61-
Specialization ratio0.00-
Reuse Ratio0.75-
COH0.43-
Local Method Calls1computeParams (1)
LCOM23.00-
Max Complexity2-
Halstead Cumulative Volume730.93-
Hierarchy Method Calls4validateOnlyOneConstructor (1)
getTestClass (3)
childrenInvoker (1)
getParametersMethod (1)
Number of Queries5-
Fan Out4-
SuperClass Nameorg.junit.runners.BlockJUnit4ClassRunner-
SIX0.09-
External Method Calls0java.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)
Superclasses3org.junit.runner.Runner
org.junit.runners.BlockJUnit4ClassRunner
org.junit.runners.ParentRunner
Total Complexity8-
Subclasses0 -
Message Passing Coupling0-
Number of Commands2-
Interfaces0 -
Cumulative Number of Comments0-
Halstead Cumulative Length176-
Modifiers5@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public
static
private
Summary of methods in org.junit.runners.Parameterized$TestClassRunnerForParameters
Methods in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
TestClassRunnerForParameters1043021741.200.0440060345.6200000131.7715515030
classBlock1021412175.660.0220130123.500000050.19717010
computeParams20444261506.830.07452100017.2901102206.8217227180
createTest1022116336.000.0322240024.000100084.008013040
getName1021513226.650.0211030024.080000055.51718010
testName1022217439.630.0322040124.890000089.9211211020
validateConstructor1021614243.670.0220130124.000000060.92818010


Analysis of Method : TestClassRunnerForParameters(Class, List, int) in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters
FeatureNumberValues
NameTestClassRunnerForParameters-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements4-
Halstead Length30-
Halstead Vocabulary21-
Halstead Effort741.20-
Halstead Bugs0.04-
Classes Referenced4java.util.List (1)
java.lang.Class (1)
? (1)
java.lang.Object (2)
External Methods Called0
Local Methods Called0
Lines Of Code6-
Number of Comments0-
Arguments3type (java.lang.Class)
parameterList (java.util.List)
i (int)
Modifiers4private
final
private
final
Halstead Difficulty5.62-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume131.77-
Number of Operands15-
Variable References5i (1)
type (1)
fParameterSetNumber (1)
parameterList (1)
fParameterList (1)
Number of Operators15-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : classBlock(RunNotifier) in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters
FeatureNumberValues
NameclassBlock-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary12-
Halstead Effort175.66-
Halstead Bugs0.02-
Classes Referenced2org.junit.runner.notification.RunNotifier (1)
org.junit.runners.model.Statement (1)
External Methods Called0
Local Methods Called1childrenInvoker (1)
Lines Of Code3-
Number of Comments0-
Arguments1notifier (org.junit.runner.notification.RunNotifier)
Modifiers2@Override
protected
Halstead Difficulty3.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume50.19-
Number of Operands7-
Variable References1notifier (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : computeParams() in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters
FeatureNumberValues
NamecomputeParams-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements4-
Halstead Length44-
Halstead Vocabulary26-
Halstead Effort1506.83-
Halstead Bugs0.07-
Classes Referenced4java.lang.String (1)
java.lang.Object (1)
java.lang.Exception (2)
java.lang.ClassCastException (1)
External Methods Called5java.lang.Exception.Exception (1)
java.util.List.get (1)
java.lang.String.format (1)
format().getName (1)
java.lang.String.getName (1)
Local Methods Called2getTestClass (2)
getParametersMethod (1)
Lines Of Code10-
Number of Comments0-
Arguments0 -
Modifiers1private
Halstead Difficulty7.29-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced1java.lang.ClassCastException (1)
Number of casts0-
Total Depth of Nesting2-
Halstead Volume206.82-
Number of Operands17-
Variable References2fParameterSetNumber (1)
fParameterList (1)
Number of Operators27-
Max. depth of nesting1-
Number of Expressions8-
Number of Loops0-

Top of this page

Analysis of Method : createTest() in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters
FeatureNumberValues
NamecreateTest-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length21-
Halstead Vocabulary16-
Halstead Effort336.00-
Halstead Bugs0.03-
Classes Referenced2java.lang.Object (1)
java.lang.Exception (1)
External Methods Called2i().getOnlyConstructor (1)
getOnlyConstructor().newInstance (1)
Local Methods Called2getTestClass (1)
computeParams (1)
Lines Of Code4-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty4.00-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume84.00-
Number of Operands8-
Variable References0
Number of Operators13-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : getName() in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters
FeatureNumberValues
NamegetName-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length15-
Halstead Vocabulary13-
Halstead Effort226.65-
Halstead Bugs0.02-
Classes Referenced1java.lang.String (2)
External Methods Called1java.lang.String.format (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers2@Override
protected
Halstead Difficulty4.08-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume55.51-
Number of Operands7-
Variable References1fParameterSetNumber (1)
Number of Operators8-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : testName(FrameworkMethod) in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters
FeatureNumberValues
NametestName-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length22-
Halstead Vocabulary17-
Halstead Effort439.63-
Halstead Bugs0.03-
Classes Referenced2org.junit.runners.model.FrameworkMethod (1)
java.lang.String (2)
External Methods Called2java.lang.String.format (1)
org.junit.runners.model.FrameworkMethod.getName (1)
Local Methods Called0
Lines Of Code4-
Number of Comments0-
Arguments1method (org.junit.runners.model.FrameworkMethod)
Modifiers2@Override
protected
Halstead Difficulty4.89-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume89.92-
Number of Operands11-
Variable References2fParameterSetNumber (1)
method (1)
Number of Operators11-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : validateConstructor(List) in Class : org.junit.runners.Parameterized$TestClassRunnerForParameters
FeatureNumberValues
NamevalidateConstructor-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length16-
Halstead Vocabulary14-
Halstead Effort243.67-
Halstead Bugs0.02-
Classes Referenced2java.util.List (1)
java.lang.Throwable (2)
External Methods Called0
Local Methods Called1validateOnlyOneConstructor (1)
Lines Of Code3-
Number of Comments0-
Arguments1errors (java.util.List)
Modifiers2@Override
protected
Halstead Difficulty4.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume60.92-
Number of Operands8-
Variable References1errors (1)
Number of Operators8-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Top of this page Data Generated by JHawk - The Java Metrics tool Home