![]() | Analysis of Class : org.junit.internal.requests.SortingRequest (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.internal.requests.SortingRequest |
---|
![]() |
Cyclomatic Complexity |
Summary of SortingRequest | ||
---|---|---|
Feature | Number | Values |
Name | SortingRequest | - |
Number of Methods | 2 | - |
LCOM | 1.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 10 | - |
Halstead Cumulative Bugs | 0.08 | - |
Halstead Effort | 1200.87 | - |
UnWeighted Class Size | 4 | - |
Instance Variables | 2 | fComparator (java.util.Comparator) fRequest (org.junit.runner.Request) |
Imported Packages | 5 | java.util.Comparator org.junit.runner.Description org.junit.runner.Request org.junit.runner.Runner org.junit.runner.manipulation.Sorter |
Response For class | 2 | - |
CBO | 5 | - |
Maintainability Index | 123.05 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 14 | - |
Fan In | 2 | - |
DIT | 1 | - |
Maintainability Index (NC) | 123.05 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 1.00 | - |
Local Method Calls | 0 | |
LCOM2 | 0.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 229.57 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 1 | - |
Fan Out | 4 | - |
SuperClass Name | org.junit.runner.Request | - |
SIX | 0.08 | - |
External Method Calls | 0 | org.junit.runner.manipulation.Sorter.Sorter (1) org.junit.runner.Request.getRunner (1) fComparator().apply (1) |
Superclasses | 1 | org.junit.runner.Request |
Total Complexity | 2 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 1 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 59 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.internal.requests.SortingRequest | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | SortingRequest | 1 | 0 | 3 | 19 | 15 | 324.76 | 0.02 | 3 | 0 | 0 | 4 | 0 | 2 | 5 | 4.38 | 0 | 0 | 0 | 0 | 0 | 74.23 | 10 | 4 | 9 | 0 | 2 | 0 |
![]() | getRunner | 1 | 0 | 4 | 27 | 17 | 744.94 | 0.04 | 2 | 3 | 0 | 5 | 0 | 0 | 2 | 6.75 | 1 | 0 | 0 | 0 | 0 | 110.36 | 12 | 4 | 15 | 0 | 4 | 0 |
Analysis of Method : SortingRequest(Request, Comparator) in Class : org.junit.internal.requests.SortingRequest | ||
---|---|---|
Feature | Number | Values |
Name | SortingRequest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 19 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 324.76 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | org.junit.runner.Description (2) org.junit.runner.Request (1) java.util.Comparator (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 2 | request (org.junit.runner.Request) comparator (java.util.Comparator) |
Modifiers | 5 | private final private final 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 | 74.23 | - |
Number of Operands | 10 | - |
Variable References | 4 | comparator (1) request (1) fComparator (1) fRequest (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : getRunner() in Class : org.junit.internal.requests.SortingRequest | ||
---|---|---|
Feature | Number | Values |
Name | getRunner | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 4 | - |
Halstead Length | 27 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 744.94 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 2 | org.junit.runner.manipulation.Sorter (1) org.junit.runner.Runner (2) |
External Methods Called | 3 | org.junit.runner.manipulation.Sorter.Sorter (1) org.junit.runner.Request.getRunner (1) fComparator().apply (1) |
Local Methods Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 6.75 | - |
Variable Declarations | 1 | runner (org.junit.runner.Runner) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 110.36 | - |
Number of Operands | 12 | - |
Variable References | 4 | runner (2) fComparator (1) fRequest (1) |
Number of Operators | 15 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |