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
FeatureNumberValues
NameJUnit38ClassRunner$OldTestClassAdaptingListener-
Number of Methods8-
LCOM0.57-
Average Cyclomatic Complexity1.25-
Number of Statements23-
Halstead Cumulative Bugs0.22-
Halstead Effort3780.08-
UnWeighted Class Size9-
Instance Variables1fNotifier (org.junit.runner.notification.RunNotifier)
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 class8-
CBO8-
Maintainability Index138.66-
Cumulative Number of Comment Lines1-
Lines Of Code36-
Fan In0-
DIT1-
Maintainability Index (NC)138.66-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.50-
Local Method Calls4asDescription (3)
addError (1)
getEffectiveClass (1)
getName (1)
LCOM28.00-
Max Complexity2-
Halstead Cumulative Volume656.89-
Hierarchy Method Calls0
Number of Queries3-
Fan Out8-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0junit.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)
Superclasses0 -
Total Complexity10-
Subclasses0 -
Message Passing Coupling0-
Number of Commands5-
Interfaces1junit.framework.TestListener
Cumulative Number of Comments1-
Halstead Cumulative Length171-
Modifiers2private
final
Summary of methods in org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener
Methods in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
OldTestClassAdaptingListener10210999.060.0110030133.120000031.70525010
addError1132618517.450.0432141214.7710000108.4215411040
addFailure1021411124.540.0220130212.570000048.43925000
asDescription20538191307.510.0532270118.1010011161.4218520170
endTest1021512153.640.0211130112.860000053.77827020
getEffectiveClass1021815492.270.0231030117.000000070.327111010
getName2032815902.490.0432060118.2500010109.3911317040
startTest1021512153.640.0211130112.860000053.77827020


Analysis of Method : OldTestClassAdaptingListener(RunNotifier) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener
FeatureNumberValues
NameOldTestClassAdaptingListener-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary9-
Halstead Effort99.06-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.notification.RunNotifier (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1notifier (org.junit.runner.notification.RunNotifier)
Modifiers3private
final
private
Halstead Difficulty3.12-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume31.70-
Number of Operands5-
Variable References2fNotifier (1)
notifier (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : addError(Test, Throwable) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener
FeatureNumberValues
NameaddError-
Cyclomatic Complexity1-
Number of Comment Lines1-
Number of Statements3-
Halstead Length26-
Halstead Vocabulary18-
Halstead Effort517.45-
Halstead Bugs0.04-
Classes Referenced3junit.framework.Test (1)
java.lang.Throwable (1)
org.junit.runner.notification.Failure (2)
External Methods Called2org.junit.runner.notification.RunNotifier.fireTestFailure (1)
org.junit.runner.notification.Failure.Failure (1)
Local Methods Called1asDescription (1)
Lines Of Code4-
Number of Comments1-
Arguments2test (junit.framework.Test)
t (java.lang.Throwable)
Modifiers1public
Halstead Difficulty4.77-
Variable Declarations1failure (org.junit.runner.notification.Failure)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume108.42-
Number of Operands15-
Variable References4failure (1)
fNotifier (1)
t (1)
test (1)
Number of Operators11-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : addFailure(Test, AssertionFailedError) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener
FeatureNumberValues
NameaddFailure-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary11-
Halstead Effort124.54-
Halstead Bugs0.02-
Classes Referenced2junit.framework.AssertionFailedError (1)
junit.framework.Test (1)
External Methods Called0
Local Methods Called1addError (1)
Lines Of Code3-
Number of Comments0-
Arguments2test (junit.framework.Test)
t (junit.framework.AssertionFailedError)
Modifiers1public
Halstead Difficulty2.57-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume48.43-
Number of Operands9-
Variable References2t (1)
test (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : asDescription(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener
FeatureNumberValues
NameasDescription-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements5-
Halstead Length38-
Halstead Vocabulary19-
Halstead Effort1307.51-
Halstead Bugs0.05-
Classes Referenced3org.junit.runner.Description (2)
org.junit.runner.Describable (4)
junit.framework.Test (1)
External Methods Called2org.junit.runner.Description.createTestDescription (1)
org.junit.runner.Describable.getDescription (1)
Local Methods Called2getEffectiveClass (1)
getName (1)
Lines Of Code7-
Number of Comments0-
Arguments1test (junit.framework.Test)
Modifiers1private
Halstead Difficulty8.10-
Variable Declarations1facade (org.junit.runner.Describable)
Exceptions Thrown0
Exceptions Referenced0
Number of casts1-
Total Depth of Nesting1-
Halstead Volume161.42-
Number of Operands18-
Variable References5facade (1)
test (4)
Number of Operators20-
Max. depth of nesting1-
Number of Expressions7-
Number of Loops0-

Top of this page

Analysis of Method : endTest(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener
FeatureNumberValues
NameendTest-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length15-
Halstead Vocabulary12-
Halstead Effort153.64-
Halstead Bugs0.02-
Classes Referenced1junit.framework.Test (1)
External Methods Called1org.junit.runner.notification.RunNotifier.fireTestFinished (1)
Local Methods Called1asDescription (1)
Lines Of Code3-
Number of Comments0-
Arguments1test (junit.framework.Test)
Modifiers1public
Halstead Difficulty2.86-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume53.77-
Number of Operands8-
Variable References2fNotifier (1)
test (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : getEffectiveClass(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener
FeatureNumberValues
NamegetEffectiveClass-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length18-
Halstead Vocabulary15-
Halstead Effort492.27-
Halstead Bugs0.02-
Classes Referenced3?extendsTest (1)
junit.framework.Test (1)
java.lang.Class (1)
External Methods Called1junit.framework.Test.getClass (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1test (junit.framework.Test)
Modifiers1private
Halstead Difficulty7.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume70.32-
Number of Operands7-
Variable References1test (1)
Number of Operators11-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getName(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener
FeatureNumberValues
NamegetName-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements3-
Halstead Length28-
Halstead Vocabulary15-
Halstead Effort902.49-
Halstead Bugs0.04-
Classes Referenced3java.lang.String (1)
junit.framework.Test (1)
junit.framework.TestCase (3)
External Methods Called2test().getName (1)
junit.framework.Test.toString (1)
Local Methods Called0
Lines Of Code6-
Number of Comments0-
Arguments1test (junit.framework.Test)
Modifiers1private
Halstead Difficulty8.25-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts1-
Total Depth of Nesting0-
Halstead Volume109.39-
Number of Operands11-
Variable References3test (3)
Number of Operators17-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : startTest(Test) in Class : org.junit.internal.runners.JUnit38ClassRunner$OldTestClassAdaptingListener
FeatureNumberValues
NamestartTest-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length15-
Halstead Vocabulary12-
Halstead Effort153.64-
Halstead Bugs0.02-
Classes Referenced1junit.framework.Test (1)
External Methods Called1org.junit.runner.notification.RunNotifier.fireTestStarted (1)
Local Methods Called1asDescription (1)
Lines Of Code3-
Number of Comments0-
Arguments1test (junit.framework.Test)
Modifiers1public
Halstead Difficulty2.86-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume53.77-
Number of Operands8-
Variable References2fNotifier (1)
test (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

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