![]() | Analysis of Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener |
---|
![]() |
Cyclomatic Complexity |
Summary of JUnit38ClassRunner$OldTestClassAdaptingListener | ||
---|---|---|
Feature | Number | Values |
Name | JUnit38ClassRunner$OldTestClassAdaptingListener | - |
Number of Methods | 8 | - |
LCOM | 0.57 | - |
Average Cyclomatic Complexity | 1.25 | - |
Number of Statements | 23 | - |
Halstead Cumulative Bugs | 0.22 | - |
Halstead Effort | 3780.08 | - |
UnWeighted Class Size | 9 | - |
Instance Variables | 1 | fNotifier (org.junit.runner.notification.RunNotifier) |
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 | 8 | - |
CBO | 8 | - |
Maintainability Index | 138.66 | - |
Cumulative Number of Comment Lines | 1 | - |
Lines Of Code | 36 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 138.66 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.50 | - |
Local Method Calls | 4 | asDescription (3) addError (1) getEffectiveClass (1) getName (1) |
LCOM2 | 8.00 | - |
Max Complexity | 2 | - |
Halstead Cumulative Volume | 656.89 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 3 | - |
Fan Out | 8 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | junit.framework.Test.toString (1) org.junit.runner.notification.Failure.Failure (1) org.junit.runner.notification.RunNotifier.fireTestStarted (1) org.junit.runner.Describable.getDescription (1) org.junit.runner.Description.createTestDescription (1) test().getName (1) junit.framework.Test.getClass (1) org.junit.runner.notification.RunNotifier.fireTestFailure (1) org.junit.runner.notification.RunNotifier.fireTestFinished (1) |
Superclasses | 0 | - |
Total Complexity | 10 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 5 | - |
Interfaces | 1 | junit.framework.TestListener |
Cumulative Number of Comments | 1 | - |
Halstead Cumulative Length | 171 | - |
Modifiers | 2 | private final |
Methods in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | OldTestClassAdaptingListener | 1 | 0 | 2 | 10 | 9 | 99.06 | 0.01 | 1 | 0 | 0 | 3 | 0 | 1 | 3 | 3.12 | 0 | 0 | 0 | 0 | 0 | 31.70 | 5 | 2 | 5 | 0 | 1 | 0 |
![]() | addError | 1 | 1 | 3 | 26 | 18 | 517.45 | 0.04 | 3 | 2 | 1 | 4 | 1 | 2 | 1 | 4.77 | 1 | 0 | 0 | 0 | 0 | 108.42 | 15 | 4 | 11 | 0 | 4 | 0 |
![]() | addFailure | 1 | 0 | 2 | 14 | 11 | 124.54 | 0.02 | 2 | 0 | 1 | 3 | 0 | 2 | 1 | 2.57 | 0 | 0 | 0 | 0 | 0 | 48.43 | 9 | 2 | 5 | 0 | 0 | 0 |
![]() | asDescription | 2 | 0 | 5 | 38 | 19 | 1307.51 | 0.05 | 3 | 2 | 2 | 7 | 0 | 1 | 1 | 8.10 | 1 | 0 | 0 | 1 | 1 | 161.42 | 18 | 5 | 20 | 1 | 7 | 0 |
![]() | endTest | 1 | 0 | 2 | 15 | 12 | 153.64 | 0.02 | 1 | 1 | 1 | 3 | 0 | 1 | 1 | 2.86 | 0 | 0 | 0 | 0 | 0 | 53.77 | 8 | 2 | 7 | 0 | 2 | 0 |
![]() | getEffectiveClass | 1 | 0 | 2 | 18 | 15 | 492.27 | 0.02 | 3 | 1 | 0 | 3 | 0 | 1 | 1 | 7.00 | 0 | 0 | 0 | 0 | 0 | 70.32 | 7 | 1 | 11 | 0 | 1 | 0 |
![]() | getName | 2 | 0 | 3 | 28 | 15 | 902.49 | 0.04 | 3 | 2 | 0 | 6 | 0 | 1 | 1 | 8.25 | 0 | 0 | 0 | 1 | 0 | 109.39 | 11 | 3 | 17 | 0 | 4 | 0 |
![]() | startTest | 1 | 0 | 2 | 15 | 12 | 153.64 | 0.02 | 1 | 1 | 1 | 3 | 0 | 1 | 1 | 2.86 | 0 | 0 | 0 | 0 | 0 | 53.77 | 8 | 2 | 7 | 0 | 2 | 0 |
Analysis of Method : OldTestClassAdaptingListener(RunNotifier) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener | ||
---|---|---|
Feature | Number | Values |
Name | OldTestClassAdaptingListener | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 99.06 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runner.notification.RunNotifier (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | notifier (org.junit.runner.notification.RunNotifier) |
Modifiers | 3 | private final private |
Halstead Difficulty | 3.12 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 31.70 | - |
Number of Operands | 5 | - |
Variable References | 2 | fNotifier (1) notifier (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : addError(Test, Throwable) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener | ||
---|---|---|
Feature | Number | Values |
Name | addError | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 1 | - |
Number of Statements | 3 | - |
Halstead Length | 26 | - |
Halstead Vocabulary | 18 | - |
Halstead Effort | 517.45 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 3 | junit.framework.Test (1) java.lang.Throwable (1) org.junit.runner.notification.Failure (2) |
External Methods Called | 2 | org.junit.runner.notification.RunNotifier.fireTestFailure (1) org.junit.runner.notification.Failure.Failure (1) |
Local Methods Called | 1 | asDescription (1) |
Lines Of Code | 4 | - |
Number of Comments | 1 | - |
Arguments | 2 | test (junit.framework.Test) t (java.lang.Throwable) |
Modifiers | 1 | public |
Halstead Difficulty | 4.77 | - |
Variable Declarations | 1 | failure (org.junit.runner.notification.Failure) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 108.42 | - |
Number of Operands | 15 | - |
Variable References | 4 | failure (1) fNotifier (1) t (1) test (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : addFailure(Test, AssertionFailedError) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener | ||
---|---|---|
Feature | Number | Values |
Name | addFailure | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 124.54 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | junit.framework.AssertionFailedError (1) junit.framework.Test (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | addError (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 2 | test (junit.framework.Test) t (junit.framework.AssertionFailedError) |
Modifiers | 1 | public |
Halstead Difficulty | 2.57 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 48.43 | - |
Number of Operands | 9 | - |
Variable References | 2 | t (1) test (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : asDescription(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener | ||
---|---|---|
Feature | Number | Values |
Name | asDescription | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 5 | - |
Halstead Length | 38 | - |
Halstead Vocabulary | 19 | - |
Halstead Effort | 1307.51 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 3 | org.junit.runner.Description (2) org.junit.runner.Describable (4) junit.framework.Test (1) |
External Methods Called | 2 | org.junit.runner.Description.createTestDescription (1) org.junit.runner.Describable.getDescription (1) |
Local Methods Called | 2 | getEffectiveClass (1) getName (1) |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 1 | private |
Halstead Difficulty | 8.10 | - |
Variable Declarations | 1 | facade (org.junit.runner.Describable) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 1 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 161.42 | - |
Number of Operands | 18 | - |
Variable References | 5 | facade (1) test (4) |
Number of Operators | 20 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 7 | - |
Number of Loops | 0 | - |
Analysis of Method : endTest(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener | ||
---|---|---|
Feature | Number | Values |
Name | endTest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 153.64 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | junit.framework.Test (1) |
External Methods Called | 1 | org.junit.runner.notification.RunNotifier.fireTestFinished (1) |
Local Methods Called | 1 | asDescription (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 1 | public |
Halstead Difficulty | 2.86 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 53.77 | - |
Number of Operands | 8 | - |
Variable References | 2 | fNotifier (1) test (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : getEffectiveClass(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener | ||
---|---|---|
Feature | Number | Values |
Name | getEffectiveClass | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 18 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 492.27 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | ?extendsTest (1) junit.framework.Test (1) java.lang.Class (1) |
External Methods Called | 1 | junit.framework.Test.getClass (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 1 | private |
Halstead Difficulty | 7.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 70.32 | - |
Number of Operands | 7 | - |
Variable References | 1 | test (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getName(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener | ||
---|---|---|
Feature | Number | Values |
Name | getName | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 28 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 902.49 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 3 | java.lang.String (1) junit.framework.Test (1) junit.framework.TestCase (3) |
External Methods Called | 2 | test().getName (1) junit.framework.Test.toString (1) |
Local Methods Called | 0 | |
Lines Of Code | 6 | - |
Number of Comments | 0 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 1 | private |
Halstead Difficulty | 8.25 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 1 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 109.39 | - |
Number of Operands | 11 | - |
Variable References | 3 | test (3) |
Number of Operators | 17 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : startTest(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener | ||
---|---|---|
Feature | Number | Values |
Name | startTest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 153.64 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | junit.framework.Test (1) |
External Methods Called | 1 | org.junit.runner.notification.RunNotifier.fireTestStarted (1) |
Local Methods Called | 1 | asDescription (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 1 | public |
Halstead Difficulty | 2.86 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 53.77 | - |
Number of Operands | 8 | - |
Variable References | 2 | fNotifier (1) test (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |