![]() | Analysis of Class : org.junit.runner.JUnitCore (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.runner.JUnitCore |
---|
![]() |
Cyclomatic Complexity |
Summary of JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | JUnitCore | - |
Number of Methods | 15 | - |
LCOM | 0.79 | - |
Average Cyclomatic Complexity | 1.20 | - |
Number of Statements | 60 | - |
Halstead Cumulative Bugs | 0.70 | - |
Halstead Effort | 24259.93 | - |
UnWeighted Class Size | 16 | - |
Instance Variables | 1 | fNotifier (org.junit.runner.notification.RunNotifier) |
Imported Packages | 10 | java.util.ArrayList java.util.List junit.runner.Version org.junit.internal.JUnitSystem org.junit.internal.RealSystem org.junit.internal.TextListener org.junit.internal.runners.JUnit38ClassRunner org.junit.runner.notification.Failure org.junit.runner.notification.RunListener org.junit.runner.notification.RunNotifier |
Response For class | 15 | - |
CBO | 17 | - |
Maintainability Index | 105.36 | - |
Cumulative Number of Comment Lines | 81 | - |
Lines Of Code | 76 | - |
Fan In | 4 | - |
DIT | 1 | - |
Maintainability Index (NC) | 123.23 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.27 | - |
Local Method Calls | 5 | defaultComputer (2) addListener (1) removeListener (1) runMainAndExit (1) run (5) |
LCOM2 | 43.00 | - |
Max Complexity | 4 | - |
Halstead Cumulative Volume | 2114.65 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 10 | - |
Fan Out | 14 | - |
SuperClass Name | java.lang.Object | - |
SIX | 0.00 | - |
External Method Calls | 0 | org.junit.runner.notification.RunNotifier.removeListener (1) org.junit.runner.notification.RunNotifier.addFirstListener (1) org.junit.runner.JUnitCore.JUnitCore (3) org.junit.runner.JUnitCore.runMain (1) org.junit.runner.Request.getRunner (1) org.junit.runner.Result.wasSuccessful (1) List org.junit.runner.Description.createSuiteDescription (1) org.junit.runner.Runner.getDescription (1) List org.junit.internal.TextListener.TextListener (1) org.junit.runner.Result.getFailures (1) List getFailures().add (1) org.junit.runner.JUnitCore.run (2) out().println (2) org.junit.runner.Result.createListener (1) org.junit.internal.JUnitSystem.out (2) org.junit.runner.notification.RunNotifier.RunNotifier (1) org.junit.runner.notification.RunNotifier.addListener (1) org.junit.runner.notification.Failure.Failure (1) org.junit.runner.Computer.Computer (1) org.junit.runner.notification.RunNotifier.fireTestRunFinished (1) java.lang.Class.Class (1) org.junit.runner.notification.RunNotifier.fireTestRunStarted (1) org.junit.runner.Result.Result (1) java.lang.Class.forName (1) org.junit.internal.JUnitSystem.exit (1) org.junit.internal.RealSystem.RealSystem (1) junit.runner.Version.id (2) org.junit.internal.runners.JUnit38ClassRunner.JUnit38ClassRunner (1) org.junit.runner.Request.classes (2) java.util.ArrayList.ArrayList (2) org.junit.runner.Runner.run (1) |
Superclasses | 0 | - |
Total Complexity | 18 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 5 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 15 | - |
Halstead Cumulative Length | 458 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.runner.JUnitCore | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | JUnitCore | 1 | 3 | 2 | 10 | 9 | 95.10 | 0.01 | 1 | 1 | 0 | 3 | 1 | 0 | 2 | 3.00 | 0 | 0 | 0 | 0 | 0 | 31.70 | 3 | 1 | 7 | 0 | 2 | 0 |
![]() | addListener | 1 | 5 | 2 | 13 | 10 | 151.15 | 0.01 | 1 | 1 | 0 | 3 | 1 | 1 | 1 | 3.50 | 0 | 0 | 0 | 0 | 0 | 43.19 | 7 | 2 | 6 | 0 | 1 | 0 |
![]() | defaultComputer | 1 | 0 | 2 | 10 | 8 | 135.00 | 0.01 | 1 | 1 | 0 | 3 | 0 | 0 | 1 | 4.50 | 0 | 0 | 0 | 0 | 0 | 30.00 | 3 | 0 | 7 | 0 | 1 | 0 |
![]() | getVersion | 1 | 3 | 2 | 11 | 10 | 109.62 | 0.01 | 2 | 1 | 0 | 3 | 1 | 0 | 1 | 3.00 | 0 | 0 | 0 | 0 | 0 | 36.54 | 4 | 0 | 7 | 0 | 1 | 0 |
![]() | main | 1 | 7 | 2 | 16 | 13 | 241.76 | 0.02 | 2 | 1 | 1 | 3 | 1 | 1 | 2 | 4.08 | 0 | 0 | 0 | 0 | 0 | 59.21 | 7 | 1 | 9 | 0 | 1 | 0 |
![]() | removeListener | 1 | 4 | 2 | 13 | 10 | 151.15 | 0.01 | 1 | 1 | 0 | 3 | 1 | 1 | 1 | 3.50 | 0 | 0 | 0 | 0 | 0 | 43.19 | 7 | 2 | 6 | 0 | 1 | 0 |
![]() | run | 1 | 5 | 2 | 15 | 11 | 217.94 | 0.02 | 2 | 1 | 1 | 3 | 1 | 1 | 1 | 4.20 | 0 | 0 | 0 | 0 | 0 | 51.89 | 7 | 1 | 8 | 0 | 2 | 0 |
![]() | run | 1 | 3 | 10 | 60 | 24 | 2652.73 | 0.09 | 3 | 7 | 1 | 13 | 1 | 1 | 1 | 9.64 | 2 | 0 | 0 | 0 | 2 | 275.10 | 27 | 11 | 33 | 1 | 10 | 0 |
![]() | run | 1 | 5 | 2 | 22 | 16 | 660.00 | 0.03 | 4 | 1 | 2 | 3 | 1 | 1 | 1 | 7.50 | 0 | 0 | 0 | 0 | 0 | 88.00 | 9 | 1 | 13 | 0 | 3 | 0 |
![]() | run | 1 | 5 | 2 | 19 | 14 | 325.53 | 0.02 | 3 | 1 | 1 | 3 | 1 | 1 | 1 | 4.50 | 0 | 0 | 0 | 0 | 0 | 72.34 | 9 | 1 | 10 | 0 | 2 | 0 |
![]() | run | 1 | 6 | 2 | 23 | 17 | 738.66 | 0.03 | 5 | 1 | 1 | 3 | 1 | 2 | 1 | 7.86 | 0 | 0 | 0 | 0 | 0 | 94.01 | 11 | 2 | 12 | 0 | 2 | 0 |
![]() | runClasses | 1 | 7 | 2 | 23 | 19 | 669.96 | 0.03 | 4 | 2 | 1 | 3 | 1 | 1 | 2 | 6.86 | 0 | 0 | 0 | 0 | 0 | 97.70 | 8 | 1 | 15 | 0 | 3 | 0 |
![]() | runClasses | 1 | 8 | 2 | 24 | 20 | 777.95 | 0.03 | 5 | 2 | 0 | 3 | 1 | 2 | 2 | 7.50 | 0 | 0 | 0 | 0 | 0 | 103.73 | 10 | 2 | 14 | 0 | 2 | 0 |
![]() | runMain | 4 | 4 | 21 | 158 | 54 | 16139.58 | 0.30 | 13 | 14 | 2 | 20 | 1 | 2 | 1 | 17.75 | 6 | 0 | 1 | 0 | 2 | 909.27 | 71 | 18 | 87 | 1 | 27 | 2 |
![]() | runMainAndExit | 1 | 4 | 3 | 36 | 25 | 1182.19 | 0.06 | 4 | 4 | 0 | 4 | 1 | 2 | 2 | 7.07 | 1 | 0 | 0 | 0 | 0 | 167.18 | 18 | 4 | 18 | 0 | 6 | 0 |
Analysis of Method : JUnitCore() in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | JUnitCore | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 95.10 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runner.notification.RunNotifier (1) |
External Methods Called | 1 | org.junit.runner.notification.RunNotifier.RunNotifier (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 2 | private 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 | 31.70 | - |
Number of Operands | 3 | - |
Variable References | 1 | fNotifier (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : addListener(RunListener) in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | addListener | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 5 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 10 | - |
Halstead Effort | 151.15 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runner.notification.RunListener (1) |
External Methods Called | 1 | org.junit.runner.notification.RunNotifier.addListener (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | listener (org.junit.runner.notification.RunListener) |
Modifiers | 1 | public |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 43.19 | - |
Number of Operands | 7 | - |
Variable References | 2 | fNotifier (1) listener (1) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : defaultComputer() in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | defaultComputer | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 8 | - |
Halstead Effort | 135.00 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runner.Computer (2) |
External Methods Called | 1 | org.junit.runner.Computer.Computer (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | static |
Halstead Difficulty | 4.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 30.00 | - |
Number of Operands | 3 | - |
Variable References | 0 | |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getVersion() in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | getVersion | - |
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 | 2 | java.lang.String (1) junit.runner.Version (1) |
External Methods Called | 1 | junit.runner.Version.id (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
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 | 4 | - |
Variable References | 0 | |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : main(String...) in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | main | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 7 | - |
Number of Statements | 2 | - |
Halstead Length | 16 | - |
Halstead Vocabulary | 13 | - |
Halstead Effort | 241.76 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | java.lang.String (1) org.junit.internal.RealSystem (1) |
External Methods Called | 1 | org.junit.internal.RealSystem.RealSystem (1) |
Local Methods Called | 1 | runMainAndExit (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | args (java.lang.String...) |
Modifiers | 2 | public static |
Halstead Difficulty | 4.08 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 59.21 | - |
Number of Operands | 7 | - |
Variable References | 1 | args (1) |
Number of Operators | 9 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : removeListener(RunListener) in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | removeListener | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 10 | - |
Halstead Effort | 151.15 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runner.notification.RunListener (1) |
External Methods Called | 1 | org.junit.runner.notification.RunNotifier.removeListener (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | listener (org.junit.runner.notification.RunListener) |
Modifiers | 1 | public |
Halstead Difficulty | 3.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 43.19 | - |
Number of Operands | 7 | - |
Variable References | 2 | fNotifier (1) listener (1) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : run(Request) in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 5 | - |
Number of Statements | 2 | - |
Halstead Length | 15 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 217.94 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 2 | org.junit.runner.Result (1) org.junit.runner.Request (1) |
External Methods Called | 1 | org.junit.runner.Request.getRunner (1) |
Local Methods Called | 1 | run (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | request (Request) |
Modifiers | 1 | public |
Halstead Difficulty | 4.20 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 51.89 | - |
Number of Operands | 7 | - |
Variable References | 1 | request (1) |
Number of Operators | 8 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : run(Runner) in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 10 | - |
Halstead Length | 60 | - |
Halstead Vocabulary | 24 | - |
Halstead Effort | 2652.73 | - |
Halstead Bugs | 0.09 | - |
Classes Referenced | 3 | org.junit.runner.Runner (1) org.junit.runner.notification.RunListener (1) org.junit.runner.Result (3) |
External Methods Called | 7 | org.junit.runner.notification.RunNotifier.addFirstListener (1) org.junit.runner.notification.RunNotifier.fireTestRunFinished (1) org.junit.runner.Runner.getDescription (1) org.junit.runner.Result.Result (1) org.junit.runner.notification.RunNotifier.fireTestRunStarted (1) org.junit.runner.Runner.run (1) org.junit.runner.Result.createListener (1) |
Local Methods Called | 1 | removeListener (1) |
Lines Of Code | 13 | - |
Number of Comments | 1 | - |
Arguments | 1 | runner (Runner) |
Modifiers | 1 | public |
Halstead Difficulty | 9.64 | - |
Variable Declarations | 2 | result (Result) listener (org.junit.runner.notification.RunListener) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 2 | - |
Halstead Volume | 275.10 | - |
Number of Operands | 27 | - |
Variable References | 11 | result (3) fNotifier (4) runner (2) listener (2) |
Number of Operators | 33 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 10 | - |
Number of Loops | 0 | - |
Analysis of Method : run(Class...) in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 5 | - |
Number of Statements | 2 | - |
Halstead Length | 22 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 660.00 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 4 | java.lang.Class (1) org.junit.runner.Result (1) ? (1) org.junit.runner.Request (1) |
External Methods Called | 1 | org.junit.runner.Request.classes (1) |
Local Methods Called | 2 | defaultComputer (1) run (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | classes (java.lang.Class...) |
Modifiers | 1 | public |
Halstead Difficulty | 7.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 88.00 | - |
Number of Operands | 9 | - |
Variable References | 1 | classes (1) |
Number of Operators | 13 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : run(Test) in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 5 | - |
Number of Statements | 2 | - |
Halstead Length | 19 | - |
Halstead Vocabulary | 14 | - |
Halstead Effort | 325.53 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 3 | org.junit.internal.runners.JUnit38ClassRunner (1) junit.framework.Test (1) org.junit.runner.Result (1) |
External Methods Called | 1 | org.junit.internal.runners.JUnit38ClassRunner.JUnit38ClassRunner (1) |
Local Methods Called | 1 | run (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 1 | public |
Halstead Difficulty | 4.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 72.34 | - |
Number of Operands | 9 | - |
Variable References | 1 | test (1) |
Number of Operators | 10 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : run(Computer, Class...) in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 6 | - |
Number of Statements | 2 | - |
Halstead Length | 23 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 738.66 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 5 | org.junit.runner.Computer (1) java.lang.Class (1) org.junit.runner.Result (1) ? (1) org.junit.runner.Request (1) |
External Methods Called | 1 | org.junit.runner.Request.classes (1) |
Local Methods Called | 1 | run (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 2 | computer (org.junit.runner.Computer) classes (java.lang.Class...) |
Modifiers | 1 | public |
Halstead Difficulty | 7.86 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 94.01 | - |
Number of Operands | 11 | - |
Variable References | 2 | computer (1) classes (1) |
Number of Operators | 12 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : runClasses(Class...) in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | runClasses | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 7 | - |
Number of Statements | 2 | - |
Halstead Length | 23 | - |
Halstead Vocabulary | 19 | - |
Halstead Effort | 669.96 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 4 | org.junit.runner.JUnitCore (1) java.lang.Class (1) org.junit.runner.Result (1) ? (1) |
External Methods Called | 2 | org.junit.runner.JUnitCore.run (1) org.junit.runner.JUnitCore.JUnitCore (1) |
Local Methods Called | 1 | defaultComputer (1) |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | classes (java.lang.Class...) |
Modifiers | 2 | public static |
Halstead Difficulty | 6.86 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 97.70 | - |
Number of Operands | 8 | - |
Variable References | 1 | classes (1) |
Number of Operators | 15 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : runClasses(Computer, Class...) in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | runClasses | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 8 | - |
Number of Statements | 2 | - |
Halstead Length | 24 | - |
Halstead Vocabulary | 20 | - |
Halstead Effort | 777.95 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 5 | org.junit.runner.JUnitCore (1) org.junit.runner.Computer (1) java.lang.Class (1) org.junit.runner.Result (1) ? (1) |
External Methods Called | 2 | org.junit.runner.JUnitCore.JUnitCore (1) org.junit.runner.JUnitCore.run (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 2 | computer (org.junit.runner.Computer) classes (java.lang.Class...) |
Modifiers | 2 | public static |
Halstead Difficulty | 7.50 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 103.73 | - |
Number of Operands | 10 | - |
Variable References | 2 | computer (1) classes (1) |
Number of Operators | 14 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : runMain(JUnitSystem, String...) in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | runMain | - |
Cyclomatic Complexity | 4 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 21 | - |
Halstead Length | 158 | - |
Halstead Vocabulary | 54 | - |
Halstead Effort | 16139.58 | - |
Halstead Bugs | 0.30 | - |
Classes Referenced | 13 | org.junit.runner.Result (2) org.junit.runner.Description (2) java.lang.ClassNotFoundException (1) org.junit.runner.notification.RunListener (1) ? (2) java.lang.String (2) java.lang.Class (4) org.junit.internal.TextListener (1) java.util.List (2) org.junit.runner.notification.Failure (5) junit.runner.Version (1) org.junit.internal.JUnitSystem (1) java.util.ArrayList (2) |
External Methods Called | 14 | org.junit.runner.Result.getFailures (1) org.junit.internal.TextListener.TextListener (1) getFailures().add (1) out().println (2) org.junit.internal.JUnitSystem.out (2) java.lang.Class.forName (1) org.junit.runner.Description.createSuiteDescription (1) java.lang.Class.Class (1) List org.junit.runner.notification.Failure.Failure (1) java.util.ArrayList.ArrayList (2) junit.runner.Version.id (1) List List |
Local Methods Called | 2 | addListener (1) run (1) |
Lines Of Code | 20 | - |
Number of Comments | 1 | - |
Arguments | 2 | system (org.junit.internal.JUnitSystem) args (java.lang.String...) |
Modifiers | 1 | public |
Halstead Difficulty | 17.75 | - |
Variable Declarations | 6 | result (Result) missingClasses (List<Failure>) failure (org.junit.runner.notification.Failure) classes (List<Class<?>>) description (org.junit.runner.Description) listener (org.junit.runner.notification.RunListener) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 1 | java.lang.ClassNotFoundException (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 2 | - |
Halstead Volume | 909.27 | - |
Number of Operands | 71 | - |
Variable References | 18 | system (3) failure (1) listener (1) classes (2) e (1) args (1) each (4) description (1) result (2) missingClasses (2) |
Number of Operators | 87 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 27 | - |
Number of Loops | 2 | - |
Analysis of Method : runMainAndExit(JUnitSystem, String...) in Class : org.junit.runner.JUnitCore | ||
---|---|---|
Feature | Number | Values |
Name | runMainAndExit | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 3 | - |
Halstead Length | 36 | - |
Halstead Vocabulary | 25 | - |
Halstead Effort | 1182.19 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 4 | org.junit.runner.JUnitCore (1) org.junit.internal.JUnitSystem (1) java.lang.String (1) org.junit.runner.Result (1) |
External Methods Called | 4 | org.junit.runner.JUnitCore.runMain (1) org.junit.runner.JUnitCore.JUnitCore (1) org.junit.internal.JUnitSystem.exit (1) org.junit.runner.Result.wasSuccessful (1) |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 1 | - |
Arguments | 2 | system (org.junit.internal.JUnitSystem) args (java.lang.String...) |
Modifiers | 2 | public static |
Halstead Difficulty | 7.07 | - |
Variable Declarations | 1 | result (Result) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 167.18 | - |
Number of Operands | 18 | - |
Variable References | 4 | result (1) args (1) system (2) |
Number of Operators | 18 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 6 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |