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

Dashboard for Class : org.junit.rules.TemporaryFolder
Cyclomatic Complexity

Summary of TemporaryFolder
FeatureNumberValues
NameTemporaryFolder-
Number of Methods8-
LCOM0.43-
Average Cyclomatic Complexity1.25-
Number of Statements29-
Halstead Cumulative Bugs0.20-
Halstead Effort3830.11-
UnWeighted Class Size9-
Instance Variables1folder (java.io.File)
Imported Packages3java.io.File
java.io.IOException
org.junit.Rule
Response For class8-
CBO1-
Maintainability Index132.28-
Cumulative Number of Comment Lines37-
Lines Of Code39-
Fan In0-
DIT1-
Maintainability Index (NC)132.05-
Specialization ratio0.00-
Reuse Ratio0.50-
COH0.62-
Local Method Calls3create (1)
recursiveDelete (2)
delete (1)
LCOM20.00-
Max Complexity3-
Halstead Cumulative Volume605.77-
Hierarchy Method Calls0
Number of Queries3-
Fan Out1-
SuperClass Nameorg.junit.rules.ExternalResource-
SIX0.18-
External Method Calls0java.io.File.createNewFile (1)
java.io.File.mkdir (2)
java.io.File.delete (2)
java.io.File.listFiles (1)
java.io.File.createTempFile (1)
java.io.File.File (2)
Superclasses1org.junit.rules.ExternalResource
Total Complexity10-
Subclasses0 -
Message Passing Coupling0-
Number of Commands5-
Interfaces0 -
Cumulative Number of Comments7-
Halstead Cumulative Length158-
Modifiers0 -
Summary of methods in org.junit.rules.TemporaryFolder
Methods in Class : org.junit.rules.TemporaryFolder
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
after10210979.250.0100130022.500000031.70406010
before1021211124.540.0110130033.000100041.51507010
create1442617446.350.0423052014.2001000106.2712314040
delete1529854.000.0100131012.000000027.00415010
getRoot1328860.000.0110031012.500000024.00315000
newFile1342617777.130.0432051117.3111000106.2713413030
newFolder1342415642.960.0322051116.861000093.7712412030
recursiveDelete30736201616.400.05121701110.3910000155.5917519051


Analysis of Method : after() in Class : org.junit.rules.TemporaryFolder
FeatureNumberValues
Nameafter-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary9-
Halstead Effort79.25-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called0
Local Methods Called1delete (1)
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers2@Override
protected
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume31.70-
Number of Operands4-
Variable References0
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : before() in Class : org.junit.rules.TemporaryFolder
FeatureNumberValues
Namebefore-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length12-
Halstead Vocabulary11-
Halstead Effort124.54-
Halstead Bugs0.01-
Classes Referenced1java.lang.Throwable (1)
External Methods Called0
Local Methods Called1create (1)
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers3private
@Override
protected
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown1java.lang.Throwable (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume41.51-
Number of Operands5-
Variable References0
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : create() in Class : org.junit.rules.TemporaryFolder
FeatureNumberValues
Namecreate-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements4-
Halstead Length26-
Halstead Vocabulary17-
Halstead Effort446.35-
Halstead Bugs0.04-
Classes Referenced2java.io.File (1)
java.io.IOException (1)
External Methods Called3java.io.File.mkdir (1)
java.io.File.delete (1)
java.io.File.createTempFile (1)
Local Methods Called0
Lines Of Code5-
Number of Comments2-
Arguments0 -
Modifiers1public
Halstead Difficulty4.20-
Variable Declarations0
Exceptions Thrown1java.io.IOException (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume106.27-
Number of Operands12-
Variable References3folder (3)
Number of Operators14-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : delete() in Class : org.junit.rules.TemporaryFolder
FeatureNumberValues
Namedelete-
Cyclomatic Complexity1-
Number of Comment Lines5-
Number of Statements2-
Halstead Length9-
Halstead Vocabulary8-
Halstead Effort54.00-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called0
Local Methods Called1recursiveDelete (1)
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty2.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume27.00-
Number of Operands4-
Variable References1folder (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getRoot() in Class : org.junit.rules.TemporaryFolder
FeatureNumberValues
NamegetRoot-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length8-
Halstead Vocabulary8-
Halstead Effort60.00-
Halstead Bugs0.01-
Classes Referenced1java.io.File (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 References1folder (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : newFile(String) in Class : org.junit.rules.TemporaryFolder
FeatureNumberValues
NamenewFile-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements4-
Halstead Length26-
Halstead Vocabulary17-
Halstead Effort777.13-
Halstead Bugs0.04-
Classes Referenced3java.io.File (3)
java.lang.String (1)
java.io.IOException (1)
External Methods Called2java.io.File.createNewFile (1)
java.io.File.File (1)
Local Methods Called0
Lines Of Code5-
Number of Comments1-
Arguments1fileName (java.lang.String)
Modifiers1public
Halstead Difficulty7.31-
Variable Declarations1file (java.io.File)
Exceptions Thrown1java.io.IOException (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume106.27-
Number of Operands13-
Variable References4file (2)
folder (1)
fileName (1)
Number of Operators13-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : newFolder(String) in Class : org.junit.rules.TemporaryFolder
FeatureNumberValues
NamenewFolder-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements4-
Halstead Length24-
Halstead Vocabulary15-
Halstead Effort642.96-
Halstead Bugs0.03-
Classes Referenced2java.io.File (3)
java.lang.String (1)
External Methods Called2java.io.File.mkdir (1)
java.io.File.File (1)
Local Methods Called0
Lines Of Code5-
Number of Comments1-
Arguments1folderName (java.lang.String)
Modifiers1public
Halstead Difficulty6.86-
Variable Declarations1file (java.io.File)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume93.77-
Number of Operands12-
Variable References4file (2)
folder (1)
folderName (1)
Number of Operators12-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : recursiveDelete(File) in Class : org.junit.rules.TemporaryFolder
FeatureNumberValues
NamerecursiveDelete-
Cyclomatic Complexity3-
Number of Comment Lines0-
Number of Statements7-
Halstead Length36-
Halstead Vocabulary20-
Halstead Effort1616.40-
Halstead Bugs0.05-
Classes Referenced1java.io.File (3)
External Methods Called2java.io.File.delete (1)
java.io.File.listFiles (1)
Local Methods Called1recursiveDelete (1)
Lines Of Code7-
Number of Comments0-
Arguments1file (java.io.File)
Modifiers1private
Halstead Difficulty10.39-
Variable Declarations1files (java.io.File[])
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume155.59-
Number of Operands17-
Variable References5file (2)
files (2)
each (1)
Number of Operators19-
Max. depth of nesting0-
Number of Expressions5-
Number of Loops1-

Top of this page

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