Analysis of Class : org.junit.runner.Result$Listener (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.runner.Result$Listener
Cyclomatic Complexity

Summary of Result$Listener
FeatureNumberValues
NameResult$Listener-
Number of Methods6-
LCOM0.00-
Average Cyclomatic Complexity1.00-
Number of Statements13-
Halstead Cumulative Bugs0.14-
Halstead Effort1662.33-
UnWeighted Class Size6-
Instance Variables0 -
Imported Packages6java.util.ArrayList
java.util.Collections
java.util.List
java.util.concurrent.atomic.AtomicInteger
org.junit.runner.notification.Failure
org.junit.runner.notification.RunListener
Response For class6-
CBO4-
Maintainability Index140.54-
Cumulative Number of Comment Lines1-
Lines Of Code26-
Fan In0-
DIT1-
Maintainability Index (NC)140.54-
Specialization ratio0.00-
Reuse Ratio0.50-
COH0.00-
Local Method Calls0
LCOM222.00-
Max Complexity1-
Halstead Cumulative Volume413.03-
Hierarchy Method Calls0
Number of Queries0-
Fan Out4-
SuperClass Nameorg.junit.runner.notification.RunListener-
SIX0.00-
External Method Calls0java.lang.System.currentTimeMillis (2)
Superclasses1org.junit.runner.notification.RunListener
Total Complexity6-
Subclasses0 -
Message Passing Coupling0-
Number of Commands6-
Interfaces0 -
Cumulative Number of Comments1-
Halstead Cumulative Length105-
Modifiers1private
Summary of methods in org.junit.runner.Result$Listener
Methods in Class : org.junit.runner.Result$Listener
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
testAssumptionFailure1119957.060.0110021122.000000028.53504000
testFailure1021715261.520.0220030123.940100066.42938010
testFinished1021615218.790.0220030123.500100062.51828010
testIgnored1021615218.790.0220030123.500100062.51828010
testRunFinished1032522603.880.0431040125.4211000111.4913312040
testRunStarted1021817294.300.0231030124.000100073.57919020


Analysis of Method : testAssumptionFailure(Failure) in Class : org.junit.runner.Result$Listener
FeatureNumberValues
NametestAssumptionFailure-
Cyclomatic Complexity1-
Number of Comment Lines1-
Number of Statements1-
Halstead Length9-
Halstead Vocabulary9-
Halstead Effort57.06-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.notification.Failure (1)
External Methods Called0
Local Methods Called0
Lines Of Code2-
Number of Comments1-
Arguments1failure (org.junit.runner.notification.Failure)
Modifiers2@Override
public
Halstead Difficulty2.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume28.53-
Number of Operands5-
Variable References0
Number of Operators4-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : testFailure(Failure) in Class : org.junit.runner.Result$Listener
FeatureNumberValues
NametestFailure-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length17-
Halstead Vocabulary15-
Halstead Effort261.52-
Halstead Bugs0.02-
Classes Referenced2org.junit.runner.notification.Failure (1)
java.lang.Exception (1)
External Methods Called0 -
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1failure (org.junit.runner.notification.Failure)
Modifiers2@Override
public
Halstead Difficulty3.94-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume66.42-
Number of Operands9-
Variable References3fFailures (2)
failure (1)
Number of Operators8-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : testFinished(Description) in Class : org.junit.runner.Result$Listener
FeatureNumberValues
NametestFinished-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length16-
Halstead Vocabulary15-
Halstead Effort218.79-
Halstead Bugs0.02-
Classes Referenced2org.junit.runner.Description (1)
java.lang.Exception (1)
External Methods Called0 -
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1description (org.junit.runner.Description)
Modifiers2@Override
public
Halstead Difficulty3.50-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume62.51-
Number of Operands8-
Variable References2fCount (2)
Number of Operators8-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : testIgnored(Description) in Class : org.junit.runner.Result$Listener
FeatureNumberValues
NametestIgnored-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length16-
Halstead Vocabulary15-
Halstead Effort218.79-
Halstead Bugs0.02-
Classes Referenced2org.junit.runner.Description (1)
java.lang.Exception (1)
External Methods Called0 -
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1description (org.junit.runner.Description)
Modifiers2@Override
public
Halstead Difficulty3.50-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume62.51-
Number of Operands8-
Variable References2fIgnoreCount (2)
Number of Operators8-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : testRunFinished(Result) in Class : org.junit.runner.Result$Listener
FeatureNumberValues
NametestRunFinished-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements3-
Halstead Length25-
Halstead Vocabulary22-
Halstead Effort603.88-
Halstead Bugs0.04-
Classes Referenced3java.lang.System (1)
java.lang.Exception (1)
org.junit.runner.Result (1)
External Methods Called1java.lang.System.currentTimeMillis (1)
Local Methods Called0
Lines Of Code4-
Number of Comments0-
Arguments1result (org.junit.runner.Result)
Modifiers2@Override
public
Halstead Difficulty5.42-
Variable Declarations1endTime (long)
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume111.49-
Number of Operands13-
Variable References3endTime (1)
fRunTime (1)
fStartTime (1)
Number of Operators12-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : testRunStarted(Description) in Class : org.junit.runner.Result$Listener
FeatureNumberValues
NametestRunStarted-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length18-
Halstead Vocabulary17-
Halstead Effort294.30-
Halstead Bugs0.02-
Classes Referenced3org.junit.runner.Description (1)
java.lang.System (1)
java.lang.Exception (1)
External Methods Called1java.lang.System.currentTimeMillis (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1description (org.junit.runner.Description)
Modifiers2@Override
public
Halstead Difficulty4.00-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume73.57-
Number of Operands9-
Variable References1fStartTime (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

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