![]() | Analysis of Class : junit.framework.JUnit4TestCaseFacade (Includes summary list of methods in class) | Home |
Dashboard for Class : junit.framework.JUnit4TestCaseFacade |
---|
![]() |
Cyclomatic Complexity |
Summary of JUnit4TestCaseFacade | ||
---|---|---|
Feature | Number | Values |
Name | JUnit4TestCaseFacade | - |
Number of Methods | 5 | - |
LCOM | 0.75 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 12 | - |
Halstead Cumulative Bugs | 0.06 | - |
Halstead Effort | 575.20 | - |
UnWeighted Class Size | 6 | - |
Instance Variables | 1 | fDescription (org.junit.runner.Description) |
Imported Packages | 2 | org.junit.runner.Describable org.junit.runner.Description |
Response For class | 5 | - |
CBO | 5 | - |
Maintainability Index | 143.54 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 20 | - |
Fan In | 1 | - |
DIT | 1 | - |
Maintainability Index (NC) | 143.54 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.40 | - |
Local Method Calls | 1 | getDescription (1) |
LCOM2 | 7.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 194.04 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 3 | - |
Fan Out | 4 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | java.lang.RuntimeException.RuntimeException (1) description().toString (1) |
Superclasses | 0 | - |
Total Complexity | 5 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 2 | - |
Interfaces | 1 | Test,Describable |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 60 | - |
Modifiers | 0 | - |
Methods in Class : junit.framework.JUnit4TestCaseFacade | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | JUnit4TestCaseFacade | 1 | 0 | 2 | 9 | 8 | 67.50 | 0.01 | 1 | 0 | 0 | 3 | 0 | 1 | 2 | 2.50 | 0 | 0 | 0 | 0 | 0 | 27.00 | 5 | 2 | 4 | 0 | 1 | 0 |
![]() | countTestCases | 1 | 0 | 2 | 8 | 8 | 60.00 | 0.01 | 0 | 0 | 0 | 3 | 0 | 0 | 1 | 2.50 | 0 | 0 | 0 | 0 | 0 | 24.00 | 3 | 0 | 5 | 0 | 0 | 0 |
![]() | getDescription | 1 | 0 | 2 | 8 | 8 | 60.00 | 0.01 | 1 | 0 | 0 | 3 | 0 | 0 | 1 | 2.50 | 0 | 0 | 0 | 0 | 0 | 24.00 | 3 | 1 | 5 | 0 | 0 | 0 |
![]() | run | 1 | 0 | 2 | 13 | 12 | 139.81 | 0.02 | 2 | 1 | 0 | 4 | 0 | 1 | 1 | 3.00 | 0 | 0 | 0 | 0 | 0 | 46.60 | 6 | 0 | 7 | 0 | 1 | 0 |
![]() | toString | 1 | 0 | 2 | 14 | 11 | 211.89 | 0.02 | 1 | 1 | 1 | 3 | 0 | 0 | 2 | 4.38 | 0 | 0 | 0 | 0 | 0 | 48.43 | 5 | 0 | 9 | 0 | 2 | 0 |
Analysis of Method : JUnit4TestCaseFacade(Description) in Class : junit.framework.JUnit4TestCaseFacade | ||
---|---|---|
Feature | Number | Values |
Name | JUnit4TestCaseFacade | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 9 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 67.50 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runner.Description (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | description (org.junit.runner.Description) |
Modifiers | 2 | private final |
Halstead Difficulty | 2.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 27.00 | - |
Number of Operands | 5 | - |
Variable References | 2 | fDescription (1) description (1) |
Number of Operators | 4 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : countTestCases() in Class : junit.framework.JUnit4TestCaseFacade | ||
---|---|---|
Feature | Number | Values |
Name | countTestCases | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 8 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 60.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 2.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 24.00 | - |
Number of Operands | 3 | - |
Variable References | 0 | |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : getDescription() in Class : junit.framework.JUnit4TestCaseFacade | ||
---|---|---|
Feature | Number | Values |
Name | getDescription | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 8 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 60.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runner.Description (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 2.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 24.00 | - |
Number of Operands | 3 | - |
Variable References | 1 | fDescription (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : run(TestResult) in Class : junit.framework.JUnit4TestCaseFacade | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 139.81 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | java.lang.RuntimeException (1) junit.framework.TestResult (1) |
External Methods Called | 1 | java.lang.RuntimeException.RuntimeException (1) |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 1 | result (TestResult) |
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 | 46.60 | - |
Number of Operands | 6 | - |
Variable References | 0 | |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : toString() in Class : junit.framework.JUnit4TestCaseFacade | ||
---|---|---|
Feature | Number | Values |
Name | toString | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 14 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 211.89 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 1 | description().toString (1) |
Local Methods Called | 1 | getDescription (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 4.38 | - |
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 | 0 | |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |