Analysis of Class : org.junit.runner.notification.RunNotifier (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.runner.notification.RunNotifier
Cyclomatic Complexity

Summary of RunNotifier
FeatureNumberValues
NameRunNotifier-
Number of Methods11-
LCOM0.30-
Average Cyclomatic Complexity1.09-
Number of Statements26-
Halstead Cumulative Bugs0.46-
Halstead Effort8170.77-
UnWeighted Class Size13-
Instance Variables2fListeners (java.util.List)
fPleaseStop (boolean)
Imported Packages7java.util.ArrayList
java.util.Collections
java.util.Iterator
java.util.List
org.junit.internal.AssumptionViolatedException
org.junit.runner.Description
org.junit.runner.Result
Response For class13-
CBO22-
Maintainability Index137.38-
Cumulative Number of Comment Lines53-
Lines Of Code33-
Fan In16-
DIT1-
Maintainability Index (NC)137.14-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.23-
Local Method Calls0
LCOM240.00-
Max Complexity2-
Halstead Cumulative Volume1380.83-
Hierarchy Method Calls0
Number of Queries0-
Fan Out6-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls2org.junit.runner.notification.StoppedByUserException.StoppedByUserException (1)
java.util.List.add (2)
org.junit.runner.notification.SafeNotifier.SafeNotifier (7)
java.util.List.remove (1)
.synchronizedList (1)
java.util.ArrayList.ArrayList (1)
Superclasses0 -
Total Complexity12-
Subclasses0 -
Message Passing Coupling2-
Number of Commands11-
Interfaces0 -
Cumulative Number of Comments12-
Halstead Cumulative Length320-
Modifiers0 -
Summary of methods in org.junit.runner.notification.RunNotifier
Methods in Class : org.junit.runner.notification.RunNotifier
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
addFirstListener1321412143.400.0211031112.860000050.19826010
addListener1221311131.170.0111031142.920000044.97726010
fireTestAssumptionFailed1823422947.630.0521081116.2500000151.6215019020
fireTestFailure1423422947.630.0521081116.2500000151.6215019020
fireTestFinished1623422947.630.0521081116.2500000151.6215019020
fireTestIgnored1423322919.760.0521081116.2500000147.1615018020
fireTestRunFinished1323422947.630.0521081116.2500000151.6215019020
fireTestRunStarted1323422947.630.0521081116.2500000151.6215019020
fireTestStarted25344261595.460.07320101117.7101000206.8218126030
pleaseStop1629971.320.0100031012.500000028.53415010
removeListener1221311131.170.0111031112.920000044.97726010


Analysis of Method : addFirstListener(RunListener) in Class : org.junit.runner.notification.RunNotifier
FeatureNumberValues
NameaddFirstListener-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary12-
Halstead Effort143.40-
Halstead Bugs0.02-
Classes Referenced1org.junit.runner.notification.RunListener (1)
External Methods Called1java.util.List.add (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1listener (org.junit.runner.notification.RunListener)
Modifiers1public
Halstead Difficulty2.86-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume50.19-
Number of Operands8-
Variable References2fListeners (1)
listener (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : addListener(RunListener) in Class : org.junit.runner.notification.RunNotifier
FeatureNumberValues
NameaddListener-
Cyclomatic Complexity1-
Number of Comment Lines2-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary11-
Halstead Effort131.17-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.notification.RunListener (1)
External Methods Called1java.util.List.add (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1listener (org.junit.runner.notification.RunListener)
Modifiers4private
final
private
public
Halstead Difficulty2.92-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume44.97-
Number of Operands7-
Variable References2fListeners (1)
listener (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : fireTestAssumptionFailed(Failure) in Class : org.junit.runner.notification.RunNotifier
FeatureNumberValues
NamefireTestAssumptionFailed-
Cyclomatic Complexity1-
Number of Comment Lines8-
Number of Statements2-
Halstead Length34-
Halstead Vocabulary22-
Halstead Effort947.63-
Halstead Bugs0.05-
Classes Referenced2org.junit.runner.notification.SafeNotifier (1)
org.junit.runner.notification.Failure (1)
External Methods Called1org.junit.runner.notification.SafeNotifier.SafeNotifier (1)
Local Methods Called0
Lines Of Code8-
Number of Comments1-
Arguments1failure (org.junit.runner.notification.Failure)
Modifiers1public
Halstead Difficulty6.25-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume151.62-
Number of Operands15-
Variable References0
Number of Operators19-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : fireTestFailure(Failure) in Class : org.junit.runner.notification.RunNotifier
FeatureNumberValues
NamefireTestFailure-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length34-
Halstead Vocabulary22-
Halstead Effort947.63-
Halstead Bugs0.05-
Classes Referenced2org.junit.runner.notification.SafeNotifier (1)
org.junit.runner.notification.Failure (1)
External Methods Called1org.junit.runner.notification.SafeNotifier.SafeNotifier (1)
Local Methods Called0
Lines Of Code8-
Number of Comments1-
Arguments1failure (org.junit.runner.notification.Failure)
Modifiers1public
Halstead Difficulty6.25-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume151.62-
Number of Operands15-
Variable References0
Number of Operators19-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : fireTestFinished(Description) in Class : org.junit.runner.notification.RunNotifier
FeatureNumberValues
NamefireTestFinished-
Cyclomatic Complexity1-
Number of Comment Lines6-
Number of Statements2-
Halstead Length34-
Halstead Vocabulary22-
Halstead Effort947.63-
Halstead Bugs0.05-
Classes Referenced2org.junit.runner.notification.SafeNotifier (1)
org.junit.runner.Description (1)
External Methods Called1org.junit.runner.notification.SafeNotifier.SafeNotifier (1)
Local Methods Called0
Lines Of Code8-
Number of Comments1-
Arguments1description (org.junit.runner.Description)
Modifiers1public
Halstead Difficulty6.25-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume151.62-
Number of Operands15-
Variable References0
Number of Operators19-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : fireTestIgnored(Description) in Class : org.junit.runner.notification.RunNotifier
FeatureNumberValues
NamefireTestIgnored-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length33-
Halstead Vocabulary22-
Halstead Effort919.76-
Halstead Bugs0.05-
Classes Referenced2org.junit.runner.notification.SafeNotifier (1)
org.junit.runner.Description (1)
External Methods Called1org.junit.runner.notification.SafeNotifier.SafeNotifier (1)
Local Methods Called0
Lines Of Code8-
Number of Comments1-
Arguments1description (org.junit.runner.Description)
Modifiers1public
Halstead Difficulty6.25-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume147.16-
Number of Operands15-
Variable References0
Number of Operators18-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : fireTestRunFinished(Result) in Class : org.junit.runner.notification.RunNotifier
FeatureNumberValues
NamefireTestRunFinished-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length34-
Halstead Vocabulary22-
Halstead Effort947.63-
Halstead Bugs0.05-
Classes Referenced2org.junit.runner.notification.SafeNotifier (1)
org.junit.runner.Result (1)
External Methods Called1org.junit.runner.notification.SafeNotifier.SafeNotifier (1)
Local Methods Called0
Lines Of Code8-
Number of Comments1-
Arguments1result (org.junit.runner.Result)
Modifiers1public
Halstead Difficulty6.25-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume151.62-
Number of Operands15-
Variable References0
Number of Operators19-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : fireTestRunStarted(Description) in Class : org.junit.runner.notification.RunNotifier
FeatureNumberValues
NamefireTestRunStarted-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length34-
Halstead Vocabulary22-
Halstead Effort947.63-
Halstead Bugs0.05-
Classes Referenced2org.junit.runner.notification.SafeNotifier (1)
org.junit.runner.Description (1)
External Methods Called1org.junit.runner.notification.SafeNotifier.SafeNotifier (1)
Local Methods Called0
Lines Of Code8-
Number of Comments1-
Arguments1description (org.junit.runner.Description)
Modifiers1public
Halstead Difficulty6.25-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume151.62-
Number of Operands15-
Variable References0
Number of Operators19-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : fireTestStarted(Description) in Class : org.junit.runner.notification.RunNotifier
FeatureNumberValues
NamefireTestStarted-
Cyclomatic Complexity2-
Number of Comment Lines5-
Number of Statements3-
Halstead Length44-
Halstead Vocabulary26-
Halstead Effort1595.46-
Halstead Bugs0.07-
Classes Referenced3org.junit.runner.notification.StoppedByUserException (2)
org.junit.runner.notification.SafeNotifier (1)
org.junit.runner.Description (1)
External Methods Called2org.junit.runner.notification.StoppedByUserException.StoppedByUserException (1)
org.junit.runner.notification.SafeNotifier.SafeNotifier (1)
Local Methods Called0
Lines Of Code10-
Number of Comments1-
Arguments1description (org.junit.runner.Description)
Modifiers1public
Halstead Difficulty7.71-
Variable Declarations0
Exceptions Thrown1org.junit.runner.notification.StoppedByUserException (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume206.82-
Number of Operands18-
Variable References1fPleaseStop (1)
Number of Operators26-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : pleaseStop() in Class : org.junit.runner.notification.RunNotifier
FeatureNumberValues
NamepleaseStop-
Cyclomatic Complexity1-
Number of Comment Lines6-
Number of Statements2-
Halstead Length9-
Halstead Vocabulary9-
Halstead Effort71.32-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume28.53-
Number of Operands4-
Variable References1fPleaseStop (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : removeListener(RunListener) in Class : org.junit.runner.notification.RunNotifier
FeatureNumberValues
NameremoveListener-
Cyclomatic Complexity1-
Number of Comment Lines2-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary11-
Halstead Effort131.17-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.notification.RunListener (1)
External Methods Called1java.util.List.remove (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1listener (org.junit.runner.notification.RunListener)
Modifiers1public
Halstead Difficulty2.92-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume44.97-
Number of Operands7-
Variable References2fListeners (1)
listener (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