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
FeatureNumberValues
NameJUnitCore-
Number of Methods15-
LCOM0.79-
Average Cyclomatic Complexity1.20-
Number of Statements60-
Halstead Cumulative Bugs0.70-
Halstead Effort24259.93-
UnWeighted Class Size16-
Instance Variables1fNotifier (org.junit.runner.notification.RunNotifier)
Imported Packages10java.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 class15-
CBO17-
Maintainability Index105.36-
Cumulative Number of Comment Lines81-
Lines Of Code76-
Fan In4-
DIT1-
Maintainability Index (NC)123.23-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.27-
Local Method Calls5defaultComputer (2)
addListener (1)
removeListener (1)
runMainAndExit (1)
run (5)
LCOM243.00-
Max Complexity4-
Halstead Cumulative Volume2114.65-
Hierarchy Method Calls0
Number of Queries10-
Fan Out14-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0org.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>.add (1)
org.junit.runner.Description.createSuiteDescription (1)
org.junit.runner.Runner.getDescription (1)
List.add (1)
org.junit.internal.TextListener.TextListener (1)
org.junit.runner.Result.getFailures (1)
List>.toArray (1)
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)
Superclasses0 -
Total Complexity18-
Subclasses0 -
Message Passing Coupling0-
Number of Commands5-
Interfaces0 -
Cumulative Number of Comments15-
Halstead Cumulative Length458-
Modifiers0 -
Summary of methods in org.junit.runner.JUnitCore
Methods in Class : org.junit.runner.JUnitCore
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
JUnitCore13210995.100.0111031023.000000031.70317020
addListener1521310151.150.0111031113.500000043.19726010
defaultComputer102108135.000.0111030014.500000030.00307010
getVersion1321110109.620.0121031013.000000036.54407010
main1721613241.760.0221131124.080000059.21719010
removeListener1421310151.150.0111031113.500000043.19726010
run1521511217.940.0221131114.200000051.89718020
run131060242652.730.09371131119.6420002275.102711331100
run1522216660.000.0341231117.500000088.009113030
run1521914325.530.0231131114.500000072.349110020
run1622317738.660.0351131217.860000094.0111212020
runClasses1722319669.960.0342131126.860000097.708115030
runClasses1822420777.950.0352031227.5000000103.7310214020
runMain44211585416139.580.30131422012117.7560102909.277118871272
runMainAndExit14336251182.190.0644041227.0710000167.1818418060


Analysis of Method : JUnitCore() in Class : org.junit.runner.JUnitCore
FeatureNumberValues
NameJUnitCore-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary9-
Halstead Effort95.10-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.notification.RunNotifier (1)
External Methods Called1org.junit.runner.notification.RunNotifier.RunNotifier (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers2private
public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume31.70-
Number of Operands3-
Variable References1fNotifier (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : addListener(RunListener) in Class : org.junit.runner.JUnitCore
FeatureNumberValues
NameaddListener-
Cyclomatic Complexity1-
Number of Comment Lines5-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary10-
Halstead Effort151.15-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.notification.RunListener (1)
External Methods Called1org.junit.runner.notification.RunNotifier.addListener (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1listener (org.junit.runner.notification.RunListener)
Modifiers1public
Halstead Difficulty3.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume43.19-
Number of Operands7-
Variable References2fNotifier (1)
listener (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : defaultComputer() in Class : org.junit.runner.JUnitCore
FeatureNumberValues
NamedefaultComputer-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary8-
Halstead Effort135.00-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.Computer (2)
External Methods Called1org.junit.runner.Computer.Computer (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments0 -
Modifiers1static
Halstead Difficulty4.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume30.00-
Number of Operands3-
Variable References0
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getVersion() in Class : org.junit.runner.JUnitCore
FeatureNumberValues
NamegetVersion-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary10-
Halstead Effort109.62-
Halstead Bugs0.01-
Classes Referenced2java.lang.String (1)
junit.runner.Version (1)
External Methods Called1junit.runner.Version.id (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume36.54-
Number of Operands4-
Variable References0
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : main(String...) in Class : org.junit.runner.JUnitCore
FeatureNumberValues
Namemain-
Cyclomatic Complexity1-
Number of Comment Lines7-
Number of Statements2-
Halstead Length16-
Halstead Vocabulary13-
Halstead Effort241.76-
Halstead Bugs0.02-
Classes Referenced2java.lang.String (1)
org.junit.internal.RealSystem (1)
External Methods Called1org.junit.internal.RealSystem.RealSystem (1)
Local Methods Called1runMainAndExit (1)
Lines Of Code3-
Number of Comments1-
Arguments1args (java.lang.String...)
Modifiers2public
static
Halstead Difficulty4.08-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume59.21-
Number of Operands7-
Variable References1args (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : removeListener(RunListener) in Class : org.junit.runner.JUnitCore
FeatureNumberValues
NameremoveListener-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary10-
Halstead Effort151.15-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.notification.RunListener (1)
External Methods Called1org.junit.runner.notification.RunNotifier.removeListener (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1listener (org.junit.runner.notification.RunListener)
Modifiers1public
Halstead Difficulty3.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume43.19-
Number of Operands7-
Variable References2fNotifier (1)
listener (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : run(Request) in Class : org.junit.runner.JUnitCore
FeatureNumberValues
Namerun-
Cyclomatic Complexity1-
Number of Comment Lines5-
Number of Statements2-
Halstead Length15-
Halstead Vocabulary11-
Halstead Effort217.94-
Halstead Bugs0.02-
Classes Referenced2org.junit.runner.Result (1)
org.junit.runner.Request (1)
External Methods Called1org.junit.runner.Request.getRunner (1)
Local Methods Called1run (1)
Lines Of Code3-
Number of Comments1-
Arguments1request (Request)
Modifiers1public
Halstead Difficulty4.20-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume51.89-
Number of Operands7-
Variable References1request (1)
Number of Operators8-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : run(Runner) in Class : org.junit.runner.JUnitCore
FeatureNumberValues
Namerun-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements10-
Halstead Length60-
Halstead Vocabulary24-
Halstead Effort2652.73-
Halstead Bugs0.09-
Classes Referenced3org.junit.runner.Runner (1)
org.junit.runner.notification.RunListener (1)
org.junit.runner.Result (3)
External Methods Called7org.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 Called1removeListener (1)
Lines Of Code13-
Number of Comments1-
Arguments1runner (Runner)
Modifiers1public
Halstead Difficulty9.64-
Variable Declarations2result (Result)
listener (org.junit.runner.notification.RunListener)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting2-
Halstead Volume275.10-
Number of Operands27-
Variable References11result (3)
fNotifier (4)
runner (2)
listener (2)
Number of Operators33-
Max. depth of nesting1-
Number of Expressions10-
Number of Loops0-

Top of this page

Analysis of Method : run(Class...) in Class : org.junit.runner.JUnitCore
FeatureNumberValues
Namerun-
Cyclomatic Complexity1-
Number of Comment Lines5-
Number of Statements2-
Halstead Length22-
Halstead Vocabulary16-
Halstead Effort660.00-
Halstead Bugs0.03-
Classes Referenced4java.lang.Class (1)
org.junit.runner.Result (1)
? (1)
org.junit.runner.Request (1)
External Methods Called1org.junit.runner.Request.classes (1)
Local Methods Called2defaultComputer (1)
run (1)
Lines Of Code3-
Number of Comments1-
Arguments1classes (java.lang.Class...)
Modifiers1public
Halstead Difficulty7.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume88.00-
Number of Operands9-
Variable References1classes (1)
Number of Operators13-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : run(Test) in Class : org.junit.runner.JUnitCore
FeatureNumberValues
Namerun-
Cyclomatic Complexity1-
Number of Comment Lines5-
Number of Statements2-
Halstead Length19-
Halstead Vocabulary14-
Halstead Effort325.53-
Halstead Bugs0.02-
Classes Referenced3org.junit.internal.runners.JUnit38ClassRunner (1)
junit.framework.Test (1)
org.junit.runner.Result (1)
External Methods Called1org.junit.internal.runners.JUnit38ClassRunner.JUnit38ClassRunner (1)
Local Methods Called1run (1)
Lines Of Code3-
Number of Comments1-
Arguments1test (junit.framework.Test)
Modifiers1public
Halstead Difficulty4.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume72.34-
Number of Operands9-
Variable References1test (1)
Number of Operators10-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : run(Computer, Class...) in Class : org.junit.runner.JUnitCore
FeatureNumberValues
Namerun-
Cyclomatic Complexity1-
Number of Comment Lines6-
Number of Statements2-
Halstead Length23-
Halstead Vocabulary17-
Halstead Effort738.66-
Halstead Bugs0.03-
Classes Referenced5org.junit.runner.Computer (1)
java.lang.Class (1)
org.junit.runner.Result (1)
? (1)
org.junit.runner.Request (1)
External Methods Called1org.junit.runner.Request.classes (1)
Local Methods Called1run (1)
Lines Of Code3-
Number of Comments1-
Arguments2computer (org.junit.runner.Computer)
classes (java.lang.Class...)
Modifiers1public
Halstead Difficulty7.86-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume94.01-
Number of Operands11-
Variable References2computer (1)
classes (1)
Number of Operators12-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : runClasses(Class...) in Class : org.junit.runner.JUnitCore
FeatureNumberValues
NamerunClasses-
Cyclomatic Complexity1-
Number of Comment Lines7-
Number of Statements2-
Halstead Length23-
Halstead Vocabulary19-
Halstead Effort669.96-
Halstead Bugs0.03-
Classes Referenced4org.junit.runner.JUnitCore (1)
java.lang.Class (1)
org.junit.runner.Result (1)
? (1)
External Methods Called2org.junit.runner.JUnitCore.run (1)
org.junit.runner.JUnitCore.JUnitCore (1)
Local Methods Called1defaultComputer (1)
Lines Of Code3-
Number of Comments1-
Arguments1classes (java.lang.Class...)
Modifiers2public
static
Halstead Difficulty6.86-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume97.70-
Number of Operands8-
Variable References1classes (1)
Number of Operators15-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : runClasses(Computer, Class...) in Class : org.junit.runner.JUnitCore
FeatureNumberValues
NamerunClasses-
Cyclomatic Complexity1-
Number of Comment Lines8-
Number of Statements2-
Halstead Length24-
Halstead Vocabulary20-
Halstead Effort777.95-
Halstead Bugs0.03-
Classes Referenced5org.junit.runner.JUnitCore (1)
org.junit.runner.Computer (1)
java.lang.Class (1)
org.junit.runner.Result (1)
? (1)
External Methods Called2org.junit.runner.JUnitCore.JUnitCore (1)
org.junit.runner.JUnitCore.run (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments2computer (org.junit.runner.Computer)
classes (java.lang.Class...)
Modifiers2public
static
Halstead Difficulty7.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume103.73-
Number of Operands10-
Variable References2computer (1)
classes (1)
Number of Operators14-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : runMain(JUnitSystem, String...) in Class : org.junit.runner.JUnitCore
FeatureNumberValues
NamerunMain-
Cyclomatic Complexity4-
Number of Comment Lines4-
Number of Statements21-
Halstead Length158-
Halstead Vocabulary54-
Halstead Effort16139.58-
Halstead Bugs0.30-
Classes Referenced13org.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 Called14org.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>.add (1)
org.junit.runner.notification.Failure.Failure (1)
java.util.ArrayList.ArrayList (2)
junit.runner.Version.id (1)
List.add (1)
List>.toArray (1)
Local Methods Called2addListener (1)
run (1)
Lines Of Code20-
Number of Comments1-
Arguments2system (org.junit.internal.JUnitSystem)
args (java.lang.String...)
Modifiers1public
Halstead Difficulty17.75-
Variable Declarations6result (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 Thrown0
Exceptions Referenced1java.lang.ClassNotFoundException (1)
Number of casts0-
Total Depth of Nesting2-
Halstead Volume909.27-
Number of Operands71-
Variable References18system (3)
failure (1)
listener (1)
classes (2)
e (1)
args (1)
each (4)
description (1)
result (2)
missingClasses (2)
Number of Operators87-
Max. depth of nesting1-
Number of Expressions27-
Number of Loops2-

Top of this page

Analysis of Method : runMainAndExit(JUnitSystem, String...) in Class : org.junit.runner.JUnitCore
FeatureNumberValues
NamerunMainAndExit-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements3-
Halstead Length36-
Halstead Vocabulary25-
Halstead Effort1182.19-
Halstead Bugs0.06-
Classes Referenced4org.junit.runner.JUnitCore (1)
org.junit.internal.JUnitSystem (1)
java.lang.String (1)
org.junit.runner.Result (1)
External Methods Called4org.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 Called0
Lines Of Code4-
Number of Comments1-
Arguments2system (org.junit.internal.JUnitSystem)
args (java.lang.String...)
Modifiers2public
static
Halstead Difficulty7.07-
Variable Declarations1result (Result)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume167.18-
Number of Operands18-
Variable References4result (1)
args (1)
system (2)
Number of Operators18-
Max. depth of nesting0-
Number of Expressions6-
Number of Loops0-

Top of this page

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