![]() | Analysis of Class : junit.runner.BaseTestRunner (Includes summary list of methods in class) | Home |
Dashboard for Class : junit.runner.BaseTestRunner |
---|
![]() |
Cyclomatic Complexity |
Summary of BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | BaseTestRunner | - |
Number of Methods | 29 | - |
LCOM | 0.15 | - |
Average Cyclomatic Complexity | 1.97 | - |
Number of Statements | 147 | - |
Halstead Cumulative Bugs | 1.67 | - |
Halstead Effort | 63784.82 | - |
UnWeighted Class Size | 34 | - |
Instance Variables | 5 | fLoading (boolean) fgMaxMessageLength (int) fgFilterStack (boolean) SUITE_METHODNAME (java.lang.String) fPreferences (java.util.Properties) |
Imported Packages | 18 | java.io.BufferedReader java.io.File java.io.FileInputStream java.io.FileOutputStream java.io.IOException java.io.InputStream java.io.PrintWriter java.io.StringReader java.io.StringWriter java.lang.reflect.InvocationTargetException java.lang.reflect.Method java.lang.reflect.Modifier java.text.NumberFormat java.util.Properties junit.framework.AssertionFailedError junit.framework.Test junit.framework.TestListener junit.framework.TestSuite |
Response For class | 29 | - |
CBO | 8 | - |
Maintainability Index | 168.45 | - |
Cumulative Number of Comment Lines | 45 | - |
Lines Of Code | 216 | - |
Fan In | 3 | - |
DIT | 1 | - |
Maintainability Index (NC) | 118.45 | - |
Specialization ratio | 1.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.06 | - |
Local Method Calls | 15 | testStarted (1) setPreferences (1) clearStatus (3) testFailed (2) filterLine (1) extractClassName (1) getPreferences (5) runFailed (5) testEnded (1) getPreferencesFile (2) loadSuiteClass (1) showStackRaw (1) getPreference (4) readPreferences (1) setLoading (1) |
LCOM2 | 233.00 | - |
Max Complexity | 10 | - |
Halstead Cumulative Volume | 5005.15 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 15 | - |
Fan Out | 5 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | out.println (1) java.io.StringWriter.getBuffer (1) java.io.FileOutputStream.store (1) java.lang.String.startsWith (1) junit.runner.BaseTestRunner.getFilteredTrace (1) java.util.Properties.Properties (2) java.lang.String.String (1) java.util.Properties.load (1) java.io.PrintWriter.PrintWriter (2) java.io.FileOutputStream.close (1) java.lang.reflect.Modifier.isStatic (1) java.io.PrintWriter.println (1) java.text.NumberFormat.getInstance (1) e.getTargetException (1) e.toString (2) junit.framework.Test.toString (2) java.lang.StringBuffer.toString (1) java.io.File.File (1) getTargetException().toString (1) java.util.Properties.put (2) e.getMessage (1) java.io.FileInputStream.FileInputStream (1) java.lang.Class.forName (1) close().put (1) java.lang.Integer.parseInt (1) java.lang.String.indexOf (1) java.lang.reflect.Method.getModifiers (1) java.io.StringReader.StringReader (1) getInstance().format (1) java.lang.System.getProperty (1) java.lang.String.lastIndexOf (1) java.io.BufferedReader.readLine (1) java.io.BufferedReader.BufferedReader (1) java.lang.String.length (2) java.lang.Throwable.printStackTrace (1) java.io.InputStream.close (1) suiteClassName().equals (1) junit.framework.TestSuite.TestSuite (1) Class>.getMethod (1) close().getProperty (1) toString().equals (1) java.io.StringWriter.toString (1) java.io.StringWriter.StringWriter (2) java.lang.reflect.Method.invoke (1) java.io.FileOutputStream.FileOutputStream (1) java.lang.Class.Class (2) java.lang.String.substring (2) java.lang.String.equals (3) |
Superclasses | 0 | - |
Total Complexity | 57 | - |
Subclasses | 1 | junit.textui.TestRunner |
Message Passing Coupling | 0 | - |
Number of Commands | 14 | - |
Interfaces | 1 | junit.framework.TestListener |
Cumulative Number of Comments | 19 | - |
Halstead Cumulative Length | 1061 | - |
Modifiers | 0 | - |
Methods in Class : junit.runner.BaseTestRunner | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | addError | 1 | 0 | 2 | 20 | 16 | 342.22 | 0.03 | 3 | 0 | 1 | 3 | 0 | 2 | 2 | 4.28 | 0 | 0 | 0 | 0 | 0 | 80.00 | 11 | 3 | 9 | 0 | 0 | 0 |
![]() | addFailure | 1 | 0 | 2 | 20 | 16 | 342.22 | 0.03 | 3 | 0 | 1 | 3 | 0 | 2 | 2 | 4.28 | 0 | 0 | 0 | 0 | 0 | 80.00 | 11 | 3 | 9 | 0 | 0 | 0 |
![]() | clearStatus | 1 | 3 | 1 | 5 | 5 | 17.41 | 0.00 | 0 | 0 | 0 | 2 | 2 | 0 | 1 | 1.50 | 0 | 0 | 0 | 0 | 0 | 11.61 | 2 | 0 | 3 | 0 | 0 | 0 |
![]() | elapsedTimeAsString | 1 | 3 | 2 | 21 | 16 | 326.67 | 0.03 | 2 | 2 | 0 | 3 | 1 | 1 | 1 | 3.89 | 0 | 0 | 0 | 1 | 0 | 84.00 | 10 | 1 | 11 | 0 | 4 | 0 |
![]() | endTest | 1 | 0 | 2 | 15 | 12 | 188.21 | 0.02 | 1 | 1 | 1 | 3 | 0 | 1 | 2 | 3.50 | 0 | 0 | 0 | 0 | 0 | 53.77 | 7 | 1 | 8 | 0 | 2 | 0 |
![]() | extractClassName | 2 | 3 | 3 | 30 | 17 | 762.99 | 0.04 | 1 | 3 | 0 | 5 | 1 | 1 | 1 | 6.22 | 0 | 0 | 0 | 0 | 0 | 122.62 | 14 | 4 | 16 | 0 | 4 | 0 |
![]() | filterLine | 3 | 0 | 8 | 57 | 34 | 2943.35 | 0.10 | 1 | 2 | 0 | 17 | 1 | 1 | 1 | 10.15 | 2 | 0 | 0 | 0 | 1 | 289.99 | 29 | 7 | 28 | 1 | 7 | 1 |
![]() | getFilteredTrace | 5 | 3 | 12 | 89 | 35 | 6334.02 | 0.15 | 6 | 7 | 2 | 18 | 2 | 1 | 2 | 13.88 | 5 | 0 | 1 | 0 | 3 | 456.51 | 37 | 11 | 52 | 2 | 17 | 1 |
![]() | getFilteredTrace | 1 | 3 | 7 | 52 | 24 | 1788.14 | 0.08 | 6 | 6 | 0 | 8 | 1 | 1 | 2 | 7.50 | 4 | 0 | 0 | 0 | 0 | 238.42 | 25 | 6 | 27 | 0 | 10 | 0 |
![]() | getPreference | 1 | 0 | 2 | 16 | 12 | 281.06 | 0.02 | 1 | 1 | 1 | 3 | 0 | 1 | 2 | 4.90 | 0 | 0 | 0 | 0 | 0 | 57.36 | 7 | 1 | 9 | 0 | 2 | 0 |
![]() | getPreference | 3 | 0 | 7 | 48 | 24 | 2530.90 | 0.07 | 3 | 1 | 1 | 11 | 0 | 2 | 2 | 11.50 | 2 | 0 | 1 | 0 | 2 | 220.08 | 23 | 7 | 25 | 1 | 6 | 0 |
![]() | getPreferences | 2 | 0 | 7 | 38 | 20 | 1605.84 | 0.05 | 1 | 2 | 1 | 9 | 0 | 0 | 2 | 9.78 | 0 | 0 | 0 | 0 | 1 | 164.23 | 16 | 5 | 22 | 1 | 6 | 0 |
![]() | getPreferencesFile | 1 | 0 | 3 | 22 | 17 | 505.82 | 0.03 | 3 | 2 | 0 | 4 | 0 | 0 | 2 | 5.62 | 1 | 0 | 0 | 0 | 0 | 89.92 | 10 | 1 | 12 | 0 | 3 | 0 |
![]() | getTest | 10 | 5 | 31 | 215 | 56 | 28531.77 | 0.42 | 12 | 11 | 3 | 46 | 3 | 1 | 1 | 22.85 | 4 | 0 | 4 | 2 | 10 | 1248.58 | 89 | 21 | 126 | 1 | 41 | 0 |
![]() | loadSuiteClass | 1 | 3 | 2 | 19 | 16 | 506.67 | 0.03 | 4 | 1 | 0 | 3 | 1 | 1 | 1 | 6.67 | 0 | 1 | 0 | 0 | 0 | 76.00 | 8 | 1 | 11 | 0 | 1 | 0 |
![]() | processArguments | 6 | 4 | 16 | 111 | 37 | 9462.26 | 0.19 | 2 | 2 | 2 | 19 | 1 | 1 | 1 | 16.36 | 2 | 0 | 0 | 0 | 5 | 578.25 | 48 | 23 | 63 | 2 | 21 | 1 |
![]() | readPreferences | 4 | 0 | 8 | 58 | 27 | 2426.89 | 0.09 | 4 | 4 | 3 | 14 | 0 | 0 | 2 | 8.80 | 1 | 0 | 1 | 0 | 4 | 275.78 | 22 | 4 | 36 | 2 | 11 | 0 |
![]() | runFailed | 1 | 4 | 1 | 8 | 8 | 48.00 | 0.01 | 1 | 0 | 0 | 1 | 1 | 1 | 2 | 2.00 | 0 | 0 | 0 | 0 | 0 | 24.00 | 4 | 0 | 4 | 0 | 0 | 0 |
![]() | savePreferences | 1 | 0 | 5 | 34 | 21 | 1067.77 | 0.05 | 2 | 3 | 2 | 8 | 0 | 0 | 2 | 7.15 | 1 | 1 | 0 | 0 | 2 | 149.34 | 13 | 2 | 21 | 1 | 6 | 0 |
![]() | setLoading | 1 | 3 | 2 | 11 | 10 | 109.62 | 0.01 | 0 | 0 | 0 | 3 | 1 | 1 | 1 | 3.00 | 0 | 0 | 0 | 0 | 0 | 36.54 | 6 | 2 | 5 | 0 | 1 | 0 |
![]() | setPreference | 1 | 0 | 2 | 18 | 13 | 285.46 | 0.02 | 1 | 1 | 1 | 3 | 0 | 2 | 2 | 4.29 | 0 | 0 | 0 | 0 | 0 | 66.61 | 10 | 2 | 8 | 0 | 2 | 0 |
![]() | setPreferences | 1 | 0 | 2 | 12 | 11 | 149.45 | 0.01 | 1 | 0 | 0 | 3 | 0 | 1 | 2 | 3.60 | 0 | 0 | 0 | 0 | 0 | 41.51 | 6 | 2 | 6 | 0 | 1 | 0 |
![]() | showStackRaw | 1 | 0 | 2 | 20 | 18 | 416.99 | 0.03 | 0 | 1 | 1 | 3 | 0 | 0 | 2 | 5.00 | 0 | 0 | 0 | 0 | 0 | 83.40 | 8 | 1 | 12 | 0 | 5 | 0 |
![]() | startTest | 1 | 3 | 2 | 15 | 12 | 188.21 | 0.02 | 1 | 1 | 1 | 3 | 1 | 1 | 9 | 3.50 | 0 | 0 | 0 | 0 | 0 | 53.77 | 7 | 1 | 8 | 0 | 2 | 0 |
![]() | testEnded | 1 | 0 | 1 | 8 | 8 | 48.00 | 0.01 | 1 | 0 | 0 | 1 | 0 | 1 | 2 | 2.00 | 0 | 0 | 0 | 0 | 0 | 24.00 | 4 | 0 | 4 | 0 | 0 | 0 |
![]() | testFailed | 1 | 0 | 1 | 12 | 12 | 86.04 | 0.01 | 2 | 0 | 0 | 1 | 0 | 3 | 2 | 2.00 | 0 | 0 | 0 | 0 | 0 | 43.02 | 8 | 0 | 4 | 0 | 0 | 0 |
![]() | testStarted | 1 | 1 | 1 | 8 | 8 | 48.00 | 0.01 | 1 | 0 | 0 | 1 | 1 | 1 | 2 | 2.00 | 0 | 0 | 0 | 0 | 0 | 24.00 | 4 | 0 | 4 | 0 | 0 | 0 |
![]() | truncate | 2 | 3 | 3 | 35 | 23 | 1970.26 | 0.05 | 1 | 2 | 0 | 5 | 1 | 1 | 2 | 12.44 | 0 | 0 | 0 | 0 | 0 | 158.32 | 16 | 7 | 19 | 0 | 8 | 0 |
![]() | useReloadingTestSuiteLoader | 1 | 0 | 2 | 16 | 14 | 213.21 | 0.02 | 0 | 1 | 1 | 3 | 0 | 0 | 1 | 3.50 | 0 | 0 | 0 | 0 | 0 | 60.92 | 7 | 1 | 9 | 0 | 3 | 0 |
Analysis of Method : addError(Test, Throwable) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | addError | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 20 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 342.22 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 3 | junit.framework.Test (1) java.lang.Throwable (1) junit.runner.TestRunListener (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | testFailed (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 2 | test (junit.framework.Test) t (java.lang.Throwable) |
Modifiers | 2 | public synchronized |
Halstead Difficulty | 4.28 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 80.00 | - |
Number of Operands | 11 | - |
Variable References | 3 | STATUS_ERROR (1) t (1) test (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : addFailure(Test, AssertionFailedError) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | addFailure | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 20 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 342.22 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 3 | junit.framework.AssertionFailedError (1) junit.framework.Test (1) junit.runner.TestRunListener (1) |
External Methods Called | 0 | |
Local Methods Called | 1 | testFailed (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 2 | test (junit.framework.Test) t (junit.framework.AssertionFailedError) |
Modifiers | 2 | public synchronized |
Halstead Difficulty | 4.28 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 80.00 | - |
Number of Operands | 11 | - |
Variable References | 3 | STATUS_FAILURE (1) t (1) test (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : clearStatus() in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | clearStatus | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 1 | - |
Halstead Length | 5 | - |
Halstead Vocabulary | 5 | - |
Halstead Effort | 17.41 | - |
Halstead Bugs | 0.00 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 2 | - |
Number of Comments | 2 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 1.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 11.61 | - |
Number of Operands | 2 | - |
Variable References | 0 | |
Number of Operators | 3 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : elapsedTimeAsString(long) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | elapsedTimeAsString | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 21 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 326.67 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | java.lang.String (1) java.text.NumberFormat (1) |
External Methods Called | 2 | java.text.NumberFormat.getInstance (1) getInstance().format (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | runTime (long) |
Modifiers | 1 | public |
Halstead Difficulty | 3.89 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 1 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 84.00 | - |
Number of Operands | 10 | - |
Variable References | 1 | runTime (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : endTest(Test) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | endTest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 188.21 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | junit.framework.Test (1) |
External Methods Called | 1 | junit.framework.Test.toString (1) |
Local Methods Called | 1 | testEnded (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 2 | public synchronized |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 53.77 | - |
Number of Operands | 7 | - |
Variable References | 1 | test (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : extractClassName(String) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | extractClassName | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 3 | - |
Halstead Length | 30 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 762.99 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 1 | java.lang.String (2) |
External Methods Called | 3 | java.lang.String.startsWith (1) java.lang.String.substring (1) java.lang.String.lastIndexOf (1) |
Local Methods Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 1 | - |
Arguments | 1 | className (java.lang.String) |
Modifiers | 1 | public |
Halstead Difficulty | 6.22 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 122.62 | - |
Number of Operands | 14 | - |
Variable References | 4 | className (4) |
Number of Operators | 16 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : filterLine(String) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | filterLine | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 8 | - |
Halstead Length | 57 | - |
Halstead Vocabulary | 34 | - |
Halstead Effort | 2943.35 | - |
Halstead Bugs | 0.10 | - |
Classes Referenced | 1 | java.lang.String (3) |
External Methods Called | 2 | java.lang.String.indexOf (1) java.lang.String.String (1) |
Local Methods Called | 0 | |
Lines Of Code | 17 | - |
Number of Comments | 1 | - |
Arguments | 1 | line (java.lang.String) |
Modifiers | 1 | static |
Halstead Difficulty | 10.15 | - |
Variable Declarations | 2 | i (int) patterns (java.lang.String[]) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 289.99 | - |
Number of Operands | 29 | - |
Variable References | 7 | line (1) i (3) patterns (2) length (1) |
Number of Operators | 28 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 7 | - |
Number of Loops | 1 | - |
Analysis of Method : getFilteredTrace(String) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | getFilteredTrace | - |
Cyclomatic Complexity | 5 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 12 | - |
Halstead Length | 89 | - |
Halstead Vocabulary | 35 | - |
Halstead Effort | 6334.02 | - |
Halstead Bugs | 0.15 | - |
Classes Referenced | 6 | java.io.StringWriter (2) java.io.PrintWriter (2) java.io.StringReader (2) java.io.BufferedReader (2) java.lang.String (3) java.lang.Exception (1) |
External Methods Called | 7 | java.io.StringReader.StringReader (1) java.io.PrintWriter.println (1) java.io.PrintWriter.PrintWriter (1) java.io.StringWriter.toString (1) java.io.BufferedReader.BufferedReader (1) java.io.StringWriter.StringWriter (1) java.io.BufferedReader.readLine (1) |
Local Methods Called | 2 | filterLine (1) showStackRaw (1) |
Lines Of Code | 18 | - |
Number of Comments | 2 | - |
Arguments | 1 | stack (java.lang.String) |
Modifiers | 2 | public static |
Halstead Difficulty | 13.88 | - |
Variable Declarations | 5 | sw (java.io.StringWriter) line (java.lang.String) br (java.io.BufferedReader) sr (java.io.StringReader) pw (java.io.PrintWriter) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 1 | java.lang.Exception (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 3 | - |
Halstead Volume | 456.51 | - |
Number of Operands | 37 | - |
Variable References | 11 | sw (2) stack (3) line (3) br (1) pw (1) sr (1) |
Number of Operators | 52 | - |
Max. depth of nesting | 2 | - |
Number of Expressions | 17 | - |
Number of Loops | 1 | - |
Analysis of Method : getFilteredTrace(Throwable) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | getFilteredTrace | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 7 | - |
Halstead Length | 52 | - |
Halstead Vocabulary | 24 | - |
Halstead Effort | 1788.14 | - |
Halstead Bugs | 0.08 | - |
Classes Referenced | 6 | java.io.StringWriter (2) java.io.PrintWriter (2) java.lang.String (2) java.lang.StringBuffer (1) java.lang.Throwable (1) junit.runner.BaseTestRunner (1) |
External Methods Called | 6 | java.lang.Throwable.printStackTrace (1) junit.runner.BaseTestRunner.getFilteredTrace (1) java.io.StringWriter.StringWriter (1) java.io.PrintWriter.PrintWriter (1) java.io.StringWriter.getBuffer (1) java.lang.StringBuffer.toString (1) |
Local Methods Called | 0 | |
Lines Of Code | 8 | - |
Number of Comments | 1 | - |
Arguments | 1 | t (java.lang.Throwable) |
Modifiers | 2 | public static |
Halstead Difficulty | 7.50 | - |
Variable Declarations | 4 | buffer (java.lang.StringBuffer) stringWriter (java.io.StringWriter) trace (java.lang.String) writer (java.io.PrintWriter) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 238.42 | - |
Number of Operands | 25 | - |
Variable References | 6 | buffer (1) t (1) stringWriter (2) trace (1) writer (1) |
Number of Operators | 27 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 10 | - |
Number of Loops | 0 | - |
Analysis of Method : getPreference(String) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | getPreference | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 281.06 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | java.lang.String (2) |
External Methods Called | 1 | close().getProperty (1) |
Local Methods Called | 1 | getPreferences (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | key (java.lang.String) |
Modifiers | 2 | public static |
Halstead Difficulty | 4.90 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 57.36 | - |
Number of Operands | 7 | - |
Variable References | 1 | key (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : getPreference(String, int) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | getPreference | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 7 | - |
Halstead Length | 48 | - |
Halstead Vocabulary | 24 | - |
Halstead Effort | 2530.90 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 3 | java.lang.String (2) java.lang.NumberFormatException (1) java.lang.Integer (1) |
External Methods Called | 1 | java.lang.Integer.parseInt (1) |
Local Methods Called | 1 | getPreference (1) |
Lines Of Code | 11 | - |
Number of Comments | 0 | - |
Arguments | 2 | key (java.lang.String) dflt (int) |
Modifiers | 2 | public static |
Halstead Difficulty | 11.50 | - |
Variable Declarations | 2 | intValue (int) value (java.lang.String) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 1 | java.lang.NumberFormatException (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 2 | - |
Halstead Volume | 220.08 | - |
Number of Operands | 23 | - |
Variable References | 7 | key (1) intValue (3) value (2) dflt (1) |
Number of Operators | 25 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 6 | - |
Number of Loops | 0 | - |
Analysis of Method : getPreferences() in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | getPreferences | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 7 | - |
Halstead Length | 38 | - |
Halstead Vocabulary | 20 | - |
Halstead Effort | 1605.84 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 1 | java.util.Properties (2) |
External Methods Called | 2 | java.util.Properties.put (2) java.util.Properties.Properties (1) |
Local Methods Called | 1 | readPreferences (1) |
Lines Of Code | 9 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | protected static |
Halstead Difficulty | 9.78 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 1 | - |
Halstead Volume | 164.23 | - |
Number of Operands | 16 | - |
Variable References | 5 | fPreferences (5) |
Number of Operators | 22 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 6 | - |
Number of Loops | 0 | - |
Analysis of Method : getPreferencesFile() in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | getPreferencesFile | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 3 | - |
Halstead Length | 22 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 505.82 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 3 | java.io.File (2) java.lang.String (1) java.lang.System (1) |
External Methods Called | 2 | java.lang.System.getProperty (1) java.io.File.File (1) |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | private static |
Halstead Difficulty | 5.62 | - |
Variable Declarations | 1 | home (java.lang.String) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 89.92 | - |
Number of Operands | 10 | - |
Variable References | 1 | home (1) |
Number of Operators | 12 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : getTest(String) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | getTest | - |
Cyclomatic Complexity | 10 | - |
Number of Comment Lines | 5 | - |
Number of Statements | 31 | - |
Halstead Length | 215 | - |
Halstead Vocabulary | 56 | - |
Halstead Effort | 28531.77 | - |
Halstead Bugs | 0.42 | - |
Classes Referenced | 12 | ? (1) java.lang.ClassNotFoundException (1) junit.framework.Test (4) junit.framework.TestSuite (1) java.lang.Exception (2) java.lang.String (2) java.lang.Class (3) java.lang.reflect.Method (1) java.lang.reflect.Modifier (1) java.lang.reflect.InvocationTargetException (1) java.lang.IllegalAccessException (1) java.lang.Object (2) |
External Methods Called | 11 | e.getTargetException (1) java.lang.reflect.Modifier.isStatic (1) java.lang.String.length (1) java.lang.reflect.Method.invoke (1) junit.framework.TestSuite.TestSuite (1) getTargetException().toString (1) e.getMessage (1) e.toString (2) java.lang.Class.Class (2) java.lang.reflect.Method.getModifiers (1) Class>.getMethod (1) |
Local Methods Called | 3 | runFailed (5) loadSuiteClass (1) clearStatus (3) |
Lines Of Code | 46 | - |
Number of Comments | 3 | - |
Arguments | 1 | suiteClassName (java.lang.String) |
Modifiers | 1 | public |
Halstead Difficulty | 22.85 | - |
Variable Declarations | 4 | clazz (java.lang.String) suiteMethod (java.lang.reflect.Method) testClass (Class<?>) test (junit.framework.Test) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 4 | java.lang.reflect.InvocationTargetException (1) java.lang.IllegalAccessException (1) java.lang.Exception (2) java.lang.ClassNotFoundException (1) |
Number of casts | 2 | - |
Total Depth of Nesting | 10 | - |
Halstead Volume | 1248.58 | - |
Number of Operands | 89 | - |
Variable References | 21 | suiteClassName (3) clazz (3) SUITE_METHODNAME (1) suiteMethod (3) e (4) testClass (3) test (4) |
Number of Operators | 126 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 41 | - |
Number of Loops | 0 | - |
Analysis of Method : loadSuiteClass(String) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | loadSuiteClass | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 19 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 506.67 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 4 | java.lang.String (1) java.lang.Class (2) java.lang.ClassNotFoundException (1) ? (1) |
External Methods Called | 1 | java.lang.Class.forName (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | suiteClassName (java.lang.String) |
Modifiers | 1 | protected |
Halstead Difficulty | 6.67 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.ClassNotFoundException (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 76.00 | - |
Number of Operands | 8 | - |
Variable References | 1 | suiteClassName (1) |
Number of Operators | 11 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : processArguments(String[]) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | processArguments | - |
Cyclomatic Complexity | 6 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 16 | - |
Halstead Length | 111 | - |
Halstead Vocabulary | 37 | - |
Halstead Effort | 9462.26 | - |
Halstead Bugs | 0.19 | - |
Classes Referenced | 2 | java.lang.String (3) java.lang.System (1) |
External Methods Called | 2 | out.println (1) java.lang.String.equals (3) |
Local Methods Called | 2 | extractClassName (1) setLoading (1) |
Lines Of Code | 19 | - |
Number of Comments | 1 | - |
Arguments | 1 | args (java.lang.String[]) |
Modifiers | 1 | protected |
Halstead Difficulty | 16.36 | - |
Variable Declarations | 2 | i (int) suiteName (java.lang.String) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 5 | - |
Halstead Volume | 578.25 | - |
Number of Operands | 48 | - |
Variable References | 23 | out (1) args (7) i (9) fgFilterStack (1) length (2) suiteName (3) |
Number of Operators | 63 | - |
Max. depth of nesting | 2 | - |
Number of Expressions | 21 | - |
Number of Loops | 1 | - |
Analysis of Method : readPreferences() in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | readPreferences | - |
Cyclomatic Complexity | 4 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 8 | - |
Halstead Length | 58 | - |
Halstead Vocabulary | 27 | - |
Halstead Effort | 2426.89 | - |
Halstead Bugs | 0.09 | - |
Classes Referenced | 4 | java.io.FileInputStream (1) java.io.InputStream (1) java.io.IOException (2) java.util.Properties (1) |
External Methods Called | 4 | java.util.Properties.load (1) java.io.InputStream.close (1) java.util.Properties.Properties (1) java.io.FileInputStream.FileInputStream (1) |
Local Methods Called | 3 | getPreferences (2) getPreferencesFile (1) setPreferences (1) |
Lines Of Code | 14 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | private static |
Halstead Difficulty | 8.80 | - |
Variable Declarations | 1 | is (java.io.InputStream) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 1 | java.io.IOException (2) |
Number of casts | 0 | - |
Total Depth of Nesting | 4 | - |
Halstead Volume | 275.78 | - |
Number of Operands | 22 | - |
Variable References | 4 | is (4) |
Number of Operators | 36 | - |
Max. depth of nesting | 2 | - |
Number of Expressions | 11 | - |
Number of Loops | 0 | - |
Analysis of Method : runFailed(String) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | runFailed | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 1 | - |
Halstead Length | 8 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 48.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 1 | - |
Arguments | 1 | message (java.lang.String) |
Modifiers | 2 | protected abstract |
Halstead Difficulty | 2.00 | - |
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 | 4 | - |
Variable References | 0 | |
Number of Operators | 4 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : savePreferences() in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | savePreferences | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 5 | - |
Halstead Length | 34 | - |
Halstead Vocabulary | 21 | - |
Halstead Effort | 1067.77 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 2 | java.io.IOException (1) java.io.FileOutputStream (2) |
External Methods Called | 3 | java.io.FileOutputStream.store (1) java.io.FileOutputStream.close (1) java.io.FileOutputStream.FileOutputStream (1) |
Local Methods Called | 2 | getPreferences (1) getPreferencesFile (1) |
Lines Of Code | 8 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | public static |
Halstead Difficulty | 7.15 | - |
Variable Declarations | 1 | fos (java.io.FileOutputStream) |
Exceptions Thrown | 1 | java.io.IOException (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 2 | - |
Halstead Volume | 149.34 | - |
Number of Operands | 13 | - |
Variable References | 2 | fos (2) |
Number of Operators | 21 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 6 | - |
Number of Loops | 0 | - |
Analysis of Method : setLoading(boolean) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | setLoading | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 10 | - |
Halstead Effort | 109.62 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 0 | |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | enable (boolean) |
Modifiers | 1 | public |
Halstead Difficulty | 3.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 36.54 | - |
Number of Operands | 6 | - |
Variable References | 2 | fLoading (1) enable (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : setPreference(String, String) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | setPreference | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 18 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 285.46 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | java.lang.String (2) |
External Methods Called | 1 | close().put (1) |
Local Methods Called | 1 | getPreferences (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 2 | key (java.lang.String) value (java.lang.String) |
Modifiers | 2 | public static |
Halstead Difficulty | 4.29 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 66.61 | - |
Number of Operands | 10 | - |
Variable References | 2 | key (1) value (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : setPreferences(Properties) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | setPreferences | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 12 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 149.45 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.util.Properties (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | preferences (java.util.Properties) |
Modifiers | 2 | protected static |
Halstead Difficulty | 3.60 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 41.51 | - |
Number of Operands | 6 | - |
Variable References | 2 | preferences (1) fPreferences (1) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : showStackRaw() in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | showStackRaw | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 20 | - |
Halstead Vocabulary | 18 | - |
Halstead Effort | 416.99 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 0 | |
External Methods Called | 1 | toString().equals (1) |
Local Methods Called | 1 | getPreference (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | protected static |
Halstead Difficulty | 5.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 83.40 | - |
Number of Operands | 8 | - |
Variable References | 1 | fgFilterStack (1) |
Number of Operators | 12 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 0 | - |
Analysis of Method : startTest(Test) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | startTest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 188.21 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | junit.framework.Test (1) |
External Methods Called | 1 | junit.framework.Test.toString (1) |
Local Methods Called | 1 | testStarted (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 9 | public static final private static static static public synchronized |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 53.77 | - |
Number of Operands | 7 | - |
Variable References | 1 | test (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : testEnded(String) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | testEnded | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 1 | - |
Halstead Length | 8 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 48.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 0 | - |
Arguments | 1 | testName (java.lang.String) |
Modifiers | 2 | public abstract |
Halstead Difficulty | 2.00 | - |
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 | 4 | - |
Variable References | 0 | |
Number of Operators | 4 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : testFailed(int, Test, Throwable) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | testFailed | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 1 | - |
Halstead Length | 12 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 86.04 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 2 | junit.framework.Test (1) java.lang.Throwable (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 0 | - |
Arguments | 3 | status (int) test (junit.framework.Test) t (java.lang.Throwable) |
Modifiers | 2 | public abstract |
Halstead Difficulty | 2.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 43.02 | - |
Number of Operands | 8 | - |
Variable References | 0 | |
Number of Operators | 4 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : testStarted(String) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | testStarted | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 1 | - |
Number of Statements | 1 | - |
Halstead Length | 8 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 48.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 1 | - |
Arguments | 1 | testName (java.lang.String) |
Modifiers | 2 | public abstract |
Halstead Difficulty | 2.00 | - |
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 | 4 | - |
Variable References | 0 | |
Number of Operators | 4 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : truncate(String) in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | truncate | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 3 | - |
Halstead Length | 35 | - |
Halstead Vocabulary | 23 | - |
Halstead Effort | 1970.26 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 1 | java.lang.String (2) |
External Methods Called | 2 | java.lang.String.substring (1) java.lang.String.length (1) |
Local Methods Called | 0 | |
Lines Of Code | 5 | - |
Number of Comments | 1 | - |
Arguments | 1 | s (java.lang.String) |
Modifiers | 2 | public static |
Halstead Difficulty | 12.44 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 158.32 | - |
Number of Operands | 16 | - |
Variable References | 7 | s (4) fgMaxMessageLength (3) |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 8 | - |
Number of Loops | 0 | - |
Analysis of Method : useReloadingTestSuiteLoader() in Class : junit.runner.BaseTestRunner | ||
---|---|---|
Feature | Number | Values |
Name | useReloadingTestSuiteLoader | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 213.21 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 0 | |
External Methods Called | 1 | suiteClassName().equals (1) |
Local Methods Called | 1 | getPreference (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 60.92 | - |
Number of Operands | 7 | - |
Variable References | 1 | fLoading (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |