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
FeatureNumberValues
NameParameterized-
Number of Methods4-
LCOM0.67-
Average Cyclomatic Complexity1.75-
Number of Statements22-
Halstead Cumulative Bugs0.32-
Halstead Effort9966.55-
UnWeighted Class Size5-
Instance Variables1runners (java.util.ArrayList)
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 class5-
CBO7-
Maintainability Index80.49-
Cumulative Number of Comment Lines49-
Lines Of Code36-
Fan In0-
DIT3-
Maintainability Index (NC)118.05-
Specialization ratio0.00-
Reuse Ratio0.75-
COH0.50-
Local Method Calls2getParametersMethod (1)
getParametersList (1)
LCOM24.00-
Max Complexity3-
Halstead Cumulative Volume964.29-
Hierarchy Method Calls1getTestClass (2)
Number of Queries3-
Fan Out7-
SuperClass Nameorg.junit.runners.Suite-
SIX0.07-
External Method Calls1klass().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.size (1)
java.lang.Exception.Exception (1)
Superclasses3org.junit.runner.Runner
org.junit.runners.ParentRunner
org.junit.runners.Suite
Total Complexity7-
Subclasses0 -
Message Passing Coupling1-
Number of Commands1-
Interfaces0 -
Cumulative Number of Comments2-
Halstead Cumulative Length199-
Modifiers0 -
Summary of methods in org.junit.runners.Parameterized
Methods in Class : org.junit.runners.Parameterized
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
Parameterized23765353111.770.1174271139.3320000333.40288370101
getChildren1021313192.420.0220030024.000000048.11518000
getParametersList1023222998.910.0541150127.0001010142.7014118030
getParametersMethod30968375033.980.126601201114.2121001354.24307381111


Analysis of Method : Parameterized(Class) in Class : org.junit.runners.Parameterized
FeatureNumberValues
NameParameterized-
Cyclomatic Complexity2-
Number of Comment Lines3-
Number of Statements7-
Halstead Length65-
Halstead Vocabulary35-
Halstead Effort3111.77-
Halstead Bugs0.11-
Classes Referenced7org.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 Called4org.junit.runners.TestClassRunnerForParameters.TestClassRunnerForParameters (1)
org.junit.runners.TestClassRunnerForParameters.getJavaClass (1)
List.size (1)
java.util.ArrayList.add (1)
Local Methods Called2getTestClass (2)
getParametersList (1)
Lines Of Code7-
Number of Comments1-
Arguments1klass (java.lang.Class)
Modifiers3private
final
public
Halstead Difficulty9.33-
Variable Declarations2parametersList (List<Object[]>)
i (int)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume333.40-
Number of Operands28-
Variable References8klass (1)
runners (1)
parametersList (2)
i (3)
emptyList (1)
Number of Operators37-
Max. depth of nesting0-
Number of Expressions10-
Number of Loops1-

Top of this page

Analysis of Method : getChildren() in Class : org.junit.runners.Parameterized
FeatureNumberValues
NamegetChildren-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary13-
Halstead Effort192.42-
Halstead Bugs0.02-
Classes Referenced2java.util.List (1)
org.junit.runner.Runner (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers2@Override
protected
Halstead Difficulty4.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume48.11-
Number of Operands5-
Variable References1runners (1)
Number of Operators8-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : getParametersList(TestClass) in Class : org.junit.runners.Parameterized
FeatureNumberValues
NamegetParametersList-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length32-
Halstead Vocabulary22-
Halstead Effort998.91-
Halstead Bugs0.05-
Classes Referenced4java.util.List (3)
org.junit.runners.model.TestClass (1)
java.lang.Object (4)
java.lang.Throwable (1)
External Methods Called1klass().invokeExplosively (1)
Local Methods Called1getParametersMethod (1)
Lines Of Code5-
Number of Comments0-
Arguments1klass (org.junit.runners.model.TestClass)
Modifiers2@SuppressWarnings("unchecked")
private
Halstead Difficulty7.00-
Variable Declarations0
Exceptions Thrown1java.lang.Throwable (1)
Exceptions Referenced0
Number of casts1-
Total Depth of Nesting0-
Halstead Volume142.70-
Number of Operands14-
Variable References1klass (1)
Number of Operators18-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : getParametersMethod(TestClass) in Class : org.junit.runners.Parameterized
FeatureNumberValues
NamegetParametersMethod-
Cyclomatic Complexity3-
Number of Comment Lines0-
Number of Statements9-
Halstead Length68-
Halstead Vocabulary37-
Halstead Effort5033.98-
Halstead Bugs0.12-
Classes Referenced6org.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 Called6java.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 Called0
Lines Of Code12-
Number of Comments0-
Arguments1testClass (org.junit.runners.model.TestClass)
Modifiers1private
Halstead Difficulty14.21-
Variable Declarations2methods (List<FrameworkMethod>)
modifiers (int)
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting1-
Halstead Volume354.24-
Number of Operands30-
Variable References7methods (1)
modifiers (2)
each (2)
testClass (2)
Number of Operators38-
Max. depth of nesting1-
Number of Expressions11-
Number of Loops1-

Top of this page

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