Analysis of Class : org.junit.internal.builders.AnnotatedBuilder (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.internal.builders.AnnotatedBuilder
Cyclomatic Complexity

Summary of AnnotatedBuilder
FeatureNumberValues
NameAnnotatedBuilder-
Number of Methods3-
LCOM0.00-
Average Cyclomatic Complexity2.00-
Number of Statements16-
Halstead Cumulative Bugs0.25-
Halstead Effort10175.25-
UnWeighted Class Size5-
Instance Variables2CONSTRUCTOR_ERROR_FORMAT (java.lang.String)
fSuiteBuilder (org.junit.runners.model.RunnerBuilder)
Imported Packages4org.junit.runner.RunWith
org.junit.runner.Runner
org.junit.runners.model.InitializationError
org.junit.runners.model.RunnerBuilder
Response For class3-
CBO4-
Maintainability Index116.97-
Cumulative Number of Comment Lines0-
Lines Of Code31-
Fan In1-
DIT1-
Maintainability Index (NC)116.97-
Specialization ratio0.00-
Reuse Ratio0.50-
COH0.50-
Local Method Calls1buildRunner (1)
LCOM21.00-
Max Complexity3-
Halstead Cumulative Volume748.83-
Hierarchy Method Calls0
Number of Queries2-
Fan Out3-
SuperClass Nameorg.junit.runners.model.RunnerBuilder-
SIX0.00-
External Method Calls0org.junit.runners.model.InitializationError.InitializationError (1)
java.lang.String.format (1)
org.junit.runner.RunWith.value (1)
java.lang.Class.getSimpleName (1)
java.lang.Class.getConstructor (2)
java.lang.Object.Object (2)
RunnerBuilder.class().newInstance (1)
java.lang.Class.getAnnotation (1)
Class.class().newInstance (1)
Superclasses1org.junit.runners.model.RunnerBuilder
Total Complexity6-
Subclasses0 -
Message Passing Coupling0-
Number of Commands1-
Interfaces0 -
Cumulative Number of Comments0-
Halstead Cumulative Length155-
Modifiers0 -
Summary of methods in org.junit.internal.builders.AnnotatedBuilder
Methods in Class : org.junit.internal.builders.AnnotatedBuilder
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
AnnotatedBuilder10210999.060.0110030153.120000031.70525010
buildRunner30791387736.490.1611701702116.2011104477.56369552100
runnerForClass20442272246.680.07621601211.2511000199.7118424040


Analysis of Method : AnnotatedBuilder(RunnerBuilder) in Class : org.junit.internal.builders.AnnotatedBuilder
FeatureNumberValues
NameAnnotatedBuilder-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary9-
Halstead Effort99.06-
Halstead Bugs0.01-
Classes Referenced1org.junit.runners.model.RunnerBuilder (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1suiteBuilder (org.junit.runners.model.RunnerBuilder)
Modifiers5private
static
final
private
public
Halstead Difficulty3.12-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume31.70-
Number of Operands5-
Variable References2suiteBuilder (1)
fSuiteBuilder (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : buildRunner(Class, Class) in Class : org.junit.internal.builders.AnnotatedBuilder
FeatureNumberValues
NamebuildRunner-
Cyclomatic Complexity3-
Number of Comment Lines0-
Number of Statements7-
Halstead Length91-
Halstead Vocabulary38-
Halstead Effort7736.49-
Halstead Bugs0.16-
Classes Referenced11org.junit.runner.Runner (2)
java.lang.Exception (1)
java.lang.String (2)
?extendsRunner (1)
java.lang.Class (2)
java.lang.NoSuchMethodException (2)
RunnerBuilder.class (1)
org.junit.runners.model.InitializationError (1)
? (1)
Class.class (2)
java.lang.Object (2)
External Methods Called7java.lang.Class.getConstructor (2)
org.junit.runners.model.InitializationError.InitializationError (1)
Class.class().newInstance (1)
java.lang.Object.Object (2)
RunnerBuilder.class().newInstance (1)
java.lang.Class.getSimpleName (1)
java.lang.String.format (1)
Local Methods Called0
Lines Of Code17-
Number of Comments0-
Arguments2runnerClass (java.lang.Class)
testClass (java.lang.Class)
Modifiers1public
Halstead Difficulty16.20-
Variable Declarations1simpleName (java.lang.String)
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced1java.lang.NoSuchMethodException (2)
Number of casts0-
Total Depth of Nesting4-
Halstead Volume477.56-
Number of Operands36-
Variable References9runnerClass (3)
simpleName (2)
CONSTRUCTOR_ERROR_FORMAT (1)
testClass (2)
fSuiteBuilder (1)
Number of Operators55-
Max. depth of nesting2-
Number of Expressions10-
Number of Loops0-

Top of this page

Analysis of Method : runnerForClass(Class) in Class : org.junit.internal.builders.AnnotatedBuilder
FeatureNumberValues
NamerunnerForClass-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements4-
Halstead Length42-
Halstead Vocabulary27-
Halstead Effort2246.68-
Halstead Bugs0.07-
Classes Referenced6org.junit.runner.RunWith (1)
? (1)
RunWith.class (1)
java.lang.Class (1)
org.junit.runner.Runner (1)
java.lang.Exception (1)
External Methods Called2java.lang.Class.getAnnotation (1)
org.junit.runner.RunWith.value (1)
Local Methods Called1buildRunner (1)
Lines Of Code6-
Number of Comments0-
Arguments1testClass (java.lang.Class)
Modifiers2@Override
public
Halstead Difficulty11.25-
Variable Declarations1annotation (org.junit.runner.RunWith)
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume199.71-
Number of Operands18-
Variable References4annotation (2)
testClass (2)
Number of Operators24-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

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