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
FeatureNumberValues
NameSorter-
Number of Methods3-
LCOM0.25-
Average Cyclomatic Complexity1.33-
Number of Statements11-
Halstead Cumulative Bugs0.13-
Halstead Effort2872.33-
UnWeighted Class Size5-
Instance Variables2fComparator (java.util.Comparator)
NULL (org.junit.runner.manipulation.Sorter)
Imported Packages2java.util.Comparator
org.junit.runner.Description
Response For class5-
CBO8-
Maintainability Index97.44-
Cumulative Number of Comment Lines18-
Lines Of Code15-
Fan In7-
DIT1-
Maintainability Index (NC)129.66-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.33-
Local Method Calls0
LCOM21.00-
Max Complexity2-
Halstead Cumulative Volume382.85-
Hierarchy Method Calls0
Number of Queries1-
Fan Out2-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls2java.util.Comparator.Comparator (1)
java.util.Comparator.compare (1)
org.junit.runner.manipulation.Sorter.Sorter (1)
org.junit.runner.manipulation.Sortable.sort (1)
Superclasses0 -
Total Complexity4-
Subclasses0 -
Message Passing Coupling2-
Number of Commands2-
Interfaces1java.util.Comparator
Cumulative Number of Comments3-
Halstead Cumulative Length95-
Modifiers0 -
Summary of methods in org.junit.runner.manipulation.Sorter
Methods in Class : org.junit.runner.manipulation.Sorter
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
Sorter1521312195.740.0220031134.200000046.60627010
apply2442616676.000.0321061116.5010011104.0013313140
compare1021712304.720.0211030215.000000060.941037010


Analysis of Method : Sorter(Comparator) in Class : org.junit.runner.manipulation.Sorter
FeatureNumberValues
NameSorter-
Cyclomatic Complexity1-
Number of Comment Lines5-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary12-
Halstead Effort195.74-
Halstead Bugs0.02-
Classes Referenced2org.junit.runner.Description (2)
java.util.Comparator (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1comparator (java.util.Comparator)
Modifiers3private
final
public
Halstead Difficulty4.20-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume46.60-
Number of Operands6-
Variable References2comparator (1)
fComparator (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : apply(Object) in Class : org.junit.runner.manipulation.Sorter
FeatureNumberValues
Nameapply-
Cyclomatic Complexity2-
Number of Comment Lines4-
Number of Statements4-
Halstead Length26-
Halstead Vocabulary16-
Halstead Effort676.00-
Halstead Bugs0.03-
Classes Referenced2org.junit.runner.manipulation.Sortable (4)
java.lang.Object (1)
External Methods Called1org.junit.runner.manipulation.Sortable.sort (1)
Local Methods Called0
Lines Of Code6-
Number of Comments1-
Arguments1object (java.lang.Object)
Modifiers1public
Halstead Difficulty6.50-
Variable Declarations1sortable (org.junit.runner.manipulation.Sortable)
Exceptions Thrown0
Exceptions Referenced0
Number of casts1-
Total Depth of Nesting1-
Halstead Volume104.00-
Number of Operands13-
Variable References3object (2)
sortable (1)
Number of Operators13-
Max. depth of nesting1-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : compare(Description, Description) in Class : org.junit.runner.manipulation.Sorter
FeatureNumberValues
Namecompare-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length17-
Halstead Vocabulary12-
Halstead Effort304.72-
Halstead Bugs0.02-
Classes Referenced1org.junit.runner.Description (2)
External Methods Called1java.util.Comparator.compare (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments2o1 (org.junit.runner.Description)
o2 (org.junit.runner.Description)
Modifiers1public
Halstead Difficulty5.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume60.94-
Number of Operands10-
Variable References3o2 (1)
o1 (1)
fComparator (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Top of this page Data Generated by JHawk - The Java Metrics tool Home