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

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

Summary of ClassRoadie
FeatureNumberValues
NameClassRoadie-
Number of Methods6-
LCOM0.15-
Average Cyclomatic Complexity2.33-
Number of Statements40-
Halstead Cumulative Bugs0.33-
Halstead Effort7351.89-
UnWeighted Class Size10-
Instance Variables4fDescription (org.junit.runner.Description)
fNotifier (org.junit.runner.notification.RunNotifier)
fRunnable (java.lang.Runnable)
fTestClass (TestClass)
Imported Packages7java.lang.reflect.InvocationTargetException
java.lang.reflect.Method
java.util.List
org.junit.runner.Description
org.junit.runner.notification.Failure
org.junit.runner.notification.RunNotifier
org.junit.runners.BlockJUnit4ClassRunner
Response For class6-
CBO8-
Maintainability Index117.46-
Cumulative Number of Comment Lines5-
Lines Of Code55-
Fan In1-
DIT1-
Maintainability Index (NC)117.46-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.38-
Local Method Calls4runBefores (1)
runUnprotected (1)
addFailure (3)
runAfters (1)
LCOM26.00-
Max Complexity5-
Halstead Cumulative Volume976.38-
Hierarchy Method Calls0
Number of Queries0-
Fan Out7-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0org.junit.internal.runners.TestClass.getAfters (1)
org.junit.runner.notification.RunNotifier.fireTestFailure (1)
e.getTargetException (2)
org.junit.internal.runners.TestClass.getBefores (1)
org.junit.runner.notification.Failure.Failure (1)
before.invoke (1)
org.junit.internal.runners.FailedBefore.FailedBefore (2)
after.invoke (1)
java.lang.Runnable.run (1)
Superclasses0 -
Total Complexity14-
Subclasses0 -
Message Passing Coupling0-
Number of Commands6-
Interfaces0 -
Cumulative Number of Comments2-
Halstead Cumulative Length218-
Modifiers0 -
Summary of methods in org.junit.internal.runners.ClassRoadie
Methods in Class : org.junit.internal.runners.ClassRoadie
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
ClassRoadie1052818381.710.0440070463.2700000116.7617811040
addFailure1021714218.450.0222030113.380000064.73938020
runAfters40951272133.990.08431111018.8010203242.5022529161
runBefores501275354183.570.136411600110.8811305384.7029546271
runProtected2052314306.490.0310390013.500010387.577016130
runUnprotected10210979.250.0101030012.500000031.70416010


Analysis of Method : ClassRoadie(RunNotifier, TestClass, Description, Runnable) in Class : org.junit.internal.runners.ClassRoadie
FeatureNumberValues
NameClassRoadie-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements5-
Halstead Length28-
Halstead Vocabulary18-
Halstead Effort381.71-
Halstead Bugs0.04-
Classes Referenced4org.junit.runner.Description (1)
org.junit.runner.notification.RunNotifier (1)
org.junit.internal.runners.TestClass (1)
java.lang.Runnable (1)
External Methods Called0
Local Methods Called0
Lines Of Code7-
Number of Comments0-
Arguments4notifier (org.junit.runner.notification.RunNotifier)
testClass (TestClass)
description (org.junit.runner.Description)
runnable (java.lang.Runnable)
Modifiers6private
private
private
private
final
public
Halstead Difficulty3.27-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume116.76-
Number of Operands17-
Variable References8fDescription (1)
fNotifier (1)
fRunnable (1)
fTestClass (1)
description (1)
notifier (1)
runnable (1)
testClass (1)
Number of Operators11-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : addFailure(Throwable) in Class : org.junit.internal.runners.ClassRoadie
FeatureNumberValues
NameaddFailure-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length17-
Halstead Vocabulary14-
Halstead Effort218.45-
Halstead Bugs0.02-
Classes Referenced2java.lang.Throwable (1)
org.junit.runner.notification.Failure (1)
External Methods Called2org.junit.runner.notification.RunNotifier.fireTestFailure (1)
org.junit.runner.notification.Failure.Failure (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1targetException (java.lang.Throwable)
Modifiers1protected
Halstead Difficulty3.38-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume64.73-
Number of Operands9-
Variable References3fDescription (1)
fNotifier (1)
targetException (1)
Number of Operators8-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : runAfters() in Class : org.junit.internal.runners.ClassRoadie
FeatureNumberValues
NamerunAfters-
Cyclomatic Complexity4-
Number of Comment Lines0-
Number of Statements9-
Halstead Length51-
Halstead Vocabulary27-
Halstead Effort2133.99-
Halstead Bugs0.08-
Classes Referenced4java.util.List (1)
java.lang.reflect.InvocationTargetException (1)
java.lang.Throwable (1)
java.lang.reflect.Method (3)
External Methods Called3e.getTargetException (1)
after.invoke (1)
org.junit.internal.runners.TestClass.getAfters (1)
Local Methods Called1addFailure (2)
Lines Of Code11-
Number of Comments1-
Arguments0 -
Modifiers1private
Halstead Difficulty8.80-
Variable Declarations1afters (List<Method>)
Exceptions Thrown0
Exceptions Referenced2java.lang.reflect.InvocationTargetException (1)
java.lang.Throwable (1)
Number of casts0-
Total Depth of Nesting3-
Halstead Volume242.50-
Number of Operands22-
Variable References5fTestClass (1)
e (2)
after (1)
afters (1)
Number of Operators29-
Max. depth of nesting1-
Number of Expressions6-
Number of Loops1-

Top of this page

Analysis of Method : runBefores() in Class : org.junit.internal.runners.ClassRoadie
FeatureNumberValues
NamerunBefores-
Cyclomatic Complexity5-
Number of Comment Lines0-
Number of Statements12-
Halstead Length75-
Halstead Vocabulary35-
Halstead Effort4183.57-
Halstead Bugs0.13-
Classes Referenced6java.util.List (1)
org.junit.internal.AssumptionViolatedException (1)
org.junit.internal.runners.FailedBefore (3)
java.lang.reflect.InvocationTargetException (1)
java.lang.Throwable (1)
java.lang.reflect.Method (3)
External Methods Called4org.junit.internal.runners.TestClass.getBefores (1)
org.junit.internal.runners.FailedBefore.FailedBefore (2)
before.invoke (1)
e.getTargetException (1)
Local Methods Called1addFailure (1)
Lines Of Code16-
Number of Comments0-
Arguments0 -
Modifiers1private
Halstead Difficulty10.88-
Variable Declarations1befores (List<Method>)
Exceptions Thrown1org.junit.internal.runners.FailedBefore (1)
Exceptions Referenced3org.junit.internal.AssumptionViolatedException (1)
java.lang.reflect.InvocationTargetException (1)
java.lang.Throwable (1)
Number of casts0-
Total Depth of Nesting5-
Halstead Volume384.70-
Number of Operands29-
Variable References5fTestClass (1)
before (1)
e (2)
befores (1)
Number of Operators46-
Max. depth of nesting2-
Number of Expressions7-
Number of Loops1-

Top of this page

Analysis of Method : runProtected() in Class : org.junit.internal.runners.ClassRoadie
FeatureNumberValues
NamerunProtected-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements5-
Halstead Length23-
Halstead Vocabulary14-
Halstead Effort306.49-
Halstead Bugs0.03-
Classes Referenced1org.junit.internal.runners.FailedBefore (1)
External Methods Called0
Local Methods Called3runUnprotected (1)
runBefores (1)
runAfters (1)
Lines Of Code9-
Number of Comments0-
Arguments0 -
Modifiers1public
Halstead Difficulty3.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced1org.junit.internal.runners.FailedBefore (1)
Number of casts0-
Total Depth of Nesting3-
Halstead Volume87.57-
Number of Operands7-
Variable References0
Number of Operators16-
Max. depth of nesting1-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : runUnprotected() in Class : org.junit.internal.runners.ClassRoadie
FeatureNumberValues
NamerunUnprotected-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary9-
Halstead Effort79.25-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called1java.lang.Runnable.run (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers1protected
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume31.70-
Number of Operands4-
Variable References1fRunnable (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

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