Analysis of Class : junit.extensions.TestSetup$Protectable (Includes summary list of methods in class) Home

Dashboard for Class : junit.extensions.TestSetup$Protectable
Cyclomatic Complexity

Summary of TestSetup$Protectable
FeatureNumberValues
NameTestSetup$Protectable-
Number of Methods1-
LCOM0.00-
Average Cyclomatic Complexity1.00-
Number of Statements5-
Halstead Cumulative Bugs0.02-
Halstead Effort152.36-
UnWeighted Class Size1-
Instance Variables0 -
Imported Packages3junit.framework.Protectable
junit.framework.Test
junit.framework.TestResult
Response For class1-
CBO0-
Maintainability Index127.74-
Cumulative Number of Comment Lines0-
Lines Of Code7-
Fan In0-
DIT1-
Maintainability Index (NC)127.74-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.00-
Local Method Calls0
LCOM21.00-
Max Complexity1-
Halstead Cumulative Volume60.94-
Hierarchy Method Calls3basicRun (1)
setUp (1)
tearDown (1)
Number of Queries0-
Fan Out0-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0 -
Superclasses0 -
Total Complexity1-
Subclasses0 -
Message Passing Coupling0-
Number of Commands1-
Interfaces0 -
Cumulative Number of Comments0-
Halstead Cumulative Length17-
Modifiers1public
Summary of methods in junit.extensions.TestSetup$Protectable
Methods in Class : junit.extensions.TestSetup$Protectable
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
protect1041712152.360.0210350012.500100060.947110030


Analysis of Method : protect() in Class : junit.extensions.TestSetup$Protectable
FeatureNumberValues
Nameprotect-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements4-
Halstead Length17-
Halstead Vocabulary12-
Halstead Effort152.36-
Halstead Bugs0.02-
Classes Referenced1java.lang.Exception (1)
External Methods Called0
Local Methods Called3basicRun (1)
tearDown (1)
setUp (1)
Lines Of Code5-
Number of Comments0-
Arguments0 -
Modifiers1public
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume60.94-
Number of Operands7-
Variable References1result (1)
Number of Operators10-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

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