![]() | 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 | ||
---|---|---|
Feature | Number | Values |
Name | TemporaryFolder | - |
Number of Methods | 8 | - |
LCOM | 0.43 | - |
Average Cyclomatic Complexity | 1.25 | - |
Number of Statements | 29 | - |
Halstead Cumulative Bugs | 0.20 | - |
Halstead Effort | 3830.11 | - |
UnWeighted Class Size | 9 | - |
Instance Variables | 1 | folder (java.io.File) |
Imported Packages | 3 | java.io.File java.io.IOException org.junit.Rule |
Response For class | 8 | - |
CBO | 1 | - |
Maintainability Index | 132.28 | - |
Cumulative Number of Comment Lines | 37 | - |
Lines Of Code | 39 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 132.05 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 0.62 | - |
Local Method Calls | 3 | create (1) recursiveDelete (2) delete (1) |
LCOM2 | 0.00 | - |
Max Complexity | 3 | - |
Halstead Cumulative Volume | 605.77 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 3 | - |
Fan Out | 1 | - |
SuperClass Name | org.junit.rules.ExternalResource | - |
SIX | 0.18 | - |
External Method Calls | 0 | java.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) |
Superclasses | 1 | org.junit.rules.ExternalResource |
Total Complexity | 10 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 5 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 7 | - |
Halstead Cumulative Length | 158 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.rules.TemporaryFolder | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | COMP | NOCL | NOS | HLTH | HVOC | HEFF | HBUG | CREF | XMET | LMET | NLOC | NOC | NOA | MOD | HDIF | VDEC | EXCT | EXCR | CAST | TDN | HVOL | NAND | VREF | NOPR | MDN | NEXP | LOOP | |
![]() | after | 1 | 0 | 2 | 10 | 9 | 79.25 | 0.01 | 0 | 0 | 1 | 3 | 0 | 0 | 2 | 2.50 | 0 | 0 | 0 | 0 | 0 | 31.70 | 4 | 0 | 6 | 0 | 1 | 0 |
![]() | before | 1 | 0 | 2 | 12 | 11 | 124.54 | 0.01 | 1 | 0 | 1 | 3 | 0 | 0 | 3 | 3.00 | 0 | 1 | 0 | 0 | 0 | 41.51 | 5 | 0 | 7 | 0 | 1 | 0 |
![]() | create | 1 | 4 | 4 | 26 | 17 | 446.35 | 0.04 | 2 | 3 | 0 | 5 | 2 | 0 | 1 | 4.20 | 0 | 1 | 0 | 0 | 0 | 106.27 | 12 | 3 | 14 | 0 | 4 | 0 |
![]() | delete | 1 | 5 | 2 | 9 | 8 | 54.00 | 0.01 | 0 | 0 | 1 | 3 | 1 | 0 | 1 | 2.00 | 0 | 0 | 0 | 0 | 0 | 27.00 | 4 | 1 | 5 | 0 | 1 | 0 |
![]() | getRoot | 1 | 3 | 2 | 8 | 8 | 60.00 | 0.01 | 1 | 0 | 0 | 3 | 1 | 0 | 1 | 2.50 | 0 | 0 | 0 | 0 | 0 | 24.00 | 3 | 1 | 5 | 0 | 0 | 0 |
![]() | newFile | 1 | 3 | 4 | 26 | 17 | 777.13 | 0.04 | 3 | 2 | 0 | 5 | 1 | 1 | 1 | 7.31 | 1 | 1 | 0 | 0 | 0 | 106.27 | 13 | 4 | 13 | 0 | 3 | 0 |
![]() | newFolder | 1 | 3 | 4 | 24 | 15 | 642.96 | 0.03 | 2 | 2 | 0 | 5 | 1 | 1 | 1 | 6.86 | 1 | 0 | 0 | 0 | 0 | 93.77 | 12 | 4 | 12 | 0 | 3 | 0 |
![]() | recursiveDelete | 3 | 0 | 7 | 36 | 20 | 1616.40 | 0.05 | 1 | 2 | 1 | 7 | 0 | 1 | 1 | 10.39 | 1 | 0 | 0 | 0 | 0 | 155.59 | 17 | 5 | 19 | 0 | 5 | 1 |
Analysis of Method : after() in Class : org.junit.rules.TemporaryFolder | ||
---|---|---|
Feature | Number | Values |
Name | after | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 79.25 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 1 | delete (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override protected |
Halstead Difficulty | 2.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 31.70 | - |
Number of Operands | 4 | - |
Variable References | 0 | |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : before() in Class : org.junit.rules.TemporaryFolder | ||
---|---|---|
Feature | Number | Values |
Name | before | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 12 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 124.54 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.Throwable (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | create (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 3 | private @Override protected |
Halstead Difficulty | 3.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Throwable (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 41.51 | - |
Number of Operands | 5 | - |
Variable References | 0 | |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : create() in Class : org.junit.rules.TemporaryFolder | ||
---|---|---|
Feature | Number | Values |
Name | create | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 4 | - |
Halstead Length | 26 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 446.35 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 2 | java.io.File (1) java.io.IOException (1) |
External Methods Called | 3 | java.io.File.mkdir (1) java.io.File.delete (1) java.io.File.createTempFile (1) |
Local Methods Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 2 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 4.20 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.io.IOException (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 106.27 | - |
Number of Operands | 12 | - |
Variable References | 3 | folder (3) |
Number of Operators | 14 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : delete() in Class : org.junit.rules.TemporaryFolder | ||
---|---|---|
Feature | Number | Values |
Name | delete | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 5 | - |
Number of Statements | 2 | - |
Halstead Length | 9 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 54.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 1 | recursiveDelete (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 2.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 27.00 | - |
Number of Operands | 4 | - |
Variable References | 1 | folder (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getRoot() in Class : org.junit.rules.TemporaryFolder | ||
---|---|---|
Feature | Number | Values |
Name | getRoot | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 8 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 60.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.io.File (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | public |
Halstead Difficulty | 2.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 24.00 | - |
Number of Operands | 3 | - |
Variable References | 1 | folder (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : newFile(String) in Class : org.junit.rules.TemporaryFolder | ||
---|---|---|
Feature | Number | Values |
Name | newFile | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 4 | - |
Halstead Length | 26 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 777.13 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 3 | java.io.File (3) java.lang.String (1) java.io.IOException (1) |
External Methods Called | 2 | java.io.File.createNewFile (1) java.io.File.File (1) |
Local Methods Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 1 | - |
Arguments | 1 | fileName (java.lang.String) |
Modifiers | 1 | public |
Halstead Difficulty | 7.31 | - |
Variable Declarations | 1 | file (java.io.File) |
Exceptions Thrown | 1 | java.io.IOException (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 106.27 | - |
Number of Operands | 13 | - |
Variable References | 4 | file (2) folder (1) fileName (1) |
Number of Operators | 13 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : newFolder(String) in Class : org.junit.rules.TemporaryFolder | ||
---|---|---|
Feature | Number | Values |
Name | newFolder | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 4 | - |
Halstead Length | 24 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 642.96 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | java.io.File (3) java.lang.String (1) |
External Methods Called | 2 | java.io.File.mkdir (1) java.io.File.File (1) |
Local Methods Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 1 | - |
Arguments | 1 | folderName (java.lang.String) |
Modifiers | 1 | public |
Halstead Difficulty | 6.86 | - |
Variable Declarations | 1 | file (java.io.File) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 93.77 | - |
Number of Operands | 12 | - |
Variable References | 4 | file (2) folder (1) folderName (1) |
Number of Operators | 12 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : recursiveDelete(File) in Class : org.junit.rules.TemporaryFolder | ||
---|---|---|
Feature | Number | Values |
Name | recursiveDelete | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 7 | - |
Halstead Length | 36 | - |
Halstead Vocabulary | 20 | - |
Halstead Effort | 1616.40 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 1 | java.io.File (3) |
External Methods Called | 2 | java.io.File.delete (1) java.io.File.listFiles (1) |
Local Methods Called | 1 | recursiveDelete (1) |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 1 | file (java.io.File) |
Modifiers | 1 | private |
Halstead Difficulty | 10.39 | - |
Variable Declarations | 1 | files (java.io.File[]) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 155.59 | - |
Number of Operands | 17 | - |
Variable References | 5 | file (2) files (2) each (1) |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 1 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |