![]() | 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 | ||
---|---|---|
Feature | Number | Values |
Name | JUnit38ClassRunner | - |
Number of Methods | 11 | - |
LCOM | 0.90 | - |
Average Cyclomatic Complexity | 1.91 | - |
Number of Statements | 65 | - |
Halstead Cumulative Bugs | 0.76 | - |
Halstead Effort | 34030.39 | - |
UnWeighted Class Size | 12 | - |
Instance Variables | 1 | fTest (junit.framework.Test) |
Imported Packages | 17 | junit.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 class | 11 | - |
CBO | 21 | - |
Maintainability Index | 117.29 | - |
Cumulative Number of Comment Lines | 1 | - |
Lines Of Code | 80 | - |
Fan In | 4 | - |
DIT | 1 | - |
Maintainability Index (NC) | 117.29 | - |
Specialization ratio | 2.00 | - |
Reuse Ratio | 0.25 | - |
COH | 0.18 | - |
Local Method Calls | 5 | createSuiteDescription (1) createAdaptingListener (1) getTest (8) makeDescription (4) setTest (2) |
LCOM2 | 25.00 | - |
Max Complexity | 6 | - |
Halstead Cumulative Volume | 2286.05 | - |
Hierarchy Method Calls | 1 | this (1) |
Number of Queries | 5 | - |
Fan Out | 17 | - |
SuperClass Name | org.junit.runner.Runner | - |
SIX | 0.07 | - |
External Method Calls | 0 | junit.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) |
Superclasses | 1 | org.junit.runner.Runner |
Total Complexity | 21 | - |
Subclasses | 2 | org.junit.internal.runners.SuiteMethod org.junit.runners.AllTests |
Message Passing Coupling | 0 | - |
Number of Commands | 6 | - |
Interfaces | 1 | Filterable,Sortable |
Cumulative Number of Comments | 1 | - |
Halstead Cumulative Length | 475 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.runners.JUnit38ClassRunner | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | JUnit38ClassRunner | 1 | 0 | 2 | 22 | 17 | 513.85 | 0.03 | 4 | 2 | 1 | 3 | 0 | 1 | 2 | 5.71 | 0 | 0 | 0 | 0 | 0 | 89.92 | 8 | 1 | 14 | 0 | 3 | 0 |
![]() | JUnit38ClassRunner | 1 | 0 | 3 | 13 | 9 | 98.90 | 0.01 | 1 | 0 | 1 | 4 | 0 | 1 | 1 | 2.40 | 0 | 0 | 0 | 0 | 0 | 41.21 | 6 | 1 | 7 | 0 | 2 | 0 |
![]() | createAdaptingListener | 1 | 0 | 2 | 14 | 12 | 210.80 | 0.02 | 3 | 1 | 0 | 3 | 0 | 1 | 1 | 4.20 | 0 | 0 | 0 | 0 | 0 | 50.19 | 6 | 1 | 8 | 0 | 1 | 0 |
![]() | createSuiteDescription | 1 | 0 | 4 | 45 | 25 | 1970.32 | 0.07 | 2 | 3 | 0 | 5 | 0 | 1 | 2 | 9.43 | 2 | 0 | 0 | 0 | 0 | 208.97 | 24 | 5 | 21 | 0 | 8 | 0 |
![]() | filter | 5 | 0 | 15 | 107 | 37 | 8312.70 | 0.19 | 5 | 7 | 3 | 16 | 0 | 1 | 1 | 14.91 | 6 | 1 | 0 | 2 | 3 | 557.41 | 49 | 14 | 58 | 2 | 24 | 1 |
![]() | getDescription | 1 | 0 | 2 | 13 | 11 | 134.92 | 0.01 | 1 | 0 | 2 | 3 | 0 | 0 | 2 | 3.00 | 0 | 0 | 0 | 0 | 0 | 44.97 | 5 | 0 | 8 | 0 | 2 | 0 |
![]() | getTest | 1 | 0 | 2 | 8 | 8 | 60.00 | 0.01 | 1 | 0 | 0 | 3 | 0 | 0 | 1 | 2.50 | 0 | 0 | 0 | 0 | 0 | 24.00 | 3 | 1 | 5 | 0 | 0 | 0 |
![]() | makeDescription | 6 | 1 | 23 | 173 | 47 | 20964.59 | 0.32 | 7 | 11 | 2 | 24 | 1 | 1 | 2 | 21.82 | 9 | 0 | 0 | 4 | 6 | 960.94 | 77 | 26 | 96 | 2 | 36 | 1 |
![]() | run | 1 | 0 | 4 | 31 | 18 | 775.61 | 0.04 | 2 | 3 | 2 | 5 | 0 | 1 | 2 | 6.00 | 1 | 0 | 0 | 0 | 0 | 129.27 | 15 | 3 | 16 | 0 | 6 | 0 |
![]() | setTest | 1 | 0 | 2 | 11 | 10 | 109.62 | 0.01 | 1 | 0 | 0 | 3 | 0 | 1 | 1 | 3.00 | 0 | 0 | 0 | 0 | 0 | 36.54 | 6 | 2 | 5 | 0 | 1 | 0 |
![]() | sort | 2 | 0 | 4 | 28 | 15 | 812.63 | 0.04 | 2 | 1 | 1 | 6 | 0 | 1 | 1 | 7.43 | 1 | 0 | 0 | 1 | 1 | 109.39 | 13 | 2 | 15 | 1 | 6 | 0 |
Analysis of Method : JUnit38ClassRunner(Class) in Class : org.junit.internal.runners.JUnit38ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | JUnit38ClassRunner | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 22 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 513.85 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 4 | TestCase.class (1) junit.framework.TestSuite (1) java.lang.Class (1) ? (1) |
External Methods Called | 2 | junit.framework.TestSuite.TestSuite (1) java.lang.Class.asSubclass (1) |
Local Methods Called | 1 | this (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | klass (java.lang.Class) |
Modifiers | 2 | private public |
Halstead Difficulty | 5.71 | - |
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 | 8 | - |
Variable References | 1 | klass (1) |
Number of Operators | 14 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : JUnit38ClassRunner(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | JUnit38ClassRunner | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 98.90 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | junit.framework.Test (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | setTest (1) |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 1 | public |
Halstead Difficulty | 2.40 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 41.21 | - |
Number of Operands | 6 | - |
Variable References | 1 | test (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : createAdaptingListener(RunNotifier) in Class : org.junit.internal.runners.JUnit38ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | createAdaptingListener | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 210.80 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | org.junit.runner.notification.RunNotifier (1) org.junit.internal.runners.OldTestClassAdaptingListener (1) junit.framework.TestListener (1) |
External Methods Called | 1 | org.junit.internal.runners.OldTestClassAdaptingListener.OldTestClassAdaptingListener (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | notifier (org.junit.runner.notification.RunNotifier) |
Modifiers | 1 | public |
Halstead Difficulty | 4.20 | - |
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 | 6 | - |
Variable References | 1 | notifier (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : createSuiteDescription(TestSuite) in Class : org.junit.internal.runners.JUnit38ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | createSuiteDescription | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 45 | - |
Halstead Vocabulary | 25 | - |
Halstead Effort | 1970.32 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 2 | junit.framework.TestSuite (1) java.lang.String (4) |
External Methods Called | 3 | junit.framework.TestSuite.testAt (1) junit.framework.TestSuite.countTestCases (1) java.lang.String.format (2) |
Local Methods Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 1 | ts (junit.framework.TestSuite) |
Modifiers | 2 | private static |
Halstead Difficulty | 9.43 | - |
Variable Declarations | 2 | example (java.lang.String) count (int) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 208.97 | - |
Number of Operands | 24 | - |
Variable References | 5 | example (1) count (2) ts (2) |
Number of Operators | 21 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 8 | - |
Number of Loops | 0 | - |
Analysis of Method : filter(Filter) in Class : org.junit.internal.runners.JUnit38ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | filter | - |
Cyclomatic Complexity | 5 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 15 | - |
Halstead Length | 107 | - |
Halstead Vocabulary | 37 | - |
Halstead Effort | 8312.70 | - |
Halstead Bugs | 0.19 | - |
Classes Referenced | 5 | junit.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 Called | 7 | junit.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 Called | 3 | getTest (4) setTest (1) makeDescription (1) |
Lines Of Code | 16 | - |
Number of Comments | 0 | - |
Arguments | 1 | filter (org.junit.runner.manipulation.Filter) |
Modifiers | 1 | public |
Halstead Difficulty | 14.91 | - |
Variable Declarations | 6 | adapter (org.junit.runner.manipulation.Filterable) filtered (junit.framework.TestSuite) i (int) suite (junit.framework.TestSuite) test (junit.framework.Test) n (int) |
Exceptions Thrown | 1 | org.junit.runner.manipulation.NoTestsRemainException (1) |
Exceptions Referenced | 0 | |
Number of casts | 2 | - |
Total Depth of Nesting | 3 | - |
Halstead Volume | 557.41 | - |
Number of Operands | 49 | - |
Variable References | 14 | adapter (1) filtered (2) i (3) suite (3) filter (2) test (2) n (1) |
Number of Operators | 58 | - |
Max. depth of nesting | 2 | - |
Number of Expressions | 24 | - |
Number of Loops | 1 | - |
Analysis of Method : getDescription() in Class : org.junit.internal.runners.JUnit38ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | getDescription | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 134.92 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runner.Description (1) |
External Methods Called | 0 | |
Local Methods Called | 2 | getTest (1) makeDescription (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 3.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 44.97 | - |
Number of Operands | 5 | - |
Variable References | 0 | |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : getTest() in Class : org.junit.internal.runners.JUnit38ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | getTest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 8 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 60.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | junit.framework.Test (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | private |
Halstead Difficulty | 2.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 24.00 | - |
Number of Operands | 3 | - |
Variable References | 1 | fTest (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : makeDescription(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | makeDescription | - |
Cyclomatic Complexity | 6 | - |
Number of Comment Lines | 1 | - |
Number of Statements | 23 | - |
Halstead Length | 173 | - |
Halstead Vocabulary | 47 | - |
Halstead Effort | 20964.59 | - |
Halstead Bugs | 0.32 | - |
Classes Referenced | 7 | org.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 Called | 11 | junit.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 Called | 2 | createSuiteDescription (1) makeDescription (2) |
Lines Of Code | 24 | - |
Number of Comments | 1 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 2 | private static |
Halstead Difficulty | 21.82 | - |
Variable Declarations | 9 | name (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 Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 4 | - |
Total Depth of Nesting | 6 | - |
Halstead Volume | 960.94 | - |
Number of Operands | 77 | - |
Variable References | 26 | name (1) n (1) tc (2) decorator (1) i (3) made (1) test (9) ts (5) adapter (1) description (2) |
Number of Operators | 96 | - |
Max. depth of nesting | 2 | - |
Number of Expressions | 36 | - |
Number of Loops | 1 | - |
Analysis of Method : run(RunNotifier) in Class : org.junit.internal.runners.JUnit38ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 31 | - |
Halstead Vocabulary | 18 | - |
Halstead Effort | 775.61 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 2 | org.junit.runner.notification.RunNotifier (1) junit.framework.TestResult (2) |
External Methods Called | 3 | junit.framework.TestResult.addListener (1) junit.framework.TestResult.TestResult (1) notifier().run (1) |
Local Methods Called | 2 | createAdaptingListener (1) getTest (1) |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 1 | notifier (org.junit.runner.notification.RunNotifier) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 6.00 | - |
Variable Declarations | 1 | result (junit.framework.TestResult) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 129.27 | - |
Number of Operands | 15 | - |
Variable References | 3 | result (2) notifier (1) |
Number of Operators | 16 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 6 | - |
Number of Loops | 0 | - |
Analysis of Method : setTest(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | setTest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 10 | - |
Halstead Effort | 109.62 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | junit.framework.Test (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 1 | private |
Halstead Difficulty | 3.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 36.54 | - |
Number of Operands | 6 | - |
Variable References | 2 | fTest (1) test (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : sort(Sorter) in Class : org.junit.internal.runners.JUnit38ClassRunner | ||
---|---|---|
Feature | Number | Values |
Name | sort | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 28 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 812.63 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 2 | org.junit.runner.manipulation.Sortable (4) org.junit.runner.manipulation.Sorter (1) |
External Methods Called | 1 | org.junit.runner.manipulation.Sortable.sort (1) |
Local Methods Called | 1 | getTest (2) |
Lines Of Code | 6 | - |
Number of Comments | 0 | - |
Arguments | 1 | sorter (org.junit.runner.manipulation.Sorter) |
Modifiers | 1 | public |
Halstead Difficulty | 7.43 | - |
Variable Declarations | 1 | adapter (org.junit.runner.manipulation.Sortable) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 1 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 109.39 | - |
Number of Operands | 13 | - |
Variable References | 2 | adapter (1) sorter (1) |
Number of Operators | 15 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 6 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |