Analysis of Class : org.junit.runners.model.FrameworkMethod (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.runners.model.FrameworkMethod
Cyclomatic Complexity

Summary of FrameworkMethod
FeatureNumberValues
NameFrameworkMethod-
Number of Methods13-
LCOM0.17-
Average Cyclomatic Complexity1.77-
Number of Statements41-
Halstead Cumulative Bugs0.72-
Halstead Effort25503.28-
UnWeighted Class Size14-
Instance Variables1fMethod (java.lang.reflect.Method)
Imported Packages6java.lang.annotation.Annotation
java.lang.reflect.InvocationTargetException
java.lang.reflect.Method
java.lang.reflect.Modifier
java.util.List
org.junit.internal.runners.model.ReflectiveCallable
Response For class13-
CBO23-
Maintainability Index147.76-
Cumulative Number of Comment Lines48-
Lines Of Code67-
Fan In21-
DIT1-
Maintainability Index (NC)127.14-
Specialization ratio0.00-
Reuse Ratio0.50-
COH0.85-
Local Method Calls3validatePublicVoid (1)
getName (1)
getParameterTypes (3)
LCOM20.00-
Max Complexity5-
Halstead Cumulative Volume2162.53-
Hierarchy Method Calls0
Number of Queries10-
Fan Out2-
SuperClass Nameorg.junit.runners.model.FrameworkMember-
SIX0.06-
External Method Calls0java.lang.reflect.Method.getModifiers (2)
org.junit.internal.runners.model.ReflectiveCallable.ReflectiveCallable (1)
getDeclaringClass().getModifiers (1)
java.lang.reflect.Method.equals (1)
java.lang.reflect.Method.getAnnotation (1)
java.lang.reflect.Method.getParameterTypes (2)
java.lang.Class.isAssignableFrom (1)
java.lang.Exception.Exception (5)
getParameterTypes.equals (1)
java.lang.reflect.Method.getName (5)
java.lang.reflect.Method.getReturnType (2)
java.lang.reflect.Method.getAnnotations (1)
java.lang.reflect.Method.getDeclaringClass (2)
getDeclaringClass().getName (1)
java.lang.String.equals (1)
java.util.List.add (5)
java.lang.reflect.Method.hashCode (1)
org.junit.runners.model.FrameworkMethod.getParameterTypes (3)
java.lang.reflect.Modifier.isPublic (2)
org.junit.runners.model.FrameworkMethod.getName (1)
java.lang.reflect.Modifier.isStatic (1)
Superclasses1org.junit.runners.model.FrameworkMember
Total Complexity23-
Subclasses0 -
Message Passing Coupling0-
Number of Commands3-
Interfaces0 -
Cumulative Number of Comments10-
Halstead Cumulative Length467-
Modifiers0 -
Summary of methods in org.junit.runners.model.FrameworkMethod
Methods in Class : org.junit.runners.model.FrameworkMethod
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
FrameworkMethod13210999.060.0110031123.120000031.70525010
equals20334191123.340.0531050127.7800010144.4314420040
getAnnotation1422215644.640.0321031117.500000085.9510212010
getAnnotations1321412250.950.0211031025.000000050.19519010
getMethod1328860.000.0110031012.500000024.00315000
getName132119139.480.0111031014.000000034.87417010
getParameterTypes1021513370.040.0221030016.670000055.514111010
hashCode1021311196.760.0101030024.380000044.97518010
invokeExplosively15240231677.830.0631091219.2701000180.9417023020
isShadowedBy50880296662.370.131421001217.1410000388.643211480181
producesType1422721717.490.0422141116.0500000118.5911316050
validatePublicVoid5871404412057.810.2561001212115.7810001764.326116791370
validatePublicVoidNoArg29343281404.450.0734151216.7900000206.7221622080


Analysis of Method : FrameworkMethod(Method) in Class : org.junit.runners.model.FrameworkMethod
FeatureNumberValues
NameFrameworkMethod-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary9-
Halstead Effort99.06-
Halstead Bugs0.01-
Classes Referenced1java.lang.reflect.Method (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1method (java.lang.reflect.Method)
Modifiers2final
public
Halstead Difficulty3.12-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume31.70-
Number of Operands5-
Variable References2fMethod (1)
method (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : equals(Object) in Class : org.junit.runners.model.FrameworkMethod
FeatureNumberValues
Nameequals-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements3-
Halstead Length34-
Halstead Vocabulary19-
Halstead Effort1123.34-
Halstead Bugs0.05-
Classes Referenced3org.junit.runners.model.FrameworkMethod (2)
java.lang.Object (1)
FrameworkMethod.class (1)
External Methods Called1java.lang.reflect.Method.equals (1)
Local Methods Called0
Lines Of Code5-
Number of Comments0-
Arguments1obj (java.lang.Object)
Modifiers2@Override
public
Halstead Difficulty7.78-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts1-
Total Depth of Nesting0-
Halstead Volume144.43-
Number of Operands14-
Variable References4fMethod (2)
obj (2)
Number of Operators20-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : getAnnotation(Class) in Class : org.junit.runners.model.FrameworkMethod
FeatureNumberValues
NamegetAnnotation-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length22-
Halstead Vocabulary15-
Halstead Effort644.64-
Halstead Bugs0.03-
Classes Referenced2T (3)
java.lang.Class (1)
External Methods Called1java.lang.reflect.Method.getAnnotation (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1annotationType (java.lang.Class)
Modifiers1public
Halstead Difficulty7.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume85.95-
Number of Operands10-
Variable References2fMethod (1)
annotationType (1)
Number of Operators12-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getAnnotations() in Class : org.junit.runners.model.FrameworkMethod
FeatureNumberValues
NamegetAnnotations-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary12-
Halstead Effort250.95-
Halstead Bugs0.02-
Classes Referenced1java.lang.annotation.Annotation (1)
External Methods Called1java.lang.reflect.Method.getAnnotations (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty5.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume50.19-
Number of Operands5-
Variable References1fMethod (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getMethod() in Class : org.junit.runners.model.FrameworkMethod
FeatureNumberValues
NamegetMethod-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length8-
Halstead Vocabulary8-
Halstead Effort60.00-
Halstead Bugs0.01-
Classes Referenced1java.lang.reflect.Method (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 References1fMethod (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : getName() in Class : org.junit.runners.model.FrameworkMethod
FeatureNumberValues
NamegetName-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary9-
Halstead Effort139.48-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called1java.lang.reflect.Method.getName (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 Volume34.87-
Number of Operands4-
Variable References1fMethod (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getParameterTypes() in Class : org.junit.runners.model.FrameworkMethod
FeatureNumberValues
NamegetParameterTypes-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length15-
Halstead Vocabulary13-
Halstead Effort370.04-
Halstead Bugs0.02-
Classes Referenced2? (1)
java.lang.Class (1)
External Methods Called1java.lang.reflect.Method.getParameterTypes (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers1private
Halstead Difficulty6.67-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume55.51-
Number of Operands4-
Variable References1fMethod (1)
Number of Operators11-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : hashCode() in Class : org.junit.runners.model.FrameworkMethod
FeatureNumberValues
NamehashCode-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary11-
Halstead Effort196.76-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called1java.lang.reflect.Method.hashCode (1)
Local Methods Called0
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 Volume44.97-
Number of Operands5-
Variable References1fMethod (1)
Number of Operators8-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : invokeExplosively(Object, Object...) in Class : org.junit.runners.model.FrameworkMethod
FeatureNumberValues
NameinvokeExplosively-
Cyclomatic Complexity1-
Number of Comment Lines5-
Number of Statements2-
Halstead Length40-
Halstead Vocabulary23-
Halstead Effort1677.83-
Halstead Bugs0.06-
Classes Referenced3org.junit.internal.runners.model.ReflectiveCallable (1)
java.lang.Object (3)
java.lang.Throwable (1)
External Methods Called1org.junit.internal.runners.model.ReflectiveCallable.ReflectiveCallable (1)
Local Methods Called0
Lines Of Code9-
Number of Comments1-
Arguments2target (java.lang.Object)
params (java.lang.Object...)
Modifiers1public
Halstead Difficulty9.27-
Variable Declarations0
Exceptions Thrown1java.lang.Throwable (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume180.94-
Number of Operands17-
Variable References0
Number of Operators23-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : isShadowedBy(FrameworkMethod) in Class : org.junit.runners.model.FrameworkMethod
FeatureNumberValues
NameisShadowedBy-
Cyclomatic Complexity5-
Number of Comment Lines0-
Number of Statements8-
Halstead Length80-
Halstead Vocabulary29-
Halstead Effort6662.37-
Halstead Bugs0.13-
Classes Referenced1org.junit.runners.model.FrameworkMethod (1)
External Methods Called4getParameterTypes.equals (1)
org.junit.runners.model.FrameworkMethod.getName (1)
java.lang.String.equals (1)
org.junit.runners.model.FrameworkMethod.getParameterTypes (3)
Local Methods Called2getName (1)
getParameterTypes (2)
Lines Of Code10-
Number of Comments0-
Arguments1other (org.junit.runners.model.FrameworkMethod)
Modifiers2@Override
public
Halstead Difficulty17.14-
Variable Declarations1i (int)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume388.64-
Number of Operands32-
Variable References11other (4)
i (4)
length (3)
Number of Operators48-
Max. depth of nesting0-
Number of Expressions18-
Number of Loops1-

Top of this page

Analysis of Method : producesType(Class) in Class : org.junit.runners.model.FrameworkMethod
FeatureNumberValues
NameproducesType-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length27-
Halstead Vocabulary21-
Halstead Effort717.49-
Halstead Bugs0.04-
Classes Referenced2? (1)
java.lang.Class (1)
External Methods Called2java.lang.reflect.Method.getReturnType (1)
java.lang.Class.isAssignableFrom (1)
Local Methods Called1getParameterTypes (1)
Lines Of Code4-
Number of Comments1-
Arguments1type (java.lang.Class)
Modifiers1public
Halstead Difficulty6.05-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume118.59-
Number of Operands11-
Variable References3fMethod (1)
type (1)
length (1)
Number of Operators16-
Max. depth of nesting0-
Number of Expressions5-
Number of Loops0-

Top of this page

Analysis of Method : validatePublicVoid(boolean, List) in Class : org.junit.runners.model.FrameworkMethod
FeatureNumberValues
NamevalidatePublicVoid-
Cyclomatic Complexity5-
Number of Comment Lines8-
Number of Statements7-
Halstead Length140-
Halstead Vocabulary44-
Halstead Effort12057.81-
Halstead Bugs0.25-
Classes Referenced6java.util.List (1)
java.lang.String (1)
java.lang.reflect.Modifier (3)
java.lang.Throwable (2)
java.lang.Exception (4)
java.lang.Void (1)
External Methods Called10java.lang.reflect.Method.getName (3)
java.util.List.add (4)
java.lang.reflect.Modifier.isStatic (1)
java.lang.reflect.Method.getDeclaringClass (2)
java.lang.Exception.Exception (4)
java.lang.reflect.Modifier.isPublic (2)
java.lang.reflect.Method.getModifiers (2)
getDeclaringClass().getName (1)
java.lang.reflect.Method.getReturnType (1)
getDeclaringClass().getModifiers (1)
Local Methods Called0
Lines Of Code12-
Number of Comments1-
Arguments2isStatic (boolean)
errors (java.util.List)
Modifiers1public
Halstead Difficulty15.78-
Variable Declarations1state (java.lang.String)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting1-
Halstead Volume764.32-
Number of Operands61-
Variable References16fMethod (8)
isStatic (2)
state (1)
TYPE (1)
errors (4)
Number of Operators79-
Max. depth of nesting1-
Number of Expressions37-
Number of Loops0-

Top of this page

Analysis of Method : validatePublicVoidNoArg(boolean, List) in Class : org.junit.runners.model.FrameworkMethod
FeatureNumberValues
NamevalidatePublicVoidNoArg-
Cyclomatic Complexity2-
Number of Comment Lines9-
Number of Statements3-
Halstead Length43-
Halstead Vocabulary28-
Halstead Effort1404.45-
Halstead Bugs0.07-
Classes Referenced3java.util.List (1)
java.lang.Throwable (2)
java.lang.Exception (1)
External Methods Called4java.util.List.add (1)
java.lang.reflect.Method.getParameterTypes (1)
java.lang.reflect.Method.getName (1)
java.lang.Exception.Exception (1)
Local Methods Called1validatePublicVoid (1)
Lines Of Code5-
Number of Comments1-
Arguments2isStatic (boolean)
errors (java.util.List)
Modifiers1public
Halstead Difficulty6.79-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume206.72-
Number of Operands21-
Variable References6fMethod (2)
isStatic (1)
length (1)
errors (2)
Number of Operators22-
Max. depth of nesting0-
Number of Expressions8-
Number of Loops0-

Top of this page

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