![]() | 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 | ||
---|---|---|
Feature | Number | Values |
Name | PrintableResult | - |
Number of Methods | 6 | - |
LCOM | 0.80 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 16 | - |
Halstead Cumulative Bugs | 0.15 | - |
Halstead Effort | 2330.46 | - |
UnWeighted Class Size | 7 | - |
Instance Variables | 1 | result (org.junit.runner.Result) |
Imported Packages | 7 | java.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 class | 6 | - |
CBO | 8 | - |
Maintainability Index | 160.00 | - |
Cumulative Number of Comment Lines | 18 | - |
Lines Of Code | 24 | - |
Fan In | 3 | - |
DIT | 1 | - |
Maintainability Index (NC) | 139.38 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.33 | - |
Local Method Calls | 0 | |
LCOM2 | 10.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 437.02 | - |
Hierarchy Method Calls | 1 | this (2) |
Number of Queries | 3 | - |
Fan Out | 5 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.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) |
Superclasses | 0 | - |
Total Complexity | 6 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 3 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 4 | - |
Halstead Cumulative Length | 116 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.experimental.results.PrintableResult | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | COMP | NOCL | NOS | HLTH | HVOC | HEFF | HBUG | CREF | XMET | LMET | NLOC | NOC | NOA | MOD | HDIF | VDEC | EXCT | EXCR | CAST | TDN | HVOL | NAND | VREF | NOPR | MDN | NEXP | LOOP | |
![]() | PrintableResult | 1 | 0 | 2 | 17 | 14 | 302.05 | 0.02 | 3 | 1 | 1 | 3 | 0 | 1 | 1 | 4.67 | 0 | 0 | 0 | 0 | 0 | 64.73 | 7 | 1 | 10 | 0 | 2 | 0 |
![]() | PrintableResult | 1 | 3 | 2 | 19 | 15 | 339.34 | 0.02 | 3 | 2 | 1 | 3 | 1 | 1 | 2 | 4.57 | 0 | 0 | 0 | 0 | 0 | 74.23 | 8 | 1 | 11 | 0 | 3 | 0 |
![]() | PrintableResult | 1 | 0 | 2 | 12 | 10 | 179.38 | 0.01 | 1 | 0 | 0 | 3 | 0 | 1 | 1 | 4.50 | 0 | 0 | 0 | 0 | 0 | 39.86 | 6 | 2 | 6 | 0 | 1 | 0 |
![]() | failureCount | 1 | 3 | 2 | 14 | 11 | 145.30 | 0.02 | 0 | 2 | 0 | 3 | 1 | 0 | 1 | 3.00 | 0 | 0 | 0 | 0 | 0 | 48.43 | 5 | 1 | 9 | 0 | 2 | 0 |
![]() | testResult | 1 | 3 | 2 | 17 | 14 | 485.44 | 0.02 | 3 | 1 | 0 | 3 | 1 | 1 | 2 | 7.50 | 0 | 0 | 0 | 0 | 0 | 64.73 | 6 | 1 | 11 | 0 | 1 | 0 |
![]() | toString | 1 | 0 | 4 | 32 | 18 | 867.34 | 0.04 | 4 | 5 | 0 | 5 | 0 | 0 | 2 | 6.50 | 1 | 0 | 0 | 0 | 0 | 133.44 | 13 | 3 | 19 | 0 | 6 | 0 |
Analysis of Method : PrintableResult(Class) in Class : org.junit.experimental.results.PrintableResult | ||
---|---|---|
Feature | Number | Values |
Name | PrintableResult | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 17 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 302.05 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | org.junit.runner.JUnitCore (1) java.lang.Class (1) ? (1) |
External Methods Called | 1 | org.junit.runner.JUnitCore.runClasses (1) |
Local Methods Called | 1 | this (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | type (java.lang.Class) |
Modifiers | 1 | private |
Halstead Difficulty | 4.67 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 64.73 | - |
Number of Operands | 7 | - |
Variable References | 1 | type (1) |
Number of Operators | 10 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : PrintableResult(List) in Class : org.junit.experimental.results.PrintableResult | ||
---|---|---|
Feature | Number | Values |
Name | PrintableResult | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 19 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 339.34 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | java.util.List (1) org.junit.experimental.results.FailureList (1) org.junit.runner.notification.Failure (2) |
External Methods Called | 2 | failures().result (1) org.junit.experimental.results.FailureList.FailureList (1) |
Local Methods Called | 1 | this (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | failures (java.util.List) |
Modifiers | 2 | private public |
Halstead Difficulty | 4.57 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 74.23 | - |
Number of Operands | 8 | - |
Variable References | 1 | failures (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : PrintableResult(Result) in Class : org.junit.experimental.results.PrintableResult | ||
---|---|---|
Feature | Number | Values |
Name | PrintableResult | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 12 | - |
Halstead Vocabulary | 10 | - |
Halstead Effort | 179.38 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runner.Result (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | result (org.junit.runner.Result) |
Modifiers | 1 | private |
Halstead Difficulty | 4.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 39.86 | - |
Number of Operands | 6 | - |
Variable References | 2 | result (2) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : failureCount() in Class : org.junit.experimental.results.PrintableResult | ||
---|---|---|
Feature | Number | Values |
Name | failureCount | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 145.30 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 0 | |
External Methods Called | 2 | org.junit.runner.Result.getFailures (1) getFailures().size (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 3.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 48.43 | - |
Number of Operands | 5 | - |
Variable References | 1 | result (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : testResult(Class) in Class : org.junit.experimental.results.PrintableResult | ||
---|---|---|
Feature | Number | Values |
Name | testResult | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 17 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 485.44 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | org.junit.experimental.results.PrintableResult (2) java.lang.Class (1) ? (1) |
External Methods Called | 1 | org.junit.experimental.results.PrintableResult.PrintableResult (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | type (java.lang.Class) |
Modifiers | 2 | public static |
Halstead Difficulty | 7.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 64.73 | - |
Number of Operands | 6 | - |
Variable References | 1 | type (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : toString() in Class : org.junit.experimental.results.PrintableResult | ||
---|---|---|
Feature | Number | Values |
Name | toString | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 32 | - |
Halstead Vocabulary | 18 | - |
Halstead Effort | 867.34 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 4 | java.lang.String (1) org.junit.internal.TextListener (1) java.io.PrintStream (1) java.io.ByteArrayOutputStream (2) |
External Methods Called | 5 | java.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 Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 6.50 | - |
Variable Declarations | 1 | stream (java.io.ByteArrayOutputStream) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 133.44 | - |
Number of Operands | 13 | - |
Variable References | 3 | result (1) stream (2) |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 6 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |