Analysis of Class : org.junit.runner.Description (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.runner.Description
Cyclomatic Complexity

Summary of Description
FeatureNumberValues
NameDescription-
Number of Methods23-
LCOM0.13-
Average Cyclomatic Complexity1.39-
Number of Statements73-
Halstead Cumulative Bugs0.71-
Halstead Effort15763.02-
UnWeighted Class Size28-
Instance Variables5fChildren (java.util.ArrayList)
fAnnotations (java.lang.annotation.Annotation[])
TEST_MECHANISM (org.junit.runner.Description)
fDisplayName (java.lang.String)
EMPTY (org.junit.runner.Description)
Imported Packages6java.lang.annotation.Annotation
java.util.ArrayList
java.util.Arrays
java.util.Collection
java.util.regex.Matcher
java.util.regex.Pattern
Response For class25-
CBO37-
Maintainability Index131.03-
Cumulative Number of Comment Lines98-
Lines Of Code107-
Fan In37-
DIT1-
Maintainability Index (NC)130.79-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.08-
Local Method Calls9createTestDescription (1)
parseMethod (1)
toString (2)
equals (1)
getClassName (1)
isTest (2)
methodStringMatcher (2)
getChildren (4)
getDisplayName (3)
LCOM2138.00-
Max Complexity3-
Halstead Cumulative Volume2133.39-
Hierarchy Method Calls0
Number of Queries21-
Fan Out0-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls2java.lang.Class.forName (1)
compile().matcher (1)
annotationType().equals (1)
java.util.regex.Matcher.group (2)
java.lang.String.equals (1)
each.annotationType (1)
java.lang.Class.getAnnotations (1)
java.lang.annotation.Annotation.Annotation (1)
org.junit.runner.Description.getDisplayName (1)
fChildren().isEmpty (1)
java.util.regex.Matcher.matches (2)
org.junit.runner.Description.getChildren (1)
java.lang.String.length (1)
java.util.regex.Pattern.compile (1)
java.lang.String.format (1)
child.testCount (1)
java.lang.Class.getName (2)
java.util.Arrays.asList (1)
java.util.ArrayList.ArrayList (1)
obj().equals (1)
java.lang.Class.cast (1)
fDisplayName().add (1)
result().hashCode (1)
java.lang.IllegalArgumentException.IllegalArgumentException (1)
org.junit.runner.Description.Description (6)
Superclasses0 -
Total Complexity32-
Subclasses0 -
Message Passing Coupling2-
Number of Commands2-
Interfaces0 -
Cumulative Number of Comments18-
Halstead Cumulative Length524-
Modifiers0 -
Summary of methods in org.junit.runner.Description
Methods in Class : org.junit.runner.Description
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
Description1031814308.400.02200402134.500000068.53949020
addChild1421411141.260.0211131112.920000048.43717020
childlessCopy1421210149.490.0111031013.750000039.86527010
createSuiteDescription1522417809.320.0333031128.250000098.109215030
createSuiteDescription27332221198.700.0543051228.4000000142.7014318040
createTestDescription1822319738.870.0351131227.560000097.7011212010
createTestDescription18232231263.310.0553031328.7300000144.7516316030
equals20447222515.120.07242701212.0010010209.59204270110
getAnnotation34641221974.640.06330611110.8000000182.8418523031
getAnnotations1321514228.440.0231031014.000000057.11619010
getChildren1321111133.190.0120031013.500000038.05417000
getClassName1432618596.300.0422261015.5010000108.4211215060
getDisplayName1328860.000.0110031012.500000024.00315000
getMethodName1429867.500.0110131012.500000027.00306010
getTestClass34639231921.010.064111010110.8910102176.4214225140
hashCode1021411211.890.0201130024.380000048.43509020
isEmpty13210979.250.0100131012.500000031.70416010
isSuite13210995.100.0100131013.000000031.70307020
isTest1321210119.590.0101131013.000000039.86408020
methodStringMatcher1021713188.720.0222130013.000000062.917010030
parseMethod2042717539.550.0422160014.8910000110.3611216040
testCount33834201257.200.0511281018.5610000146.9514320051
toString1021110109.620.0110130023.000000036.54407010


Analysis of Method : Description(String, Annotation...) in Class : org.junit.runner.Description
FeatureNumberValues
NameDescription-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements3-
Halstead Length18-
Halstead Vocabulary14-
Halstead Effort308.40-
Halstead Bugs0.02-
Classes Referenced2java.lang.annotation.Annotation (1)
java.lang.String (1)
External Methods Called0
Local Methods Called0
Lines Of Code4-
Number of Comments0-
Arguments2displayName (java.lang.String)
annotations (java.lang.annotation.Annotation...)
Modifiers13public
static
final
public
static
final
private
final
private
final
private
final
private
Halstead Difficulty4.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume68.53-
Number of Operands9-
Variable References4displayName (1)
fAnnotations (1)
fDisplayName (1)
annotations (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : addChild(Description) in Class : org.junit.runner.Description
FeatureNumberValues
NameaddChild-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary11-
Halstead Effort141.26-
Halstead Bugs0.02-
Classes Referenced1org.junit.runner.Description (1)
External Methods Called1fDisplayName().add (1)
Local Methods Called1getChildren (1)
Lines Of Code3-
Number of Comments1-
Arguments1description (org.junit.runner.Description)
Modifiers1public
Halstead Difficulty2.92-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume48.43-
Number of Operands7-
Variable References1description (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : childlessCopy() in Class : org.junit.runner.Description
FeatureNumberValues
NamechildlessCopy-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length12-
Halstead Vocabulary10-
Halstead Effort149.49-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.Description (2)
External Methods Called1org.junit.runner.Description.Description (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty3.75-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume39.86-
Number of Operands5-
Variable References2fAnnotations (1)
fDisplayName (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : createSuiteDescription(Class) in Class : org.junit.runner.Description
FeatureNumberValues
NamecreateSuiteDescription-
Cyclomatic Complexity1-
Number of Comment Lines5-
Number of Statements2-
Halstead Length24-
Halstead Vocabulary17-
Halstead Effort809.32-
Halstead Bugs0.03-
Classes Referenced3? (1)
org.junit.runner.Description (2)
java.lang.Class (1)
External Methods Called3java.lang.Class.getName (1)
org.junit.runner.Description.Description (1)
java.lang.Class.getAnnotations (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1testClass (java.lang.Class)
Modifiers2public
static
Halstead Difficulty8.25-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume98.10-
Number of Operands9-
Variable References2testClass (2)
Number of Operators15-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : createSuiteDescription(String, Annotation...) in Class : org.junit.runner.Description
FeatureNumberValues
NamecreateSuiteDescription-
Cyclomatic Complexity2-
Number of Comment Lines7-
Number of Statements3-
Halstead Length32-
Halstead Vocabulary22-
Halstead Effort1198.70-
Halstead Bugs0.05-
Classes Referenced4java.lang.annotation.Annotation (1)
org.junit.runner.Description (2)
java.lang.String (1)
java.lang.IllegalArgumentException (1)
External Methods Called3java.lang.IllegalArgumentException.IllegalArgumentException (1)
org.junit.runner.Description.Description (1)
java.lang.String.length (1)
Local Methods Called0
Lines Of Code5-
Number of Comments1-
Arguments2name (java.lang.String)
annotations (java.lang.annotation.Annotation...)
Modifiers2public
static
Halstead Difficulty8.40-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume142.70-
Number of Operands14-
Variable References3name (2)
annotations (1)
Number of Operators18-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : createTestDescription(Class, String) in Class : org.junit.runner.Description
FeatureNumberValues
NamecreateTestDescription-
Cyclomatic Complexity1-
Number of Comment Lines8-
Number of Statements2-
Halstead Length23-
Halstead Vocabulary19-
Halstead Effort738.87-
Halstead Bugs0.03-
Classes Referenced5? (1)
java.lang.annotation.Annotation (1)
org.junit.runner.Description (1)
java.lang.String (1)
java.lang.Class (1)
External Methods Called1java.lang.annotation.Annotation.Annotation (1)
Local Methods Called1createTestDescription (1)
Lines Of Code3-
Number of Comments1-
Arguments2clazz (java.lang.Class)
name (java.lang.String)
Modifiers2public
static
Halstead Difficulty7.56-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume97.70-
Number of Operands11-
Variable References2name (1)
clazz (1)
Number of Operators12-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : createTestDescription(Class, String, Annotation...) in Class : org.junit.runner.Description
FeatureNumberValues
NamecreateTestDescription-
Cyclomatic Complexity1-
Number of Comment Lines8-
Number of Statements2-
Halstead Length32-
Halstead Vocabulary23-
Halstead Effort1263.31-
Halstead Bugs0.05-
Classes Referenced5? (1)
java.lang.annotation.Annotation (1)
org.junit.runner.Description (2)
java.lang.String (2)
java.lang.Class (1)
External Methods Called3org.junit.runner.Description.Description (1)
java.lang.String.format (1)
java.lang.Class.getName (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments3clazz (java.lang.Class)
name (java.lang.String)
annotations (java.lang.annotation.Annotation...)
Modifiers2public
static
Halstead Difficulty8.73-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume144.75-
Number of Operands16-
Variable References3clazz (1)
name (1)
annotations (1)
Number of Operators16-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : equals(Object) in Class : org.junit.runner.Description
FeatureNumberValues
Nameequals-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements4-
Halstead Length47-
Halstead Vocabulary22-
Halstead Effort2515.12-
Halstead Bugs0.07-
Classes Referenced2org.junit.runner.Description (4)
java.lang.Object (1)
External Methods Called4java.lang.String.equals (1)
obj().equals (1)
org.junit.runner.Description.getDisplayName (1)
org.junit.runner.Description.getChildren (1)
Local Methods Called2getDisplayName (1)
getChildren (1)
Lines Of Code7-
Number of Comments0-
Arguments1obj (java.lang.Object)
Modifiers2@Override
public
Halstead Difficulty12.00-
Variable Declarations1d (org.junit.runner.Description)
Exceptions Thrown0
Exceptions Referenced0
Number of casts1-
Total Depth of Nesting0-
Halstead Volume209.59-
Number of Operands20-
Variable References4obj (2)
d (2)
Number of Operators27-
Max. depth of nesting0-
Number of Expressions11-
Number of Loops0-

Top of this page

Analysis of Method : getAnnotation(Class) in Class : org.junit.runner.Description
FeatureNumberValues
NamegetAnnotation-
Cyclomatic Complexity3-
Number of Comment Lines4-
Number of Statements6-
Halstead Length41-
Halstead Vocabulary22-
Halstead Effort1974.64-
Halstead Bugs0.06-
Classes Referenced3java.lang.annotation.Annotation (1)
java.lang.Class (1)
T (3)
External Methods Called3java.lang.Class.cast (1)
each.annotationType (1)
annotationType().equals (1)
Local Methods Called0
Lines Of Code6-
Number of Comments1-
Arguments1annotationType (java.lang.Class)
Modifiers1public
Halstead Difficulty10.80-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume182.84-
Number of Operands18-
Variable References5fAnnotations (1)
each (2)
annotationType (2)
Number of Operators23-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops1-

Top of this page

Analysis of Method : getAnnotations() in Class : org.junit.runner.Description
FeatureNumberValues
NamegetAnnotations-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length15-
Halstead Vocabulary14-
Halstead Effort228.44-
Halstead Bugs0.02-
Classes Referenced3java.lang.annotation.Annotation (1)
java.util.Collection (1)
java.util.Arrays (1)
External Methods Called1java.util.Arrays.asList (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty4.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume57.11-
Number of Operands6-
Variable References1fAnnotations (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getChildren() in Class : org.junit.runner.Description
FeatureNumberValues
NamegetChildren-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary11-
Halstead Effort133.19-
Halstead Bugs0.01-
Classes Referenced2java.util.ArrayList (1)
org.junit.runner.Description (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty3.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume38.05-
Number of Operands4-
Variable References1fChildren (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : getClassName() in Class : org.junit.runner.Description
FeatureNumberValues
NamegetClassName-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements3-
Halstead Length26-
Halstead Vocabulary18-
Halstead Effort596.30-
Halstead Bugs0.04-
Classes Referenced2java.lang.String (1)
java.util.regex.Matcher (1)
External Methods Called2java.util.regex.Matcher.matches (1)
java.util.regex.Matcher.group (1)
Local Methods Called2methodStringMatcher (1)
toString (1)
Lines Of Code6-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty5.50-
Variable Declarations1matcher (java.util.regex.Matcher)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume108.42-
Number of Operands11-
Variable References2matcher (2)
Number of Operators15-
Max. depth of nesting0-
Number of Expressions6-
Number of Loops0-

Top of this page

Analysis of Method : getDisplayName() in Class : org.junit.runner.Description
FeatureNumberValues
NamegetDisplayName-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length8-
Halstead Vocabulary8-
Halstead Effort60.00-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume24.00-
Number of Operands3-
Variable References1fDisplayName (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : getMethodName() in Class : org.junit.runner.Description
FeatureNumberValues
NamegetMethodName-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length9-
Halstead Vocabulary8-
Halstead Effort67.50-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called1parseMethod (1)
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume27.00-
Number of Operands3-
Variable References0
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getTestClass() in Class : org.junit.runner.Description
FeatureNumberValues
NamegetTestClass-
Cyclomatic Complexity3-
Number of Comment Lines4-
Number of Statements6-
Halstead Length39-
Halstead Vocabulary23-
Halstead Effort1921.01-
Halstead Bugs0.06-
Classes Referenced4? (1)
java.lang.String (1)
java.lang.Class (2)
java.lang.ClassNotFoundException (1)
External Methods Called1java.lang.Class.forName (1)
Local Methods Called1getClassName (1)
Lines Of Code10-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty10.89-
Variable Declarations1name (java.lang.String)
Exceptions Thrown0
Exceptions Referenced1java.lang.ClassNotFoundException (1)
Number of casts0-
Total Depth of Nesting2-
Halstead Volume176.42-
Number of Operands14-
Variable References2name (2)
Number of Operators25-
Max. depth of nesting1-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : hashCode() in Class : org.junit.runner.Description
FeatureNumberValues
NamehashCode-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary11-
Halstead Effort211.89-
Halstead Bugs0.02-
Classes Referenced0
External Methods Called1result().hashCode (1)
Local Methods Called1getDisplayName (1)
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty4.38-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume48.43-
Number of Operands5-
Variable References0
Number of Operators9-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : isEmpty() in Class : org.junit.runner.Description
FeatureNumberValues
NameisEmpty-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary9-
Halstead Effort79.25-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called0
Local Methods Called1equals (1)
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume31.70-
Number of Operands4-
Variable References1EMPTY (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : isSuite() in Class : org.junit.runner.Description
FeatureNumberValues
NameisSuite-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary9-
Halstead Effort95.10-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called0
Local Methods Called1isTest (1)
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume31.70-
Number of Operands3-
Variable References0
Number of Operators7-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : isTest() in Class : org.junit.runner.Description
FeatureNumberValues
NameisTest-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length12-
Halstead Vocabulary10-
Halstead Effort119.59-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called1fChildren().isEmpty (1)
Local Methods Called1getChildren (1)
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume39.86-
Number of Operands4-
Variable References0
Number of Operators8-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : methodStringMatcher() in Class : org.junit.runner.Description
FeatureNumberValues
NamemethodStringMatcher-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length17-
Halstead Vocabulary13-
Halstead Effort188.72-
Halstead Bugs0.02-
Classes Referenced2java.util.regex.Pattern (1)
java.util.regex.Matcher (1)
External Methods Called2compile().matcher (1)
java.util.regex.Pattern.compile (1)
Local Methods Called1toString (1)
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers1private
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume62.91-
Number of Operands7-
Variable References0
Number of Operators10-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : parseMethod() in Class : org.junit.runner.Description
FeatureNumberValues
NameparseMethod-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements4-
Halstead Length27-
Halstead Vocabulary17-
Halstead Effort539.55-
Halstead Bugs0.04-
Classes Referenced2java.lang.String (1)
java.util.regex.Matcher (1)
External Methods Called2java.util.regex.Matcher.matches (1)
java.util.regex.Matcher.group (1)
Local Methods Called1methodStringMatcher (1)
Lines Of Code6-
Number of Comments0-
Arguments0 -
Modifiers1private
Halstead Difficulty4.89-
Variable Declarations1matcher (java.util.regex.Matcher)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume110.36-
Number of Operands11-
Variable References2matcher (2)
Number of Operators16-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : testCount() in Class : org.junit.runner.Description
FeatureNumberValues
NametestCount-
Cyclomatic Complexity3-
Number of Comment Lines3-
Number of Statements8-
Halstead Length34-
Halstead Vocabulary20-
Halstead Effort1257.20-
Halstead Bugs0.05-
Classes Referenced1org.junit.runner.Description (1)
External Methods Called1child.testCount (1)
Local Methods Called2isTest (1)
getChildren (1)
Lines Of Code8-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty8.56-
Variable Declarations1result (int)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume146.95-
Number of Operands14-
Variable References3result (2)
child (1)
Number of Operators20-
Max. depth of nesting0-
Number of Expressions5-
Number of Loops1-

Top of this page

Analysis of Method : toString() in Class : org.junit.runner.Description
FeatureNumberValues
NametoString-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary10-
Halstead Effort109.62-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called1getDisplayName (1)
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume36.54-
Number of Operands4-
Variable References0
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