![]() | Analysis of Class : org.junit.runner.manipulation.Sorter (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.runner.manipulation.Sorter |
---|
![]() |
Cyclomatic Complexity |
Summary of Sorter | ||
---|---|---|
Feature | Number | Values |
Name | Sorter | - |
Number of Methods | 3 | - |
LCOM | 0.25 | - |
Average Cyclomatic Complexity | 1.33 | - |
Number of Statements | 11 | - |
Halstead Cumulative Bugs | 0.13 | - |
Halstead Effort | 2872.33 | - |
UnWeighted Class Size | 5 | - |
Instance Variables | 2 | fComparator (java.util.Comparator) NULL (org.junit.runner.manipulation.Sorter) |
Imported Packages | 2 | java.util.Comparator org.junit.runner.Description |
Response For class | 5 | - |
CBO | 8 | - |
Maintainability Index | 97.44 | - |
Cumulative Number of Comment Lines | 18 | - |
Lines Of Code | 15 | - |
Fan In | 7 | - |
DIT | 1 | - |
Maintainability Index (NC) | 129.66 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.33 | - |
Local Method Calls | 0 | |
LCOM2 | 1.00 | - |
Max Complexity | 2 | - |
Halstead Cumulative Volume | 382.85 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 1 | - |
Fan Out | 2 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 2 | java.util.Comparator.Comparator (1) java.util.Comparator.compare (1) org.junit.runner.manipulation.Sorter.Sorter (1) org.junit.runner.manipulation.Sortable.sort (1) |
Superclasses | 0 | - |
Total Complexity | 4 | - |
Subclasses | 0 | - |
Message Passing Coupling | 2 | - |
Number of Commands | 2 | - |
Interfaces | 1 | java.util.Comparator |
Cumulative Number of Comments | 3 | - |
Halstead Cumulative Length | 95 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.runner.manipulation.Sorter | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | Sorter | 1 | 5 | 2 | 13 | 12 | 195.74 | 0.02 | 2 | 0 | 0 | 3 | 1 | 1 | 3 | 4.20 | 0 | 0 | 0 | 0 | 0 | 46.60 | 6 | 2 | 7 | 0 | 1 | 0 |
![]() | apply | 2 | 4 | 4 | 26 | 16 | 676.00 | 0.03 | 2 | 1 | 0 | 6 | 1 | 1 | 1 | 6.50 | 1 | 0 | 0 | 1 | 1 | 104.00 | 13 | 3 | 13 | 1 | 4 | 0 |
![]() | compare | 1 | 0 | 2 | 17 | 12 | 304.72 | 0.02 | 1 | 1 | 0 | 3 | 0 | 2 | 1 | 5.00 | 0 | 0 | 0 | 0 | 0 | 60.94 | 10 | 3 | 7 | 0 | 1 | 0 |
Analysis of Method : Sorter(Comparator) in Class : org.junit.runner.manipulation.Sorter | ||
---|---|---|
Feature | Number | Values |
Name | Sorter | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 5 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 195.74 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.runner.Description (2) java.util.Comparator (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | comparator (java.util.Comparator) |
Modifiers | 3 | private final public |
Halstead Difficulty | 4.20 | - |
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 | 2 | comparator (1) fComparator (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : apply(Object) in Class : org.junit.runner.manipulation.Sorter | ||
---|---|---|
Feature | Number | Values |
Name | apply | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 4 | - |
Halstead Length | 26 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 676.00 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | org.junit.runner.manipulation.Sortable (4) java.lang.Object (1) |
External Methods Called | 1 | org.junit.runner.manipulation.Sortable.sort (1) |
Local Methods Called | 0 | |
Lines Of Code | 6 | - |
Number of Comments | 1 | - |
Arguments | 1 | object (java.lang.Object) |
Modifiers | 1 | public |
Halstead Difficulty | 6.50 | - |
Variable Declarations | 1 | sortable (org.junit.runner.manipulation.Sortable) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 1 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 104.00 | - |
Number of Operands | 13 | - |
Variable References | 3 | object (2) sortable (1) |
Number of Operators | 13 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : compare(Description, Description) in Class : org.junit.runner.manipulation.Sorter | ||
---|---|---|
Feature | Number | Values |
Name | compare | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 17 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 304.72 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | org.junit.runner.Description (2) |
External Methods Called | 1 | java.util.Comparator.compare (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 2 | o1 (org.junit.runner.Description) o2 (org.junit.runner.Description) |
Modifiers | 1 | public |
Halstead Difficulty | 5.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 60.94 | - |
Number of Operands | 10 | - |
Variable References | 3 | o2 (1) o1 (1) fComparator (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |