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

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

Summary of RunNotifier$SafeNotifier
FeatureNumberValues
NameRunNotifier$SafeNotifier-
Number of Methods2-
LCOM0.00-
Average Cyclomatic Complexity2.00-
Number of Statements11-
Halstead Cumulative Bugs0.10-
Halstead Effort2158.69-
UnWeighted Class Size2-
Instance Variables0 -
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 class2-
CBO3-
Maintainability Index120.88-
Cumulative Number of Comment Lines0-
Lines Of Code14-
Fan In0-
DIT1-
Maintainability Index (NC)120.88-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.00-
Local Method Calls1notifyListener (1)
LCOM22.00-
Max Complexity3-
Halstead Cumulative Volume302.41-
Hierarchy Method Calls1fireTestFailure (1)
Number of Queries0-
Fan Out3-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0Iterator.next (1)
org.junit.runner.notification.Failure.Failure (1)
Iterator.hasNext (1)
Iterator.remove (1)
Superclasses0 -
Total Complexity4-
Subclasses0 -
Message Passing Coupling0-
Number of Commands2-
Interfaces0 -
Cumulative Number of Comments1-
Halstead Cumulative Length67-
Modifiers2private
abstract
Summary of methods in org.junit.runner.notification.RunNotifier$SafeNotifier
Methods in Class : org.junit.runner.notification.RunNotifier$SafeNotifier
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
notifyListener101101083.050.0120010122.500100033.22505000
run30955292074.640.09542111007.7610103267.1922833271


Analysis of Method : notifyListener(RunListener) in Class : org.junit.runner.notification.RunNotifier$SafeNotifier
FeatureNumberValues
NamenotifyListener-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements1-
Halstead Length10-
Halstead Vocabulary10-
Halstead Effort83.05-
Halstead Bugs0.01-
Classes Referenced2java.lang.Exception (1)
org.junit.runner.notification.RunListener (1)
External Methods Called0
Local Methods Called0
Lines Of Code1-
Number of Comments0-
Arguments1each (org.junit.runner.notification.RunListener)
Modifiers2abstract
protected
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume33.22-
Number of Operands5-
Variable References0
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : run() in Class : org.junit.runner.notification.RunNotifier$SafeNotifier
FeatureNumberValues
Namerun-
Cyclomatic Complexity3-
Number of Comment Lines0-
Number of Statements9-
Halstead Length55-
Halstead Vocabulary29-
Halstead Effort2074.64-
Halstead Bugs0.09-
Classes Referenced5org.junit.runner.Description (1)
java.util.Iterator (1)
org.junit.runner.notification.Failure (1)
java.lang.Exception (1)
org.junit.runner.notification.RunListener (2)
External Methods Called4Iterator.next (1)
org.junit.runner.notification.Failure.Failure (1)
Iterator.hasNext (1)
Iterator.remove (1)
Local Methods Called2notifyListener (1)
fireTestFailure (1)
Lines Of Code11-
Number of Comments1-
Arguments0 -
Modifiers0 -
Halstead Difficulty7.76-
Variable Declarations1all (Iterator<RunListener>)
Exceptions Thrown0
Exceptions Referenced1java.lang.Exception (1)
Number of casts0-
Total Depth of Nesting3-
Halstead Volume267.19-
Number of Operands22-
Variable References8fListeners (3)
TEST_MECHANISM (1)
all (3)
e (1)
Number of Operators33-
Max. depth of nesting2-
Number of Expressions7-
Number of Loops1-

Top of this page

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