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

Dashboard for Class : org.junit.internal.runners.model.EachTestNotifier
Cyclomatic Complexity

Summary of EachTestNotifier
FeatureNumberValues
NameEachTestNotifier-
Number of Methods6-
LCOM0.60-
Average Cyclomatic Complexity1.33-
Number of Statements23-
Halstead Cumulative Bugs0.15-
Halstead Effort2918.57-
UnWeighted Class Size8-
Instance Variables2fDescription (org.junit.runner.Description)
fNotifier (org.junit.runner.notification.RunNotifier)
Imported Packages4org.junit.internal.AssumptionViolatedException
org.junit.runner.Description
org.junit.runner.notification.Failure
org.junit.runner.notification.RunNotifier
Response For class6-
CBO7-
Maintainability Index131.98-
Cumulative Number of Comment Lines0-
Lines Of Code29-
Fan In2-
DIT1-
Maintainability Index (NC)131.98-
Specialization ratio0.00-
Reuse Ratio0.00-
COH1.00-
Local Method Calls1addFailure (1)
LCOM20.00-
Max Complexity3-
Halstead Cumulative Volume455.47-
Hierarchy Method Calls0
Number of Queries0-
Fan Out5-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0org.junit.runner.notification.RunNotifier.fireTestStarted (1)
org.junit.internal.runners.model.MultipleFailureException.getFailures (1)
org.junit.runner.notification.RunNotifier.fireTestFinished (1)
org.junit.runner.notification.RunNotifier.fireTestIgnored (1)
org.junit.runner.notification.RunNotifier.fireTestAssumptionFailed (1)
org.junit.runner.notification.Failure.Failure (2)
org.junit.runner.notification.RunNotifier.fireTestFailure (1)
Superclasses0 -
Total Complexity8-
Subclasses0 -
Message Passing Coupling0-
Number of Commands6-
Interfaces0 -
Cumulative Number of Comments0-
Halstead Cumulative Length119-
Modifiers0 -
Summary of methods in org.junit.internal.runners.model.EachTestNotifier
Methods in Class : org.junit.internal.runners.model.EachTestNotifier
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
EachTestNotifier1031612184.370.0220040253.210000057.36947020
addFailedAssumption1021714218.450.0222030113.380000064.73938020
addFailure30945242166.390.07331901110.5010011206.3221724171
fireTestFinished102119108.970.0101030013.120000034.87526010
fireTestIgnored102119108.970.0101030013.120000034.87526010
fireTestStarted102119108.970.0101030013.120000034.87526010


Analysis of Method : EachTestNotifier(RunNotifier, Description) in Class : org.junit.internal.runners.model.EachTestNotifier
FeatureNumberValues
NameEachTestNotifier-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements3-
Halstead Length16-
Halstead Vocabulary12-
Halstead Effort184.37-
Halstead Bugs0.02-
Classes Referenced2org.junit.runner.Description (1)
org.junit.runner.notification.RunNotifier (1)
External Methods Called0
Local Methods Called0
Lines Of Code4-
Number of Comments0-
Arguments2notifier (org.junit.runner.notification.RunNotifier)
description (org.junit.runner.Description)
Modifiers5private
final
private
final
public
Halstead Difficulty3.21-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume57.36-
Number of Operands9-
Variable References4fDescription (1)
fNotifier (1)
description (1)
notifier (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : addFailedAssumption(AssumptionViolatedException) in Class : org.junit.internal.runners.model.EachTestNotifier
FeatureNumberValues
NameaddFailedAssumption-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length17-
Halstead Vocabulary14-
Halstead Effort218.45-
Halstead Bugs0.02-
Classes Referenced2org.junit.internal.AssumptionViolatedException (1)
org.junit.runner.notification.Failure (1)
External Methods Called2org.junit.runner.notification.RunNotifier.fireTestAssumptionFailed (1)
org.junit.runner.notification.Failure.Failure (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1e (org.junit.internal.AssumptionViolatedException)
Modifiers1public
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)
e (1)
Number of Operators8-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : addFailure(Throwable) in Class : org.junit.internal.runners.model.EachTestNotifier
FeatureNumberValues
NameaddFailure-
Cyclomatic Complexity3-
Number of Comment Lines0-
Number of Statements9-
Halstead Length45-
Halstead Vocabulary24-
Halstead Effort2166.39-
Halstead Bugs0.07-
Classes Referenced3org.junit.internal.runners.model.MultipleFailureException (4)
java.lang.Throwable (2)
org.junit.runner.notification.Failure (1)
External Methods Called3org.junit.internal.runners.model.MultipleFailureException.getFailures (1)
org.junit.runner.notification.RunNotifier.fireTestFailure (1)
org.junit.runner.notification.Failure.Failure (1)
Local Methods Called1addFailure (1)
Lines Of Code9-
Number of Comments0-
Arguments1targetException (java.lang.Throwable)
Modifiers1public
Halstead Difficulty10.50-
Variable Declarations1mfe (MultipleFailureException)
Exceptions Thrown0
Exceptions Referenced0
Number of casts1-
Total Depth of Nesting1-
Halstead Volume206.32-
Number of Operands21-
Variable References7fDescription (1)
fNotifier (1)
each (1)
mfe (1)
targetException (3)
Number of Operators24-
Max. depth of nesting1-
Number of Expressions7-
Number of Loops1-

Top of this page

Analysis of Method : fireTestFinished() in Class : org.junit.internal.runners.model.EachTestNotifier
FeatureNumberValues
NamefireTestFinished-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary9-
Halstead Effort108.97-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called1org.junit.runner.notification.RunNotifier.fireTestFinished (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers1public
Halstead Difficulty3.12-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume34.87-
Number of Operands5-
Variable References2fDescription (1)
fNotifier (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : fireTestIgnored() in Class : org.junit.internal.runners.model.EachTestNotifier
FeatureNumberValues
NamefireTestIgnored-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary9-
Halstead Effort108.97-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called1org.junit.runner.notification.RunNotifier.fireTestIgnored (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers1public
Halstead Difficulty3.12-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume34.87-
Number of Operands5-
Variable References2fDescription (1)
fNotifier (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : fireTestStarted() in Class : org.junit.internal.runners.model.EachTestNotifier
FeatureNumberValues
NamefireTestStarted-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary9-
Halstead Effort108.97-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called1org.junit.runner.notification.RunNotifier.fireTestStarted (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers1public
Halstead Difficulty3.12-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume34.87-
Number of Operands5-
Variable References2fDescription (1)
fNotifier (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