Analysis of Class : junit.framework.JUnit4TestCaseFacade (Includes summary list of methods in class) Home

Dashboard for Class : junit.framework.JUnit4TestCaseFacade
Cyclomatic Complexity

Summary of JUnit4TestCaseFacade
FeatureNumberValues
NameJUnit4TestCaseFacade-
Number of Methods5-
LCOM0.75-
Average Cyclomatic Complexity1.00-
Number of Statements12-
Halstead Cumulative Bugs0.06-
Halstead Effort575.20-
UnWeighted Class Size6-
Instance Variables1fDescription (org.junit.runner.Description)
Imported Packages2org.junit.runner.Describable
org.junit.runner.Description
Response For class5-
CBO5-
Maintainability Index143.54-
Cumulative Number of Comment Lines0-
Lines Of Code20-
Fan In1-
DIT1-
Maintainability Index (NC)143.54-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.40-
Local Method Calls1getDescription (1)
LCOM27.00-
Max Complexity1-
Halstead Cumulative Volume194.04-
Hierarchy Method Calls0
Number of Queries3-
Fan Out4-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0java.lang.RuntimeException.RuntimeException (1)
description().toString (1)
Superclasses0 -
Total Complexity5-
Subclasses0 -
Message Passing Coupling0-
Number of Commands2-
Interfaces1Test,Describable
Cumulative Number of Comments0-
Halstead Cumulative Length60-
Modifiers0 -
Summary of methods in junit.framework.JUnit4TestCaseFacade
Methods in Class : junit.framework.JUnit4TestCaseFacade
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
JUnit4TestCaseFacade1029867.500.0110030122.500000027.00524010
countTestCases1028860.000.0100030012.500000024.00305000
getDescription1028860.000.0110030012.500000024.00315000
run1021312139.810.0221040113.000000046.60607010
toString1021411211.890.0211130024.380000048.43509020


Analysis of Method : JUnit4TestCaseFacade(Description) in Class : junit.framework.JUnit4TestCaseFacade
FeatureNumberValues
NameJUnit4TestCaseFacade-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length9-
Halstead Vocabulary8-
Halstead Effort67.50-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.Description (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1description (org.junit.runner.Description)
Modifiers2private
final
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume27.00-
Number of Operands5-
Variable References2fDescription (1)
description (1)
Number of Operators4-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : countTestCases() in Class : junit.framework.JUnit4TestCaseFacade
FeatureNumberValues
NamecountTestCases-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length8-
Halstead Vocabulary8-
Halstead Effort60.00-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
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 References0
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : getDescription() in Class : junit.framework.JUnit4TestCaseFacade
FeatureNumberValues
NamegetDescription-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length8-
Halstead Vocabulary8-
Halstead Effort60.00-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.Description (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
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 References1fDescription (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : run(TestResult) in Class : junit.framework.JUnit4TestCaseFacade
FeatureNumberValues
Namerun-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary12-
Halstead Effort139.81-
Halstead Bugs0.02-
Classes Referenced2java.lang.RuntimeException (1)
junit.framework.TestResult (1)
External Methods Called1java.lang.RuntimeException.RuntimeException (1)
Local Methods Called0
Lines Of Code4-
Number of Comments0-
Arguments1result (TestResult)
Modifiers1public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume46.60-
Number of Operands6-
Variable References0
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : toString() in Class : junit.framework.JUnit4TestCaseFacade
FeatureNumberValues
NametoString-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary11-
Halstead Effort211.89-
Halstead Bugs0.02-
Classes Referenced1java.lang.String (1)
External Methods Called1description().toString (1)
Local Methods Called1getDescription (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

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