![]() | 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 | ||
---|---|---|
Feature | Number | Values |
Name | ParentRunner | - |
Number of Methods | 24 | - |
LCOM | 0.12 | - |
Average Cyclomatic Complexity | 1.54 | - |
Number of Statements | 92 | - |
Halstead Cumulative Bugs | 1.05 | - |
Halstead Effort | 24972.41 | - |
UnWeighted Class Size | 28 | - |
Instance Variables | 4 | fScheduler (org.junit.runners.model.RunnerScheduler) fSorter (org.junit.runner.manipulation.Sorter) fTestClass (org.junit.runners.model.TestClass) fFilter (org.junit.runner.manipulation.Filter) |
Imported Packages | 27 | java.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 class | 25 | - |
CBO | 23 | - |
Maintainability Index | 129.58 | - |
Cumulative Number of Comment Lines | 106 | - |
Lines Of Code | 120 | - |
Fan In | 4 | - |
DIT | 1 | - |
Maintainability Index (NC) | 129.34 | - |
Specialization ratio | 8.00 | - |
Reuse Ratio | 0.10 | - |
COH | 0.14 | - |
Local Method Calls | 17 | filterChild (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) |
LCOM2 | 230.00 | - |
Max Complexity | 4 | - |
Halstead Cumulative Volume | 3142.97 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 12 | - |
Fan Out | 19 | - |
SuperClass Name | org.junit.runner.Runner | - |
SIX | 0.04 | - |
External Method Calls | 1 | org.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 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 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 java.lang.Runnable.Runnable (1) org.junit.runners.RunnerScheduler.schedule (1) |
Superclasses | 1 | org.junit.runner.Runner |
Total Complexity | 37 | - |
Subclasses | 8 | org.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 Coupling | 1 | - |
Number of Commands | 12 | - |
Interfaces | 1 | Filterable,Sortable |
Cumulative Number of Comments | 33 | - |
Halstead Cumulative Length | 713 | - |
Modifiers | 0 | - |
Methods in Class : org.junit.runners.ParentRunner | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | ParentRunner | 1 | 4 | 3 | 21 | 17 | 490.50 | 0.03 | 3 | 1 | 1 | 4 | 1 | 1 | 1 | 5.71 | 0 | 0 | 0 | 0 | 0 | 85.84 | 8 | 2 | 13 | 0 | 3 | 0 |
![]() | childrenInvoker | 1 | 5 | 2 | 25 | 17 | 574.80 | 0.03 | 2 | 1 | 0 | 8 | 1 | 1 | 1 | 5.62 | 0 | 0 | 0 | 0 | 0 | 102.19 | 10 | 0 | 15 | 0 | 1 | 0 |
![]() | classBlock | 1 | 17 | 5 | 30 | 15 | 769.17 | 0.04 | 2 | 0 | 3 | 6 | 1 | 1 | 1 | 6.56 | 1 | 0 | 0 | 0 | 0 | 117.21 | 15 | 6 | 15 | 0 | 6 | 0 |
![]() | collectInitializationErrors | 1 | 9 | 3 | 26 | 17 | 614.03 | 0.04 | 4 | 0 | 1 | 4 | 4 | 1 | 1 | 5.78 | 0 | 0 | 0 | 0 | 0 | 106.27 | 13 | 2 | 13 | 0 | 0 | 0 |
![]() | comparator | 1 | 0 | 2 | 40 | 21 | 1739.36 | 0.06 | 2 | 1 | 0 | 7 | 0 | 0 | 1 | 9.90 | 0 | 0 | 0 | 0 | 0 | 175.69 | 18 | 0 | 22 | 0 | 1 | 0 |
![]() | describeChild | 1 | 4 | 1 | 8 | 8 | 48.00 | 0.01 | 2 | 0 | 0 | 1 | 1 | 1 | 2 | 2.00 | 0 | 0 | 0 | 0 | 0 | 24.00 | 4 | 0 | 4 | 0 | 0 | 0 |
![]() | filter | 3 | 3 | 7 | 32 | 21 | 1218.14 | 0.05 | 3 | 1 | 2 | 7 | 3 | 1 | 1 | 8.67 | 0 | 1 | 0 | 0 | 0 | 140.55 | 13 | 3 | 19 | 0 | 4 | 1 |
![]() | filterChild | 2 | 0 | 2 | 20 | 16 | 400.00 | 0.03 | 2 | 1 | 0 | 4 | 0 | 1 | 1 | 5.00 | 0 | 1 | 0 | 0 | 0 | 80.00 | 10 | 3 | 10 | 0 | 2 | 0 |
![]() | getChildren | 1 | 6 | 1 | 9 | 9 | 85.59 | 0.01 | 2 | 0 | 0 | 1 | 4 | 0 | 2 | 3.00 | 0 | 0 | 0 | 0 | 0 | 28.53 | 3 | 0 | 6 | 0 | 0 | 0 |
![]() | getDescription | 2 | 3 | 7 | 39 | 23 | 1221.36 | 0.06 | 2 | 3 | 3 | 7 | 3 | 0 | 2 | 6.92 | 1 | 0 | 0 | 0 | 0 | 176.42 | 18 | 4 | 21 | 0 | 7 | 1 |
![]() | getFilteredChildren | 4 | 1 | 11 | 65 | 31 | 4075.60 | 0.11 | 5 | 3 | 5 | 13 | 1 | 0 | 1 | 12.66 | 1 | 0 | 1 | 0 | 2 | 322.02 | 27 | 7 | 38 | 1 | 9 | 1 |
![]() | getName | 1 | 3 | 2 | 11 | 9 | 139.48 | 0.01 | 1 | 1 | 0 | 3 | 1 | 0 | 1 | 4.00 | 0 | 0 | 0 | 0 | 0 | 34.87 | 4 | 1 | 7 | 0 | 1 | 0 |
![]() | getTestClass | 1 | 6 | 2 | 9 | 9 | 85.59 | 0.01 | 1 | 0 | 0 | 3 | 4 | 0 | 2 | 3.00 | 0 | 0 | 0 | 0 | 0 | 28.53 | 3 | 1 | 6 | 0 | 0 | 0 |
![]() | run | 4 | 0 | 8 | 63 | 30 | 2885.25 | 0.10 | 6 | 4 | 2 | 14 | 0 | 1 | 2 | 9.33 | 2 | 0 | 3 | 0 | 4 | 309.13 | 28 | 7 | 35 | 1 | 8 | 0 |
![]() | runChild | 1 | 6 | 1 | 10 | 10 | 66.44 | 0.01 | 2 | 0 | 0 | 1 | 1 | 2 | 2 | 2.00 | 0 | 0 | 0 | 0 | 0 | 33.22 | 6 | 0 | 4 | 0 | 0 | 0 |
![]() | runChildren | 2 | 0 | 6 | 44 | 25 | 1294.09 | 0.07 | 3 | 3 | 1 | 9 | 0 | 1 | 1 | 6.33 | 0 | 0 | 0 | 0 | 0 | 204.33 | 19 | 2 | 25 | 0 | 4 | 1 |
![]() | setScheduler | 1 | 4 | 2 | 13 | 12 | 163.12 | 0.02 | 1 | 0 | 0 | 3 | 1 | 1 | 1 | 3.50 | 0 | 0 | 0 | 0 | 0 | 46.60 | 7 | 2 | 6 | 0 | 1 | 0 |
![]() | shouldRun | 1 | 0 | 2 | 20 | 15 | 446.50 | 0.03 | 1 | 1 | 1 | 3 | 0 | 1 | 1 | 5.71 | 0 | 0 | 0 | 0 | 0 | 78.14 | 10 | 3 | 10 | 0 | 4 | 0 |
![]() | sort | 1 | 0 | 2 | 11 | 10 | 109.62 | 0.01 | 1 | 0 | 0 | 3 | 0 | 1 | 1 | 3.00 | 0 | 0 | 0 | 0 | 0 | 36.54 | 6 | 2 | 5 | 0 | 1 | 0 |
![]() | sortChild | 1 | 0 | 2 | 13 | 11 | 131.17 | 0.01 | 1 | 1 | 0 | 3 | 0 | 1 | 1 | 2.92 | 0 | 0 | 0 | 0 | 0 | 44.97 | 7 | 2 | 6 | 0 | 1 | 0 |
![]() | validate | 2 | 3 | 4 | 37 | 22 | 1668.32 | 0.05 | 4 | 3 | 1 | 6 | 3 | 0 | 1 | 10.11 | 1 | 1 | 0 | 0 | 0 | 165.00 | 14 | 3 | 23 | 0 | 6 | 0 |
![]() | validatePublicVoidNoArgMethods | 2 | 10 | 6 | 45 | 28 | 1865.85 | 0.07 | 6 | 2 | 1 | 6 | 1 | 3 | 1 | 8.62 | 1 | 0 | 0 | 0 | 0 | 216.33 | 23 | 5 | 22 | 0 | 4 | 1 |
![]() | withAfterClasses | 1 | 7 | 3 | 36 | 25 | 1539.44 | 0.06 | 5 | 2 | 0 | 6 | 1 | 1 | 1 | 9.21 | 1 | 0 | 0 | 0 | 0 | 167.18 | 17 | 5 | 19 | 0 | 5 | 0 |
![]() | withBeforeClasses | 1 | 5 | 3 | 36 | 25 | 1539.44 | 0.06 | 5 | 2 | 0 | 6 | 1 | 1 | 1 | 9.21 | 1 | 0 | 0 | 0 | 0 | 167.18 | 17 | 5 | 19 | 0 | 5 | 0 |
Analysis of Method : ParentRunner(Class) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | ParentRunner | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 3 | - |
Halstead Length | 21 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 490.50 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 3 | org.junit.runners.model.TestClass (1) java.lang.Class (1) ? (1) |
External Methods Called | 1 | org.junit.runners.model.TestClass.TestClass (1) |
Local Methods Called | 1 | validate (1) |
Lines Of Code | 4 | - |
Number of Comments | 1 | - |
Arguments | 1 | testClass (java.lang.Class) |
Modifiers | 1 | protected |
Halstead Difficulty | 5.71 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 85.84 | - |
Number of Operands | 8 | - |
Variable References | 2 | fTestClass (1) testClass (1) |
Number of Operators | 13 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 3 | - |
Number of Loops | 0 | - |
Analysis of Method : childrenInvoker(RunNotifier) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | childrenInvoker | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 5 | - |
Number of Statements | 2 | - |
Halstead Length | 25 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 574.80 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | org.junit.runner.notification.RunNotifier (1) org.junit.runners.model.Statement (2) |
External Methods Called | 1 | org.junit.runners.model.Statement.Statement (1) |
Local Methods Called | 0 | |
Lines Of Code | 8 | - |
Number of Comments | 1 | - |
Arguments | 1 | notifier (org.junit.runner.notification.RunNotifier) |
Modifiers | 1 | protected |
Halstead Difficulty | 5.62 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 102.19 | - |
Number of Operands | 10 | - |
Variable References | 0 | |
Number of Operators | 15 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : classBlock(RunNotifier) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | classBlock | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 17 | - |
Number of Statements | 5 | - |
Halstead Length | 30 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 769.17 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 2 | org.junit.runner.notification.RunNotifier (1) org.junit.runners.model.Statement (2) |
External Methods Called | 0 | |
Local Methods Called | 3 | withAfterClasses (1) withBeforeClasses (1) childrenInvoker (1) |
Lines Of Code | 6 | - |
Number of Comments | 1 | - |
Arguments | 1 | notifier (org.junit.runner.notification.RunNotifier) |
Modifiers | 1 | protected |
Halstead Difficulty | 6.56 | - |
Variable Declarations | 1 | statement (org.junit.runners.model.Statement) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 117.21 | - |
Number of Operands | 15 | - |
Variable References | 6 | statement (5) notifier (1) |
Number of Operators | 15 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 6 | - |
Number of Loops | 0 | - |
Analysis of Method : collectInitializationErrors(List) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | collectInitializationErrors | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 9 | - |
Number of Statements | 3 | - |
Halstead Length | 26 | - |
Halstead Vocabulary | 17 | - |
Halstead Effort | 614.03 | - |
Halstead Bugs | 0.04 | - |
Classes Referenced | 4 | java.util.List (1) AfterClass.class (1) BeforeClass.class (1) java.lang.Throwable (2) |
External Methods Called | 0 | |
Local Methods Called | 1 | validatePublicVoidNoArgMethods (2) |
Lines Of Code | 4 | - |
Number of Comments | 4 | - |
Arguments | 1 | errors (java.util.List) |
Modifiers | 1 | protected |
Halstead Difficulty | 5.78 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 106.27 | - |
Number of Operands | 13 | - |
Variable References | 2 | errors (2) |
Number of Operators | 13 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : comparator() in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | comparator | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 40 | - |
Halstead Vocabulary | 21 | - |
Halstead Effort | 1739.36 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 2 | ?superT (1) java.util.Comparator (2) |
External Methods Called | 1 | java.util.Comparator.Comparator (1) |
Local Methods Called | 0 | |
Lines Of Code | 7 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 1 | private |
Halstead Difficulty | 9.90 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 175.69 | - |
Number of Operands | 18 | - |
Variable References | 0 | |
Number of Operators | 22 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : describeChild(T) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | describeChild | - |
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 | 2 | org.junit.runner.Description (1) T (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 1 | - |
Arguments | 1 | child (T) |
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 : filter(Filter) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | filter | - |
Cyclomatic Complexity | 3 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 7 | - |
Halstead Length | 32 | - |
Halstead Vocabulary | 21 | - |
Halstead Effort | 1218.14 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 3 | org.junit.runner.manipulation.Filter (1) org.junit.runner.manipulation.NoTestsRemainException (2) T (1) |
External Methods Called | 1 | org.junit.runner.manipulation.NoTestsRemainException.NoTestsRemainException (1) |
Local Methods Called | 2 | shouldRun (1) getChildren (1) |
Lines Of Code | 7 | - |
Number of Comments | 3 | - |
Arguments | 1 | filter (org.junit.runner.manipulation.Filter) |
Modifiers | 1 | public |
Halstead Difficulty | 8.67 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | org.junit.runner.manipulation.NoTestsRemainException (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 140.55 | - |
Number of Operands | 13 | - |
Variable References | 3 | filter (1) fFilter (1) each (1) |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 1 | - |
Analysis of Method : filterChild(T) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | filterChild | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 20 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 400.00 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 2 | org.junit.runner.manipulation.NoTestsRemainException (1) T (1) |
External Methods Called | 1 | org.junit.runner.manipulation.Filter.apply (1) |
Local Methods Called | 0 | |
Lines Of Code | 4 | - |
Number of Comments | 0 | - |
Arguments | 1 | child (T) |
Modifiers | 1 | private |
Halstead Difficulty | 5.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | org.junit.runner.manipulation.NoTestsRemainException (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 80.00 | - |
Number of Operands | 10 | - |
Variable References | 3 | fFilter (2) child (1) |
Number of Operators | 10 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 2 | - |
Number of Loops | 0 | - |
Analysis of Method : getChildren() in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | getChildren | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 6 | - |
Number of Statements | 1 | - |
Halstead Length | 9 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 85.59 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 2 | java.util.List (1) T (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 4 | - |
Arguments | 0 | - |
Modifiers | 2 | protected abstract |
Halstead Difficulty | 3.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 28.53 | - |
Number of Operands | 3 | - |
Variable References | 0 | |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : getDescription() in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | getDescription | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 7 | - |
Halstead Length | 39 | - |
Halstead Vocabulary | 23 | - |
Halstead Effort | 1221.36 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 2 | org.junit.runner.Description (3) T (1) |
External Methods Called | 3 | org.junit.runner.Description.createSuiteDescription (1) org.junit.runners.model.TestClass.getAnnotations (1) org.junit.runner.Description.addChild (1) |
Local Methods Called | 3 | describeChild (1) getFilteredChildren (1) getName (1) |
Lines Of Code | 7 | - |
Number of Comments | 3 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 6.92 | - |
Variable Declarations | 1 | description (org.junit.runner.Description) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 176.42 | - |
Number of Operands | 18 | - |
Variable References | 4 | fTestClass (1) description (2) child (1) |
Number of Operators | 21 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 7 | - |
Number of Loops | 1 | - |
Analysis of Method : getFilteredChildren() in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | getFilteredChildren | - |
Cyclomatic Complexity | 4 | - |
Number of Comment Lines | 1 | - |
Number of Statements | 11 | - |
Halstead Length | 65 | - |
Halstead Vocabulary | 31 | - |
Halstead Effort | 4075.60 | - |
Halstead Bugs | 0.11 | - |
Classes Referenced | 5 | java.util.List (1) java.util.ArrayList (2) java.util.Collections (1) org.junit.runner.manipulation.NoTestsRemainException (1) T (4) |
External Methods Called | 3 | java.util.ArrayList.ArrayList (1) ArrayList java.util.Collections.sort (1) |
Local Methods Called | 5 | comparator (1) filterChild (1) sortChild (1) shouldRun (1) getChildren (1) |
Lines Of Code | 13 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | private |
Halstead Difficulty | 12.66 | - |
Variable Declarations | 1 | filtered (ArrayList<T>) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 1 | org.junit.runner.manipulation.NoTestsRemainException (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 2 | - |
Halstead Volume | 322.02 | - |
Number of Operands | 27 | - |
Variable References | 7 | filtered (3) each (4) |
Number of Operators | 38 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 9 | - |
Number of Loops | 1 | - |
Analysis of Method : getName() in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | getName | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 139.48 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | java.lang.String (1) |
External Methods Called | 1 | org.junit.runners.model.TestClass.getName (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 0 | - |
Modifiers | 1 | protected |
Halstead Difficulty | 4.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 34.87 | - |
Number of Operands | 4 | - |
Variable References | 1 | fTestClass (1) |
Number of Operators | 7 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : getTestClass() in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | getTestClass | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 6 | - |
Number of Statements | 2 | - |
Halstead Length | 9 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 85.59 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runners.model.TestClass (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 4 | - |
Arguments | 0 | - |
Modifiers | 2 | public final |
Halstead Difficulty | 3.00 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 28.53 | - |
Number of Operands | 3 | - |
Variable References | 1 | fTestClass (1) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : run(RunNotifier) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | run | - |
Cyclomatic Complexity | 4 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 8 | - |
Halstead Length | 63 | - |
Halstead Vocabulary | 30 | - |
Halstead Effort | 2885.25 | - |
Halstead Bugs | 0.10 | - |
Classes Referenced | 6 | org.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 Called | 4 | org.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 Called | 2 | getDescription (1) classBlock (1) |
Lines Of Code | 14 | - |
Number of Comments | 0 | - |
Arguments | 1 | notifier (org.junit.runner.notification.RunNotifier) |
Modifiers | 2 | @Override public |
Halstead Difficulty | 9.33 | - |
Variable Declarations | 2 | testNotifier (org.junit.internal.runners.model.EachTestNotifier) statement (org.junit.runners.Statement) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 3 | org.junit.internal.AssumptionViolatedException (1) org.junit.runner.notification.StoppedByUserException (1) java.lang.Throwable (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 4 | - |
Halstead Volume | 309.13 | - |
Number of Operands | 28 | - |
Variable References | 7 | testNotifier (2) statement (1) notifier (2) e (2) |
Number of Operators | 35 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 8 | - |
Number of Loops | 0 | - |
Analysis of Method : runChild(T, RunNotifier) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | runChild | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 6 | - |
Number of Statements | 1 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 10 | - |
Halstead Effort | 66.44 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 2 | org.junit.runner.notification.RunNotifier (1) T (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 1 | - |
Arguments | 2 | child (T) notifier (org.junit.runner.notification.RunNotifier) |
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 | 33.22 | - |
Number of Operands | 6 | - |
Variable References | 0 | |
Number of Operators | 4 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : runChildren(RunNotifier) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | runChildren | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 6 | - |
Halstead Length | 44 | - |
Halstead Vocabulary | 25 | - |
Halstead Effort | 1294.09 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 3 | org.junit.runner.notification.RunNotifier (1) T (1) java.lang.Runnable (1) |
External Methods Called | 3 | org.junit.runners.RunnerScheduler.schedule (1) org.junit.runners.RunnerScheduler.finished (1) java.lang.Runnable.Runnable (1) |
Local Methods Called | 1 | getFilteredChildren (1) |
Lines Of Code | 9 | - |
Number of Comments | 0 | - |
Arguments | 1 | notifier (org.junit.runner.notification.RunNotifier) |
Modifiers | 1 | private |
Halstead Difficulty | 6.33 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 204.33 | - |
Number of Operands | 19 | - |
Variable References | 2 | fScheduler (2) |
Number of Operators | 25 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 1 | - |
Analysis of Method : setScheduler(RunnerScheduler) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | setScheduler | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 4 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 12 | - |
Halstead Effort | 163.12 | - |
Halstead Bugs | 0.02 | - |
Classes Referenced | 1 | org.junit.runners.RunnerScheduler (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 1 | - |
Arguments | 1 | scheduler (org.junit.runners.RunnerScheduler) |
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 | 46.60 | - |
Number of Operands | 7 | - |
Variable References | 2 | fScheduler (1) scheduler (1) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : shouldRun(T) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | shouldRun | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 20 | - |
Halstead Vocabulary | 15 | - |
Halstead Effort | 446.50 | - |
Halstead Bugs | 0.03 | - |
Classes Referenced | 1 | T (1) |
External Methods Called | 1 | org.junit.runner.manipulation.Filter.shouldRun (1) |
Local Methods Called | 1 | describeChild (1) |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | each (T) |
Modifiers | 1 | private |
Halstead Difficulty | 5.71 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 78.14 | - |
Number of Operands | 10 | - |
Variable References | 3 | fFilter (2) each (1) |
Number of Operators | 10 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 0 | - |
Analysis of Method : sort(Sorter) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | sort | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 11 | - |
Halstead Vocabulary | 10 | - |
Halstead Effort | 109.62 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runner.manipulation.Sorter (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | sorter (org.junit.runner.manipulation.Sorter) |
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 | fSorter (1) sorter (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : sortChild(T) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | sortChild | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 13 | - |
Halstead Vocabulary | 11 | - |
Halstead Effort | 131.17 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | T (1) |
External Methods Called | 1 | org.junit.runner.manipulation.Sorter.apply (1) |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | child (T) |
Modifiers | 1 | private |
Halstead Difficulty | 2.92 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 44.97 | - |
Number of Operands | 7 | - |
Variable References | 2 | fSorter (1) child (1) |
Number of Operators | 6 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : validate() in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | validate | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 3 | - |
Number of Statements | 4 | - |
Halstead Length | 37 | - |
Halstead Vocabulary | 22 | - |
Halstead Effort | 1668.32 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 4 | java.util.List (1) java.util.ArrayList (1) org.junit.runners.model.InitializationError (2) java.lang.Throwable (2) |
External Methods Called | 3 | org.junit.runners.model.InitializationError.InitializationError (1) List java.util.ArrayList.ArrayList (1) |
Local Methods Called | 1 | collectInitializationErrors (1) |
Lines Of Code | 6 | - |
Number of Comments | 3 | - |
Arguments | 0 | - |
Modifiers | 1 | private |
Halstead Difficulty | 10.11 | - |
Variable Declarations | 1 | errors (List<Throwable>) |
Exceptions Thrown | 1 | org.junit.runners.model.InitializationError (1) |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 165.00 | - |
Number of Operands | 14 | - |
Variable References | 3 | errors (3) |
Number of Operators | 23 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 6 | - |
Number of Loops | 0 | - |
Analysis of Method : validatePublicVoidNoArgMethods(Class, boolean, List) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | validatePublicVoidNoArgMethods | - |
Cyclomatic Complexity | 2 | - |
Number of Comment Lines | 10 | - |
Number of Statements | 6 | - |
Halstead Length | 45 | - |
Halstead Vocabulary | 28 | - |
Halstead Effort | 1865.85 | - |
Halstead Bugs | 0.07 | - |
Classes Referenced | 6 | java.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 Called | 2 | errors().getAnnotatedMethods (1) eachTestMethod.validatePublicVoidNoArg (1) |
Local Methods Called | 1 | getTestClass (1) |
Lines Of Code | 6 | - |
Number of Comments | 1 | - |
Arguments | 3 | annotation (java.lang.Class) isStatic (boolean) errors (java.util.List) |
Modifiers | 1 | protected |
Halstead Difficulty | 8.62 | - |
Variable Declarations | 1 | methods (List<FrameworkMethod>) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 216.33 | - |
Number of Operands | 23 | - |
Variable References | 5 | annotation (1) isStatic (1) eachTestMethod (1) methods (1) errors (1) |
Number of Operators | 22 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 4 | - |
Number of Loops | 1 | - |
Analysis of Method : withAfterClasses(Statement) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | withAfterClasses | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 7 | - |
Number of Statements | 3 | - |
Halstead Length | 36 | - |
Halstead Vocabulary | 25 | - |
Halstead Effort | 1539.44 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 5 | java.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 Called | 2 | List org.junit.internal.runners.statements.RunAfters.RunAfters (1) |
Local Methods Called | 0 | |
Lines Of Code | 6 | - |
Number of Comments | 1 | - |
Arguments | 1 | statement (org.junit.runners.model.Statement) |
Modifiers | 1 | protected |
Halstead Difficulty | 9.21 | - |
Variable Declarations | 1 | afters (List<FrameworkMethod>) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 167.18 | - |
Number of Operands | 17 | - |
Variable References | 5 | fTestClass (1) statement (2) afters (2) |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 0 | - |
Analysis of Method : withBeforeClasses(Statement) in Class : org.junit.runners.ParentRunner | ||
---|---|---|
Feature | Number | Values |
Name | withBeforeClasses | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 5 | - |
Number of Statements | 3 | - |
Halstead Length | 36 | - |
Halstead Vocabulary | 25 | - |
Halstead Effort | 1539.44 | - |
Halstead Bugs | 0.06 | - |
Classes Referenced | 5 | java.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 Called | 2 | org.junit.internal.runners.statements.RunBefores.RunBefores (1) List |
Local Methods Called | 0 | |
Lines Of Code | 6 | - |
Number of Comments | 1 | - |
Arguments | 1 | statement (org.junit.runners.model.Statement) |
Modifiers | 1 | protected |
Halstead Difficulty | 9.21 | - |
Variable Declarations | 1 | befores (List<FrameworkMethod>) |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 167.18 | - |
Number of Operands | 17 | - |
Variable References | 5 | fTestClass (1) statement (2) befores (2) |
Number of Operators | 19 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 5 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |