Analysis of Class : org.junit.experimental.results.PrintableResult (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.experimental.results.PrintableResult
Cyclomatic Complexity

Summary of PrintableResult
FeatureNumberValues
NamePrintableResult-
Number of Methods6-
LCOM0.80-
Average Cyclomatic Complexity1.00-
Number of Statements16-
Halstead Cumulative Bugs0.15-
Halstead Effort2330.46-
UnWeighted Class Size7-
Instance Variables1result (org.junit.runner.Result)
Imported Packages7java.io.ByteArrayOutputStream
java.io.PrintStream
java.util.List
org.junit.internal.TextListener
org.junit.runner.JUnitCore
org.junit.runner.Result
org.junit.runner.notification.Failure
Response For class6-
CBO8-
Maintainability Index160.00-
Cumulative Number of Comment Lines18-
Lines Of Code24-
Fan In3-
DIT1-
Maintainability Index (NC)139.38-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.33-
Local Method Calls0
LCOM210.00-
Max Complexity1-
Halstead Cumulative Volume437.02-
Hierarchy Method Calls1this (2)
Number of Queries3-
Fan Out5-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0org.junit.experimental.results.PrintableResult.PrintableResult (1)
failures().result (1)
java.io.ByteArrayOutputStream.toString (1)
java.io.ByteArrayOutputStream.ByteArrayOutputStream (1)
stream().testRunFinished (1)
org.junit.internal.TextListener.TextListener (1)
org.junit.experimental.results.FailureList.FailureList (1)
org.junit.runner.Result.getFailures (1)
java.io.PrintStream.PrintStream (1)
org.junit.runner.JUnitCore.runClasses (1)
getFailures().size (1)
Superclasses0 -
Total Complexity6-
Subclasses0 -
Message Passing Coupling0-
Number of Commands3-
Interfaces0 -
Cumulative Number of Comments4-
Halstead Cumulative Length116-
Modifiers0 -
Summary of methods in org.junit.experimental.results.PrintableResult
Methods in Class : org.junit.experimental.results.PrintableResult
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
PrintableResult1021714302.050.0231130114.670000064.737110020
PrintableResult1321915339.340.0232131124.570000074.238111030
PrintableResult1021210179.380.0110030114.500000039.86626010
failureCount1321411145.300.0202031013.000000048.43519020
testResult1321714485.440.0231031127.500000064.736111010
toString1043218867.340.0445050026.5010000133.4413319060


Analysis of Method : PrintableResult(Class) in Class : org.junit.experimental.results.PrintableResult
FeatureNumberValues
NamePrintableResult-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length17-
Halstead Vocabulary14-
Halstead Effort302.05-
Halstead Bugs0.02-
Classes Referenced3org.junit.runner.JUnitCore (1)
java.lang.Class (1)
? (1)
External Methods Called1org.junit.runner.JUnitCore.runClasses (1)
Local Methods Called1this (1)
Lines Of Code3-
Number of Comments0-
Arguments1type (java.lang.Class)
Modifiers1private
Halstead Difficulty4.67-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume64.73-
Number of Operands7-
Variable References1type (1)
Number of Operators10-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : PrintableResult(List) in Class : org.junit.experimental.results.PrintableResult
FeatureNumberValues
NamePrintableResult-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length19-
Halstead Vocabulary15-
Halstead Effort339.34-
Halstead Bugs0.02-
Classes Referenced3java.util.List (1)
org.junit.experimental.results.FailureList (1)
org.junit.runner.notification.Failure (2)
External Methods Called2failures().result (1)
org.junit.experimental.results.FailureList.FailureList (1)
Local Methods Called1this (1)
Lines Of Code3-
Number of Comments1-
Arguments1failures (java.util.List)
Modifiers2private
public
Halstead Difficulty4.57-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume74.23-
Number of Operands8-
Variable References1failures (1)
Number of Operators11-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : PrintableResult(Result) in Class : org.junit.experimental.results.PrintableResult
FeatureNumberValues
NamePrintableResult-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length12-
Halstead Vocabulary10-
Halstead Effort179.38-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.Result (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1result (org.junit.runner.Result)
Modifiers1private
Halstead Difficulty4.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume39.86-
Number of Operands6-
Variable References2result (2)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : failureCount() in Class : org.junit.experimental.results.PrintableResult
FeatureNumberValues
NamefailureCount-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary11-
Halstead Effort145.30-
Halstead Bugs0.02-
Classes Referenced0
External Methods Called2org.junit.runner.Result.getFailures (1)
getFailures().size (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume48.43-
Number of Operands5-
Variable References1result (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : testResult(Class) in Class : org.junit.experimental.results.PrintableResult
FeatureNumberValues
NametestResult-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length17-
Halstead Vocabulary14-
Halstead Effort485.44-
Halstead Bugs0.02-
Classes Referenced3org.junit.experimental.results.PrintableResult (2)
java.lang.Class (1)
? (1)
External Methods Called1org.junit.experimental.results.PrintableResult.PrintableResult (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1type (java.lang.Class)
Modifiers2public
static
Halstead Difficulty7.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume64.73-
Number of Operands6-
Variable References1type (1)
Number of Operators11-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : toString() in Class : org.junit.experimental.results.PrintableResult
FeatureNumberValues
NametoString-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements4-
Halstead Length32-
Halstead Vocabulary18-
Halstead Effort867.34-
Halstead Bugs0.04-
Classes Referenced4java.lang.String (1)
org.junit.internal.TextListener (1)
java.io.PrintStream (1)
java.io.ByteArrayOutputStream (2)
External Methods Called5java.io.ByteArrayOutputStream.toString (1)
java.io.ByteArrayOutputStream.ByteArrayOutputStream (1)
org.junit.internal.TextListener.TextListener (1)
java.io.PrintStream.PrintStream (1)
stream().testRunFinished (1)
Local Methods Called0
Lines Of Code5-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty6.50-
Variable Declarations1stream (java.io.ByteArrayOutputStream)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume133.44-
Number of Operands13-
Variable References3result (1)
stream (2)
Number of Operators19-
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