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

Dashboard for Class : org.junit.runners.ParentRunner
Cyclomatic Complexity

Summary of ParentRunner
FeatureNumberValues
NameParentRunner-
Number of Methods24-
LCOM0.12-
Average Cyclomatic Complexity1.54-
Number of Statements92-
Halstead Cumulative Bugs1.05-
Halstead Effort24972.41-
UnWeighted Class Size28-
Instance Variables4fScheduler (org.junit.runners.model.RunnerScheduler)
fSorter (org.junit.runner.manipulation.Sorter)
fTestClass (org.junit.runners.model.TestClass)
fFilter (org.junit.runner.manipulation.Filter)
Imported Packages27java.lang.annotation.Annotation
java.lang.reflect.Method
java.util.ArrayList
java.util.Collections
java.util.Comparator
java.util.List
org.junit.AfterClass
org.junit.BeforeClass
org.junit.internal.AssumptionViolatedException
org.junit.internal.runners.model.EachTestNotifier
org.junit.internal.runners.model.MultipleFailureException
org.junit.internal.runners.statements.RunAfters
org.junit.internal.runners.statements.RunBefores
org.junit.runner.Description
org.junit.runner.Runner
org.junit.runner.manipulation.Filter
org.junit.runner.manipulation.Filterable
org.junit.runner.manipulation.NoTestsRemainException
org.junit.runner.manipulation.Sortable
org.junit.runner.manipulation.Sorter
org.junit.runner.notification.RunNotifier
org.junit.runner.notification.StoppedByUserException
org.junit.runners.model.FrameworkMethod
org.junit.runners.model.InitializationError
org.junit.runners.model.RunnerScheduler
org.junit.runners.model.Statement
org.junit.runners.model.TestClass
Response For class25-
CBO23-
Maintainability Index129.58-
Cumulative Number of Comment Lines106-
Lines Of Code120-
Fan In4-
DIT1-
Maintainability Index (NC)129.34-
Specialization ratio8.00-
Reuse Ratio0.10-
COH0.14-
Local Method Calls17filterChild (1)
comparator (1)
sortChild (1)
getName (1)
shouldRun (2)
getFilteredChildren (2)
validatePublicVoidNoArgMethods (2)
childrenInvoker (1)
withBeforeClasses (1)
getChildren (2)
classBlock (1)
getTestClass (1)
getDescription (1)
validate (1)
describeChild (2)
withAfterClasses (1)
collectInitializationErrors (1)
LCOM2230.00-
Max Complexity4-
Halstead Cumulative Volume3142.97-
Hierarchy Method Calls0
Number of Queries12-
Fan Out19-
SuperClass Nameorg.junit.runner.Runner-
SIX0.04-
External Method Calls1org.junit.runner.manipulation.Filter.apply (1)
org.junit.runner.Description.createSuiteDescription (1)
org.junit.runners.model.RunnerScheduler.RunnerScheduler (1)
org.junit.runners.RunnerScheduler.finished (1)
org.junit.runner.manipulation.Filter.shouldRun (1)
org.junit.internal.runners.statements.RunBefores.RunBefores (1)
org.junit.runner.Description.addChild (1)
org.junit.runners.model.TestClass.TestClass (1)
org.junit.runners.model.TestClass.getAnnotations (1)
org.junit.internal.runners.statements.RunAfters.RunAfters (1)
List.isEmpty (2)
org.junit.internal.runners.model.EachTestNotifier.addFailure (1)
java.util.Collections.sort (1)
org.junit.internal.runners.model.EachTestNotifier.fireTestIgnored (1)
java.util.ArrayList.ArrayList (2)
org.junit.runners.model.Statement.Statement (1)
eachTestMethod.validatePublicVoidNoArg (1)
org.junit.runners.model.InitializationError.InitializationError (1)
org.junit.runners.model.TestClass.getName (1)
ArrayList.add (1)
org.junit.internal.runners.model.EachTestNotifier.EachTestNotifier (1)
errors().getAnnotatedMethods (1)
org.junit.runner.manipulation.Sorter.apply (1)
java.util.Comparator.Comparator (1)
org.junit.runners.Statement.evaluate (1)
org.junit.runner.manipulation.NoTestsRemainException.NoTestsRemainException (1)
List.isEmpty (1)
java.lang.Runnable.Runnable (1)
org.junit.runners.RunnerScheduler.schedule (1)
Superclasses1org.junit.runner.Runner
Total Complexity37-
Subclasses8org.junit.experimental.categories.Categories
org.junit.experimental.runners.Enclosed
org.junit.experimental.theories.Theories
org.junit.runners.BlockJUnit4ClassRunner
org.junit.runners.JUnit4
org.junit.runners.Parameterized
org.junit.runners.Parameterized$TestClassRunnerForParameters
org.junit.runners.Suite
Message Passing Coupling1-
Number of Commands12-
Interfaces1Filterable,Sortable
Cumulative Number of Comments33-
Halstead Cumulative Length713-
Modifiers0 -
Summary of methods in org.junit.runners.ParentRunner
Methods in Class : org.junit.runners.ParentRunner
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
ParentRunner1432117490.500.0331141115.710000085.848213030
childrenInvoker1522517574.800.0321081115.6200000102.1910015010
classBlock11753015769.170.0420361116.5610000117.2115615060
collectInitializationErrors1932617614.030.0440144115.7800000106.2713213000
comparator10240211739.360.0621070019.9000000175.6918022010
describeChild1418848.000.0120011122.000000024.00404000
filter33732211218.140.0531273118.6701000140.5513319041
filterChild2022016400.000.0321040115.000100080.0010310020
getChildren1619985.590.0120014023.000000028.53306000
getDescription23739231221.360.0623373026.9210000176.4218421071
getFilteredChildren411165314075.600.115351310112.6610102322.0227738191
getName132119139.480.0111031014.000000034.87417010
getTestClass1629985.590.0110034023.000000028.53316000
run40863302885.250.10642140129.3320304309.1328735180
runChild161101066.440.0120011222.000000033.22604000
runChildren20644251294.090.0733190116.3300000204.3319225041
setScheduler1421312163.120.0210031113.500000046.60726010
shouldRun1022015446.500.0311130115.710000078.1410310040
sort1021110109.620.0110030113.000000036.54625010
sortChild1021311131.170.0111030112.920000044.97726010
validate23437221668.320.05431630110.1111000165.0014323060
validatePublicVoidNoArgMethods210645281865.850.0762161318.6210000216.3323522041
withAfterClasses17336251539.440.0652061119.2110000167.1817519050
withBeforeClasses15336251539.440.0652061119.2110000167.1817519050


Analysis of Method : ParentRunner(Class) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NameParentRunner-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements3-
Halstead Length21-
Halstead Vocabulary17-
Halstead Effort490.50-
Halstead Bugs0.03-
Classes Referenced3org.junit.runners.model.TestClass (1)
java.lang.Class (1)
? (1)
External Methods Called1org.junit.runners.model.TestClass.TestClass (1)
Local Methods Called1validate (1)
Lines Of Code4-
Number of Comments1-
Arguments1testClass (java.lang.Class)
Modifiers1protected
Halstead Difficulty5.71-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume85.84-
Number of Operands8-
Variable References2fTestClass (1)
testClass (1)
Number of Operators13-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : childrenInvoker(RunNotifier) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamechildrenInvoker-
Cyclomatic Complexity1-
Number of Comment Lines5-
Number of Statements2-
Halstead Length25-
Halstead Vocabulary17-
Halstead Effort574.80-
Halstead Bugs0.03-
Classes Referenced2org.junit.runner.notification.RunNotifier (1)
org.junit.runners.model.Statement (2)
External Methods Called1org.junit.runners.model.Statement.Statement (1)
Local Methods Called0
Lines Of Code8-
Number of Comments1-
Arguments1notifier (org.junit.runner.notification.RunNotifier)
Modifiers1protected
Halstead Difficulty5.62-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume102.19-
Number of Operands10-
Variable References0
Number of Operators15-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : classBlock(RunNotifier) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NameclassBlock-
Cyclomatic Complexity1-
Number of Comment Lines17-
Number of Statements5-
Halstead Length30-
Halstead Vocabulary15-
Halstead Effort769.17-
Halstead Bugs0.04-
Classes Referenced2org.junit.runner.notification.RunNotifier (1)
org.junit.runners.model.Statement (2)
External Methods Called0
Local Methods Called3withAfterClasses (1)
withBeforeClasses (1)
childrenInvoker (1)
Lines Of Code6-
Number of Comments1-
Arguments1notifier (org.junit.runner.notification.RunNotifier)
Modifiers1protected
Halstead Difficulty6.56-
Variable Declarations1statement (org.junit.runners.model.Statement)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume117.21-
Number of Operands15-
Variable References6statement (5)
notifier (1)
Number of Operators15-
Max. depth of nesting0-
Number of Expressions6-
Number of Loops0-

Top of this page

Analysis of Method : collectInitializationErrors(List) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamecollectInitializationErrors-
Cyclomatic Complexity1-
Number of Comment Lines9-
Number of Statements3-
Halstead Length26-
Halstead Vocabulary17-
Halstead Effort614.03-
Halstead Bugs0.04-
Classes Referenced4java.util.List (1)
AfterClass.class (1)
BeforeClass.class (1)
java.lang.Throwable (2)
External Methods Called0
Local Methods Called1validatePublicVoidNoArgMethods (2)
Lines Of Code4-
Number of Comments4-
Arguments1errors (java.util.List)
Modifiers1protected
Halstead Difficulty5.78-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume106.27-
Number of Operands13-
Variable References2errors (2)
Number of Operators13-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : comparator() in Class : org.junit.runners.ParentRunner
FeatureNumberValues
Namecomparator-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length40-
Halstead Vocabulary21-
Halstead Effort1739.36-
Halstead Bugs0.06-
Classes Referenced2?superT (1)
java.util.Comparator (2)
External Methods Called1java.util.Comparator.Comparator (1)
Local Methods Called0
Lines Of Code7-
Number of Comments0-
Arguments0 -
Modifiers1private
Halstead Difficulty9.90-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume175.69-
Number of Operands18-
Variable References0
Number of Operators22-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : describeChild(T) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamedescribeChild-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements1-
Halstead Length8-
Halstead Vocabulary8-
Halstead Effort48.00-
Halstead Bugs0.01-
Classes Referenced2org.junit.runner.Description (1)
T (1)
External Methods Called0
Local Methods Called0
Lines Of Code1-
Number of Comments1-
Arguments1child (T)
Modifiers2protected
abstract
Halstead Difficulty2.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume24.00-
Number of Operands4-
Variable References0
Number of Operators4-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : filter(Filter) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
Namefilter-
Cyclomatic Complexity3-
Number of Comment Lines3-
Number of Statements7-
Halstead Length32-
Halstead Vocabulary21-
Halstead Effort1218.14-
Halstead Bugs0.05-
Classes Referenced3org.junit.runner.manipulation.Filter (1)
org.junit.runner.manipulation.NoTestsRemainException (2)
T (1)
External Methods Called1org.junit.runner.manipulation.NoTestsRemainException.NoTestsRemainException (1)
Local Methods Called2shouldRun (1)
getChildren (1)
Lines Of Code7-
Number of Comments3-
Arguments1filter (org.junit.runner.manipulation.Filter)
Modifiers1public
Halstead Difficulty8.67-
Variable Declarations0
Exceptions Thrown1org.junit.runner.manipulation.NoTestsRemainException (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume140.55-
Number of Operands13-
Variable References3filter (1)
fFilter (1)
each (1)
Number of Operators19-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops1-

Top of this page

Analysis of Method : filterChild(T) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamefilterChild-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements2-
Halstead Length20-
Halstead Vocabulary16-
Halstead Effort400.00-
Halstead Bugs0.03-
Classes Referenced2org.junit.runner.manipulation.NoTestsRemainException (1)
T (1)
External Methods Called1org.junit.runner.manipulation.Filter.apply (1)
Local Methods Called0
Lines Of Code4-
Number of Comments0-
Arguments1child (T)
Modifiers1private
Halstead Difficulty5.00-
Variable Declarations0
Exceptions Thrown1org.junit.runner.manipulation.NoTestsRemainException (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume80.00-
Number of Operands10-
Variable References3fFilter (2)
child (1)
Number of Operators10-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : getChildren() in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamegetChildren-
Cyclomatic Complexity1-
Number of Comment Lines6-
Number of Statements1-
Halstead Length9-
Halstead Vocabulary9-
Halstead Effort85.59-
Halstead Bugs0.01-
Classes Referenced2java.util.List (1)
T (1)
External Methods Called0
Local Methods Called0
Lines Of Code1-
Number of Comments4-
Arguments0 -
Modifiers2protected
abstract
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume28.53-
Number of Operands3-
Variable References0
Number of Operators6-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : getDescription() in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamegetDescription-
Cyclomatic Complexity2-
Number of Comment Lines3-
Number of Statements7-
Halstead Length39-
Halstead Vocabulary23-
Halstead Effort1221.36-
Halstead Bugs0.06-
Classes Referenced2org.junit.runner.Description (3)
T (1)
External Methods Called3org.junit.runner.Description.createSuiteDescription (1)
org.junit.runners.model.TestClass.getAnnotations (1)
org.junit.runner.Description.addChild (1)
Local Methods Called3describeChild (1)
getFilteredChildren (1)
getName (1)
Lines Of Code7-
Number of Comments3-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty6.92-
Variable Declarations1description (org.junit.runner.Description)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume176.42-
Number of Operands18-
Variable References4fTestClass (1)
description (2)
child (1)
Number of Operators21-
Max. depth of nesting0-
Number of Expressions7-
Number of Loops1-

Top of this page

Analysis of Method : getFilteredChildren() in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamegetFilteredChildren-
Cyclomatic Complexity4-
Number of Comment Lines1-
Number of Statements11-
Halstead Length65-
Halstead Vocabulary31-
Halstead Effort4075.60-
Halstead Bugs0.11-
Classes Referenced5java.util.List (1)
java.util.ArrayList (2)
java.util.Collections (1)
org.junit.runner.manipulation.NoTestsRemainException (1)
T (4)
External Methods Called3java.util.ArrayList.ArrayList (1)
ArrayList.add (1)
java.util.Collections.sort (1)
Local Methods Called5comparator (1)
filterChild (1)
sortChild (1)
shouldRun (1)
getChildren (1)
Lines Of Code13-
Number of Comments1-
Arguments0 -
Modifiers1private
Halstead Difficulty12.66-
Variable Declarations1filtered (ArrayList<T>)
Exceptions Thrown0
Exceptions Referenced1org.junit.runner.manipulation.NoTestsRemainException (1)
Number of casts0-
Total Depth of Nesting2-
Halstead Volume322.02-
Number of Operands27-
Variable References7filtered (3)
each (4)
Number of Operators38-
Max. depth of nesting1-
Number of Expressions9-
Number of Loops1-

Top of this page

Analysis of Method : getName() in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamegetName-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary9-
Halstead Effort139.48-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called1org.junit.runners.model.TestClass.getName (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1protected
Halstead Difficulty4.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume34.87-
Number of Operands4-
Variable References1fTestClass (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : getTestClass() in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamegetTestClass-
Cyclomatic Complexity1-
Number of Comment Lines6-
Number of Statements2-
Halstead Length9-
Halstead Vocabulary9-
Halstead Effort85.59-
Halstead Bugs0.01-
Classes Referenced1org.junit.runners.model.TestClass (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments4-
Arguments0 -
Modifiers2public
final
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume28.53-
Number of Operands3-
Variable References1fTestClass (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : run(RunNotifier) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
Namerun-
Cyclomatic Complexity4-
Number of Comment Lines0-
Number of Statements8-
Halstead Length63-
Halstead Vocabulary30-
Halstead Effort2885.25-
Halstead Bugs0.10-
Classes Referenced6org.junit.internal.AssumptionViolatedException (1)
org.junit.runners.Statement (1)
org.junit.runner.notification.StoppedByUserException (1)
org.junit.runner.notification.RunNotifier (1)
java.lang.Throwable (1)
org.junit.internal.runners.model.EachTestNotifier (2)
External Methods Called4org.junit.internal.runners.model.EachTestNotifier.addFailure (1)
org.junit.internal.runners.model.EachTestNotifier.fireTestIgnored (1)
org.junit.internal.runners.model.EachTestNotifier.EachTestNotifier (1)
org.junit.runners.Statement.evaluate (1)
Local Methods Called2getDescription (1)
classBlock (1)
Lines Of Code14-
Number of Comments0-
Arguments1notifier (org.junit.runner.notification.RunNotifier)
Modifiers2@Override
public
Halstead Difficulty9.33-
Variable Declarations2testNotifier (org.junit.internal.runners.model.EachTestNotifier)
statement (org.junit.runners.Statement)
Exceptions Thrown0
Exceptions Referenced3org.junit.internal.AssumptionViolatedException (1)
org.junit.runner.notification.StoppedByUserException (1)
java.lang.Throwable (1)
Number of casts0-
Total Depth of Nesting4-
Halstead Volume309.13-
Number of Operands28-
Variable References7testNotifier (2)
statement (1)
notifier (2)
e (2)
Number of Operators35-
Max. depth of nesting1-
Number of Expressions8-
Number of Loops0-

Top of this page

Analysis of Method : runChild(T, RunNotifier) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamerunChild-
Cyclomatic Complexity1-
Number of Comment Lines6-
Number of Statements1-
Halstead Length10-
Halstead Vocabulary10-
Halstead Effort66.44-
Halstead Bugs0.01-
Classes Referenced2org.junit.runner.notification.RunNotifier (1)
T (1)
External Methods Called0
Local Methods Called0
Lines Of Code1-
Number of Comments1-
Arguments2child (T)
notifier (org.junit.runner.notification.RunNotifier)
Modifiers2protected
abstract
Halstead Difficulty2.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume33.22-
Number of Operands6-
Variable References0
Number of Operators4-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : runChildren(RunNotifier) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamerunChildren-
Cyclomatic Complexity2-
Number of Comment Lines0-
Number of Statements6-
Halstead Length44-
Halstead Vocabulary25-
Halstead Effort1294.09-
Halstead Bugs0.07-
Classes Referenced3org.junit.runner.notification.RunNotifier (1)
T (1)
java.lang.Runnable (1)
External Methods Called3org.junit.runners.RunnerScheduler.schedule (1)
org.junit.runners.RunnerScheduler.finished (1)
java.lang.Runnable.Runnable (1)
Local Methods Called1getFilteredChildren (1)
Lines Of Code9-
Number of Comments0-
Arguments1notifier (org.junit.runner.notification.RunNotifier)
Modifiers1private
Halstead Difficulty6.33-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume204.33-
Number of Operands19-
Variable References2fScheduler (2)
Number of Operators25-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops1-

Top of this page

Analysis of Method : setScheduler(RunnerScheduler) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamesetScheduler-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary12-
Halstead Effort163.12-
Halstead Bugs0.02-
Classes Referenced1org.junit.runners.RunnerScheduler (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1scheduler (org.junit.runners.RunnerScheduler)
Modifiers1public
Halstead Difficulty3.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume46.60-
Number of Operands7-
Variable References2fScheduler (1)
scheduler (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : shouldRun(T) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NameshouldRun-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length20-
Halstead Vocabulary15-
Halstead Effort446.50-
Halstead Bugs0.03-
Classes Referenced1T (1)
External Methods Called1org.junit.runner.manipulation.Filter.shouldRun (1)
Local Methods Called1describeChild (1)
Lines Of Code3-
Number of Comments0-
Arguments1each (T)
Modifiers1private
Halstead Difficulty5.71-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume78.14-
Number of Operands10-
Variable References3fFilter (2)
each (1)
Number of Operators10-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : sort(Sorter) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
Namesort-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary10-
Halstead Effort109.62-
Halstead Bugs0.01-
Classes Referenced1org.junit.runner.manipulation.Sorter (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1sorter (org.junit.runner.manipulation.Sorter)
Modifiers1public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume36.54-
Number of Operands6-
Variable References2fSorter (1)
sorter (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : sortChild(T) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamesortChild-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary11-
Halstead Effort131.17-
Halstead Bugs0.01-
Classes Referenced1T (1)
External Methods Called1org.junit.runner.manipulation.Sorter.apply (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1child (T)
Modifiers1private
Halstead Difficulty2.92-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume44.97-
Number of Operands7-
Variable References2fSorter (1)
child (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : validate() in Class : org.junit.runners.ParentRunner
FeatureNumberValues
Namevalidate-
Cyclomatic Complexity2-
Number of Comment Lines3-
Number of Statements4-
Halstead Length37-
Halstead Vocabulary22-
Halstead Effort1668.32-
Halstead Bugs0.05-
Classes Referenced4java.util.List (1)
java.util.ArrayList (1)
org.junit.runners.model.InitializationError (2)
java.lang.Throwable (2)
External Methods Called3org.junit.runners.model.InitializationError.InitializationError (1)
List.isEmpty (1)
java.util.ArrayList.ArrayList (1)
Local Methods Called1collectInitializationErrors (1)
Lines Of Code6-
Number of Comments3-
Arguments0 -
Modifiers1private
Halstead Difficulty10.11-
Variable Declarations1errors (List<Throwable>)
Exceptions Thrown1org.junit.runners.model.InitializationError (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume165.00-
Number of Operands14-
Variable References3errors (3)
Number of Operators23-
Max. depth of nesting0-
Number of Expressions6-
Number of Loops0-

Top of this page

Analysis of Method : validatePublicVoidNoArgMethods(Class, boolean, List) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamevalidatePublicVoidNoArgMethods-
Cyclomatic Complexity2-
Number of Comment Lines10-
Number of Statements6-
Halstead Length45-
Halstead Vocabulary28-
Halstead Effort1865.85-
Halstead Bugs0.07-
Classes Referenced6java.util.List (2)
org.junit.runners.model.FrameworkMethod (3)
java.lang.annotation.Annotation (1)
?extendsAnnotation (1)
java.lang.Class (1)
java.lang.Throwable (2)
External Methods Called2errors().getAnnotatedMethods (1)
eachTestMethod.validatePublicVoidNoArg (1)
Local Methods Called1getTestClass (1)
Lines Of Code6-
Number of Comments1-
Arguments3annotation (java.lang.Class)
isStatic (boolean)
errors (java.util.List)
Modifiers1protected
Halstead Difficulty8.62-
Variable Declarations1methods (List<FrameworkMethod>)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume216.33-
Number of Operands23-
Variable References5annotation (1)
isStatic (1)
eachTestMethod (1)
methods (1)
errors (1)
Number of Operators22-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops1-

Top of this page

Analysis of Method : withAfterClasses(Statement) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamewithAfterClasses-
Cyclomatic Complexity1-
Number of Comment Lines7-
Number of Statements3-
Halstead Length36-
Halstead Vocabulary25-
Halstead Effort1539.44-
Halstead Bugs0.06-
Classes Referenced5java.util.List (1)
org.junit.runners.model.FrameworkMethod (2)
AfterClass.class (1)
org.junit.runners.model.Statement (2)
org.junit.internal.runners.statements.RunAfters (1)
External Methods Called2List.isEmpty (1)
org.junit.internal.runners.statements.RunAfters.RunAfters (1)
Local Methods Called0
Lines Of Code6-
Number of Comments1-
Arguments1statement (org.junit.runners.model.Statement)
Modifiers1protected
Halstead Difficulty9.21-
Variable Declarations1afters (List<FrameworkMethod>)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume167.18-
Number of Operands17-
Variable References5fTestClass (1)
statement (2)
afters (2)
Number of Operators19-
Max. depth of nesting0-
Number of Expressions5-
Number of Loops0-

Top of this page

Analysis of Method : withBeforeClasses(Statement) in Class : org.junit.runners.ParentRunner
FeatureNumberValues
NamewithBeforeClasses-
Cyclomatic Complexity1-
Number of Comment Lines5-
Number of Statements3-
Halstead Length36-
Halstead Vocabulary25-
Halstead Effort1539.44-
Halstead Bugs0.06-
Classes Referenced5java.util.List (1)
org.junit.runners.model.FrameworkMethod (2)
org.junit.internal.runners.statements.RunBefores (1)
org.junit.runners.model.Statement (2)
BeforeClass.class (1)
External Methods Called2org.junit.internal.runners.statements.RunBefores.RunBefores (1)
List.isEmpty (1)
Local Methods Called0
Lines Of Code6-
Number of Comments1-
Arguments1statement (org.junit.runners.model.Statement)
Modifiers1protected
Halstead Difficulty9.21-
Variable Declarations1befores (List<FrameworkMethod>)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume167.18-
Number of Operands17-
Variable References5fTestClass (1)
statement (2)
befores (2)
Number of Operators19-
Max. depth of nesting0-
Number of Expressions5-
Number of Loops0-

Top of this page

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