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

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

Summary of ErrorReportingRunner
FeatureNumberValues
NameErrorReportingRunner-
Number of Methods6-
LCOM0.00-
Average Cyclomatic Complexity1.83-
Number of Statements30-
Halstead Cumulative Bugs0.32-
Halstead Effort7549.13-
UnWeighted Class Size8-
Instance Variables2fCauses (java.util.List)
fTestClass (java.lang.Class)
Imported Packages8java.lang.reflect.InvocationTargetException
java.util.Arrays
java.util.List
org.junit.runner.Description
org.junit.runner.Runner
org.junit.runner.notification.Failure
org.junit.runner.notification.RunNotifier
org.junit.runners.model.InitializationError
Response For class6-
CBO10-
Maintainability Index120.38-
Cumulative Number of Comment Lines0-
Lines Of Code41-
Fan In4-
DIT1-
Maintainability Index (NC)120.38-
Specialization ratio0.00-
Reuse Ratio0.50-
COH0.50-
Local Method Calls3getCauses (2)
runCause (1)
describeCause (2)
LCOM22.00-
Max Complexity4-
Halstead Cumulative Volume954.53-
Hierarchy Method Calls0
Number of Queries3-
Fan Out6-
SuperClass Nameorg.junit.runner.Runner-
SIX0.11-
External Method Calls0java.lang.Throwable.getCause (1)
org.junit.runner.notification.Failure.Failure (1)
org.junit.runner.notification.RunNotifier.fireTestFinished (1)
org.junit.runner.Description.createSuiteDescription (1)
org.junit.runner.Description.createTestDescription (1)
org.junit.runner.notification.RunNotifier.fireTestStarted (1)
org.junit.runner.notification.RunNotifier.fireTestFailure (1)
cause().getCauses (1)
java.util.Arrays.asList (1)
org.junit.runner.Description.addChild (1)
Superclasses1org.junit.runner.Runner
Total Complexity11-
Subclasses0 -
Message Passing Coupling0-
Number of Commands3-
Interfaces0 -
Cumulative Number of Comments0-
Halstead Cumulative Length221-
Modifiers0 -
Summary of methods in org.junit.internal.runners.ErrorReportingRunner
Methods in Class : org.junit.internal.runners.ErrorReportingRunner
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
ErrorReportingRunner1032116420.000.0330140255.000000084.0010411030
describeCause1021513190.310.0221040113.430000055.51817010
getCauses40578264436.280.126311001212.1000020366.63337450100
getDescription20733211054.160.0522160027.2710000144.9516517041
run2052016342.220.0320140124.280000080.001139001
runCause1053820928.550.0544160215.6510000164.2321817060


Analysis of Method : ErrorReportingRunner(Class, Throwable) in Class : org.junit.internal.runners.ErrorReportingRunner
FeatureNumberValues
NameErrorReportingRunner-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements3-
Halstead Length21-
Halstead Vocabulary16-
Halstead Effort420.00-
Halstead Bugs0.03-
Classes Referenced3java.lang.Class (1)
? (1)
java.lang.Throwable (1)
External Methods Called0
Local Methods Called1getCauses (1)
Lines Of Code4-
Number of Comments0-
Arguments2testClass (java.lang.Class)
cause (java.lang.Throwable)
Modifiers5private
final
private
final
public
Halstead Difficulty5.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume84.00-
Number of Operands10-
Variable References4fCauses (1)
fTestClass (1)
cause (1)
testClass (1)
Number of Operators11-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : describeCause(Throwable) in Class : org.junit.internal.runners.ErrorReportingRunner
FeatureNumberValues
NamedescribeCause-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length15-
Halstead Vocabulary13-
Halstead Effort190.31-
Halstead Bugs0.02-
Classes Referenced2org.junit.runner.Description (2)
java.lang.Throwable (1)
External Methods Called1org.junit.runner.Description.createTestDescription (1)
Local Methods Called0
Lines Of Code4-
Number of Comments0-
Arguments1child (java.lang.Throwable)
Modifiers1private
Halstead Difficulty3.43-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume55.51-
Number of Operands8-
Variable References1fTestClass (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getCauses(Throwable) in Class : org.junit.internal.runners.ErrorReportingRunner
FeatureNumberValues
NamegetCauses-
Cyclomatic Complexity4-
Number of Comment Lines0-
Number of Statements5-
Halstead Length78-
Halstead Vocabulary26-
Halstead Effort4436.28-
Halstead Bugs0.12-
Classes Referenced6java.util.List (1)
java.lang.reflect.InvocationTargetException (1)
org.junit.internal.runners.InitializationError (3)
java.util.Arrays (1)
java.lang.Throwable (2)
org.junit.runners.model.InitializationError (3)
External Methods Called3cause().getCauses (1)
java.util.Arrays.asList (1)
java.lang.Throwable.getCause (1)
Local Methods Called1getCauses (1)
Lines Of Code10-
Number of Comments0-
Arguments1cause (java.lang.Throwable)
Modifiers2@SuppressWarnings("deprecation")
private
Halstead Difficulty12.10-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts2-
Total Depth of Nesting0-
Halstead Volume366.63-
Number of Operands33-
Variable References7cause (7)
Number of Operators45-
Max. depth of nesting0-
Number of Expressions10-
Number of Loops0-

Top of this page

Analysis of Method : getDescription() in Class : org.junit.internal.runners.ErrorReportingRunner
FeatureNumberValues
NamegetDescription-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements7-
Halstead Length33-
Halstead Vocabulary21-
Halstead Effort1054.16-
Halstead Bugs0.05-
Classes Referenced2org.junit.runner.Description (3)
java.lang.Throwable (1)
External Methods Called2org.junit.runner.Description.addChild (1)
org.junit.runner.Description.createSuiteDescription (1)
Local Methods Called1describeCause (1)
Lines Of Code6-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty7.27-
Variable Declarations1description (org.junit.runner.Description)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume144.95-
Number of Operands16-
Variable References5fCauses (1)
fTestClass (1)
description (2)
each (1)
Number of Operators17-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops1-

Top of this page

Analysis of Method : run(RunNotifier) in Class : org.junit.internal.runners.ErrorReportingRunner
FeatureNumberValues
Namerun-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements5-
Halstead Length20-
Halstead Vocabulary16-
Halstead Effort342.22-
Halstead Bugs0.03-
Classes Referenced2org.junit.runner.notification.RunNotifier (1)
java.lang.Throwable (1)
External Methods Called0
Local Methods Called1runCause (1)
Lines Of Code4-
Number of Comments0-
Arguments1notifier (org.junit.runner.notification.RunNotifier)
Modifiers2@Override
public
Halstead Difficulty4.28-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume80.00-
Number of Operands11-
Variable References3fCauses (1)
notifier (1)
each (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops1-

Top of this page

Analysis of Method : runCause(Throwable, RunNotifier) in Class : org.junit.internal.runners.ErrorReportingRunner
FeatureNumberValues
NamerunCause-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements5-
Halstead Length38-
Halstead Vocabulary20-
Halstead Effort928.55-
Halstead Bugs0.05-
Classes Referenced4org.junit.runner.Description (1)
org.junit.runner.notification.RunNotifier (1)
java.lang.Throwable (1)
org.junit.runner.notification.Failure (1)
External Methods Called4org.junit.runner.notification.RunNotifier.fireTestFinished (1)
org.junit.runner.notification.RunNotifier.fireTestStarted (1)
org.junit.runner.notification.Failure.Failure (1)
org.junit.runner.notification.RunNotifier.fireTestFailure (1)
Local Methods Called1describeCause (1)
Lines Of Code6-
Number of Comments0-
Arguments2child (java.lang.Throwable)
notifier (org.junit.runner.notification.RunNotifier)
Modifiers1private
Halstead Difficulty5.65-
Variable Declarations1description (org.junit.runner.Description)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume164.23-
Number of Operands21-
Variable References8description (3)
notifier (3)
child (2)
Number of Operators17-
Max. depth of nesting0-
Number of Expressions6-
Number of Loops0-

Top of this page

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