Analysis of Class : org.junit.internal.runners.JUnit38ClassRunner (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.internal.runners.JUnit38ClassRunner
Cyclomatic Complexity

Summary of JUnit38ClassRunner
FeatureNumberValues
NameJUnit38ClassRunner-
Number of Methods11-
LCOM0.90-
Average Cyclomatic Complexity1.91-
Number of Statements65-
Halstead Cumulative Bugs0.76-
Halstead Effort34030.39-
UnWeighted Class Size12-
Instance Variables1fTest (junit.framework.Test)
Imported Packages17junit.extensions.TestDecorator
junit.framework.AssertionFailedError
junit.framework.Test
junit.framework.TestCase
junit.framework.TestListener
junit.framework.TestResult
junit.framework.TestSuite
org.junit.runner.Describable
org.junit.runner.Description
org.junit.runner.Runner
org.junit.runner.manipulation.Filter
org.junit.runner.manipulation.Filterable
org.junit.runner.manipulation.NoTestsRemainException
org.junit.runner.manipulation.Sortable
org.junit.runner.manipulation.Sorter
org.junit.runner.notification.Failure
org.junit.runner.notification.RunNotifier
Response For class11-
CBO21-
Maintainability Index117.29-
Cumulative Number of Comment Lines1-
Lines Of Code80-
Fan In4-
DIT1-
Maintainability Index (NC)117.29-
Specialization ratio2.00-
Reuse Ratio0.25-
COH0.18-
Local Method Calls5createSuiteDescription (1)
createAdaptingListener (1)
getTest (8)
makeDescription (4)
setTest (2)
LCOM225.00-
Max Complexity6-
Halstead Cumulative Volume2286.05-
Hierarchy Method Calls1this (1)
Number of Queries5-
Fan Out17-
SuperClass Nameorg.junit.runner.Runner-
SIX0.07-
External Method Calls0junit.framework.TestCase.getClass (1)
org.junit.runner.manipulation.Filterable.filter (1)
junit.framework.TestSuite.testAt (3)
junit.framework.TestSuite.testCount (2)
java.lang.String.format (2)
org.junit.runner.Description.createTestDescription (1)
org.junit.runner.Describable.getDescription (1)
org.junit.runner.manipulation.Filter.shouldRun (1)
org.junit.runner.manipulation.Sortable.sort (1)
org.junit.internal.runners.OldTestClassAdaptingListener.OldTestClassAdaptingListener (1)
junit.extensions.TestDecorator.getTest (1)
junit.framework.TestCase.getName (1)
junit.framework.TestResult.addListener (1)
java.lang.Class.asSubclass (1)
junit.framework.TestSuite.TestSuite (2)
junit.framework.TestSuite.addTest (1)
org.junit.runner.Description.createSuiteDescription (2)
junit.framework.TestSuite.countTestCases (1)
junit.framework.Test.getClass (1)
notifier().run (1)
org.junit.runner.Description.addChild (1)
junit.framework.TestResult.TestResult (1)
junit.framework.TestSuite.getName (3)
Superclasses1org.junit.runner.Runner
Total Complexity21-
Subclasses2org.junit.internal.runners.SuiteMethod
org.junit.runners.AllTests
Message Passing Coupling0-
Number of Commands6-
Interfaces1Filterable,Sortable
Cumulative Number of Comments1-
Halstead Cumulative Length475-
Modifiers0 -
Summary of methods in org.junit.internal.runners.JUnit38ClassRunner
Methods in Class : org.junit.internal.runners.JUnit38ClassRunner
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
JUnit38ClassRunner1022217513.850.0342130125.710000089.928114030
JUnit38ClassRunner10313998.900.0110140112.400000041.21617020
createAdaptingListener1021412210.800.0231030114.200000050.19618010
createSuiteDescription10445251970.320.0723050129.4320000208.9724521080
filter5015107378312.700.195731601114.9161023557.414914582241
getDescription1021311134.920.0110230023.000000044.97508020
getTest1028860.000.0110030012.500000024.00315000
makeDescription61231734720964.590.3271122411221.8290046960.947726962361
run1043118775.610.0423250126.0010000129.2715316060
setTest1021110109.620.0110030113.000000036.54625010
sort2042815812.630.0421160117.4310011109.3913215160


Analysis of Method : JUnit38ClassRunner(Class) in Class : org.junit.internal.runners.JUnit38ClassRunner
FeatureNumberValues
NameJUnit38ClassRunner-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length22-
Halstead Vocabulary17-
Halstead Effort513.85-
Halstead Bugs0.03-
Classes Referenced4TestCase.class (1)
junit.framework.TestSuite (1)
java.lang.Class (1)
? (1)
External Methods Called2junit.framework.TestSuite.TestSuite (1)
java.lang.Class.asSubclass (1)
Local Methods Called1this (1)
Lines Of Code3-
Number of Comments0-
Arguments1klass (java.lang.Class)
Modifiers2private
public
Halstead Difficulty5.71-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume89.92-
Number of Operands8-
Variable References1klass (1)
Number of Operators14-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : JUnit38ClassRunner(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner
FeatureNumberValues
NameJUnit38ClassRunner-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements3-
Halstead Length13-
Halstead Vocabulary9-
Halstead Effort98.90-
Halstead Bugs0.01-
Classes Referenced1junit.framework.Test (1)
External Methods Called0
Local Methods Called1setTest (1)
Lines Of Code4-
Number of Comments0-
Arguments1test (junit.framework.Test)
Modifiers1public
Halstead Difficulty2.40-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume41.21-
Number of Operands6-
Variable References1test (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : createAdaptingListener(RunNotifier) in Class : org.junit.internal.runners.JUnit38ClassRunner
FeatureNumberValues
NamecreateAdaptingListener-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary12-
Halstead Effort210.80-
Halstead Bugs0.02-
Classes Referenced3org.junit.runner.notification.RunNotifier (1)
org.junit.internal.runners.OldTestClassAdaptingListener (1)
junit.framework.TestListener (1)
External Methods Called1org.junit.internal.runners.OldTestClassAdaptingListener.OldTestClassAdaptingListener (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1notifier (org.junit.runner.notification.RunNotifier)
Modifiers1public
Halstead Difficulty4.20-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume50.19-
Number of Operands6-
Variable References1notifier (1)
Number of Operators8-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : createSuiteDescription(TestSuite) in Class : org.junit.internal.runners.JUnit38ClassRunner
FeatureNumberValues
NamecreateSuiteDescription-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements4-
Halstead Length45-
Halstead Vocabulary25-
Halstead Effort1970.32-
Halstead Bugs0.07-
Classes Referenced2junit.framework.TestSuite (1)
java.lang.String (4)
External Methods Called3junit.framework.TestSuite.testAt (1)
junit.framework.TestSuite.countTestCases (1)
java.lang.String.format (2)
Local Methods Called0
Lines Of Code5-
Number of Comments0-
Arguments1ts (junit.framework.TestSuite)
Modifiers2private
static
Halstead Difficulty9.43-
Variable Declarations2example (java.lang.String)
count (int)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume208.97-
Number of Operands24-
Variable References5example (1)
count (2)
ts (2)
Number of Operators21-
Max. depth of nesting0-
Number of Expressions8-
Number of Loops0-

Top of this page

Analysis of Method : filter(Filter) in Class : org.junit.internal.runners.JUnit38ClassRunner
FeatureNumberValues
Namefilter-
Cyclomatic Complexity5-
Number of Comment Lines0-
Number of Statements15-
Halstead Length107-
Halstead Vocabulary37-
Halstead Effort8312.70-
Halstead Bugs0.19-
Classes Referenced5junit.framework.TestSuite (6)
org.junit.runner.manipulation.NoTestsRemainException (1)
org.junit.runner.manipulation.Filterable (4)
junit.framework.Test (1)
org.junit.runner.manipulation.Filter (1)
External Methods Called7junit.framework.TestSuite.getName (1)
org.junit.runner.manipulation.Filterable.filter (1)
junit.framework.TestSuite.addTest (1)
junit.framework.TestSuite.testAt (1)
junit.framework.TestSuite.TestSuite (1)
junit.framework.TestSuite.testCount (1)
org.junit.runner.manipulation.Filter.shouldRun (1)
Local Methods Called3getTest (4)
setTest (1)
makeDescription (1)
Lines Of Code16-
Number of Comments0-
Arguments1filter (org.junit.runner.manipulation.Filter)
Modifiers1public
Halstead Difficulty14.91-
Variable Declarations6adapter (org.junit.runner.manipulation.Filterable)
filtered (junit.framework.TestSuite)
i (int)
suite (junit.framework.TestSuite)
test (junit.framework.Test)
n (int)
Exceptions Thrown1org.junit.runner.manipulation.NoTestsRemainException (1)
Exceptions Referenced0
Number of casts2-
Total Depth of Nesting3-
Halstead Volume557.41-
Number of Operands49-
Variable References14adapter (1)
filtered (2)
i (3)
suite (3)
filter (2)
test (2)
n (1)
Number of Operators58-
Max. depth of nesting2-
Number of Expressions24-
Number of Loops1-

Top of this page

Analysis of Method : getDescription() in Class : org.junit.internal.runners.JUnit38ClassRunner
FeatureNumberValues
NamegetDescription-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary11-
Halstead Effort134.92-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.Description (1)
External Methods Called0
Local Methods Called2getTest (1)
makeDescription (1)
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume44.97-
Number of Operands5-
Variable References0
Number of Operators8-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : getTest() in Class : org.junit.internal.runners.JUnit38ClassRunner
FeatureNumberValues
NamegetTest-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length8-
Halstead Vocabulary8-
Halstead Effort60.00-
Halstead Bugs0.01-
Classes Referenced1junit.framework.Test (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers1private
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume24.00-
Number of Operands3-
Variable References1fTest (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : makeDescription(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner
FeatureNumberValues
NamemakeDescription-
Cyclomatic Complexity6-
Number of Comment Lines1-
Number of Statements23-
Halstead Length173-
Halstead Vocabulary47-
Halstead Effort20964.59-
Halstead Bugs0.32-
Classes Referenced7org.junit.runner.Description (6)
junit.framework.TestSuite (4)
java.lang.String (1)
org.junit.runner.Describable (4)
junit.framework.Test (1)
junit.framework.TestCase (4)
junit.extensions.TestDecorator (4)
External Methods Called11junit.framework.TestSuite.testCount (1)
junit.framework.Test.getClass (1)
junit.framework.TestCase.getName (1)
org.junit.runner.Description.addChild (1)
org.junit.runner.Description.createTestDescription (1)
junit.framework.TestCase.getClass (1)
junit.framework.TestSuite.getName (2)
junit.framework.TestSuite.testAt (1)
org.junit.runner.Description.createSuiteDescription (2)
junit.extensions.TestDecorator.getTest (1)
org.junit.runner.Describable.getDescription (1)
Local Methods Called2createSuiteDescription (1)
makeDescription (2)
Lines Of Code24-
Number of Comments1-
Arguments1test (junit.framework.Test)
Modifiers2private
static
Halstead Difficulty21.82-
Variable Declarations9name (java.lang.String)
n (int)
tc (junit.framework.TestCase)
decorator (junit.extensions.TestDecorator)
i (int)
made (org.junit.runner.Description)
ts (junit.framework.TestSuite)
adapter (org.junit.runner.Describable)
description (org.junit.runner.Description)
Exceptions Thrown0
Exceptions Referenced0
Number of casts4-
Total Depth of Nesting6-
Halstead Volume960.94-
Number of Operands77-
Variable References26name (1)
n (1)
tc (2)
decorator (1)
i (3)
made (1)
test (9)
ts (5)
adapter (1)
description (2)
Number of Operators96-
Max. depth of nesting2-
Number of Expressions36-
Number of Loops1-

Top of this page

Analysis of Method : run(RunNotifier) in Class : org.junit.internal.runners.JUnit38ClassRunner
FeatureNumberValues
Namerun-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements4-
Halstead Length31-
Halstead Vocabulary18-
Halstead Effort775.61-
Halstead Bugs0.04-
Classes Referenced2org.junit.runner.notification.RunNotifier (1)
junit.framework.TestResult (2)
External Methods Called3junit.framework.TestResult.addListener (1)
junit.framework.TestResult.TestResult (1)
notifier().run (1)
Local Methods Called2createAdaptingListener (1)
getTest (1)
Lines Of Code5-
Number of Comments0-
Arguments1notifier (org.junit.runner.notification.RunNotifier)
Modifiers2@Override
public
Halstead Difficulty6.00-
Variable Declarations1result (junit.framework.TestResult)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume129.27-
Number of Operands15-
Variable References3result (2)
notifier (1)
Number of Operators16-
Max. depth of nesting0-
Number of Expressions6-
Number of Loops0-

Top of this page

Analysis of Method : setTest(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner
FeatureNumberValues
NamesetTest-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary10-
Halstead Effort109.62-
Halstead Bugs0.01-
Classes Referenced1junit.framework.Test (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1test (junit.framework.Test)
Modifiers1private
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume36.54-
Number of Operands6-
Variable References2fTest (1)
test (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : sort(Sorter) in Class : org.junit.internal.runners.JUnit38ClassRunner
FeatureNumberValues
Namesort-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements4-
Halstead Length28-
Halstead Vocabulary15-
Halstead Effort812.63-
Halstead Bugs0.04-
Classes Referenced2org.junit.runner.manipulation.Sortable (4)
org.junit.runner.manipulation.Sorter (1)
External Methods Called1org.junit.runner.manipulation.Sortable.sort (1)
Local Methods Called1getTest (2)
Lines Of Code6-
Number of Comments0-
Arguments1sorter (org.junit.runner.manipulation.Sorter)
Modifiers1public
Halstead Difficulty7.43-
Variable Declarations1adapter (org.junit.runner.manipulation.Sortable)
Exceptions Thrown0
Exceptions Referenced0
Number of casts1-
Total Depth of Nesting1-
Halstead Volume109.39-
Number of Operands13-
Variable References2adapter (1)
sorter (1)
Number of Operators15-
Max. depth of nesting1-
Number of Expressions6-
Number of Loops0-

Top of this page

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