![]() | Analysis of Class : org.junit.rules.ExpectedException$ExpectedExceptionStatement (Includes summary list of methods in class) | Home |
Dashboard for Class : org.junit.rules.ExpectedException$ExpectedExceptionStatement |
---|
![]() |
Cyclomatic Complexity |
Summary of ExpectedException$ExpectedExceptionStatement | ||
---|---|---|
Feature | Number | Values |
Name | ExpectedException$ExpectedExceptionStatement | - |
Number of Methods | 2 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 2.50 | - |
Number of Statements | 11 | - |
Halstead Cumulative Bugs | 0.11 | - |
Halstead Effort | 3528.01 | - |
UnWeighted Class Size | 3 | - |
Instance Variables | 1 | fNext (org.junit.runners.model.Statement) |
Imported Packages | 10 | org.hamcrest.CoreMatchers.instanceOf org.hamcrest.Description org.hamcrest.Matcher org.hamcrest.StringDescription org.junit.Assert org.junit.internal.matchers.TypeSafeMatcher org.junit.matchers.JUnitMatchers.both org.junit.matchers.JUnitMatchers.containsString org.junit.runners.model.FrameworkMethod org.junit.runners.model.Statement |
Response For class | 2 | - |
CBO | 2 | - |
Maintainability Index | 119.15 | - |
Cumulative Number of Comment Lines | 0 | - |
Lines Of Code | 20 | - |
Fan In | 0 | - |
DIT | 1 | - |
Maintainability Index (NC) | 119.15 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.50 | - |
COH | 1.00 | - |
Local Method Calls | 0 | |
LCOM2 | 0.00 | - |
Max Complexity | 4 | - |
Halstead Cumulative Volume | 319.67 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 0 | - |
Fan Out | 2 | - |
SuperClass Name | org.junit.runners.model.Statement | - |
SIX | 0.33 | - |
External Method Calls | 0 | org.hamcrest.StringDescription.toString (1) java.lang.AssertionError.AssertionError (1) org.junit.runners.model.Statement.evaluate (1) org.junit.Assert.assertThat (1) |
Superclasses | 1 | org.junit.runners.model.Statement |
Total Complexity | 5 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 2 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 0 | - |
Halstead Cumulative Length | 72 | - |
Modifiers | 1 | private |
Methods in Class : org.junit.rules.ExpectedException$ExpectedExceptionStatement | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | ExpectedExceptionStatement | 1 | 0 | 2 | 10 | 9 | 99.06 | 0.01 | 1 | 0 | 0 | 3 | 0 | 1 | 3 | 3.12 | 0 | 0 | 0 | 0 | 0 | 31.70 | 5 | 2 | 5 | 0 | 1 | 0 |
![]() | evaluate | 4 | 0 | 7 | 55 | 30 | 3392.76 | 0.09 | 4 | 4 | 0 | 13 | 0 | 0 | 2 | 12.57 | 0 | 1 | 1 | 0 | 2 | 269.88 | 22 | 7 | 33 | 1 | 7 | 0 |
Analysis of Method : ExpectedExceptionStatement(Statement) in Class : org.junit.rules.ExpectedException$ExpectedExceptionStatement | ||
---|---|---|
Feature | Number | Values |
Name | ExpectedExceptionStatement | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 2 | - |
Halstead Length | 10 | - |
Halstead Vocabulary | 9 | - |
Halstead Effort | 99.06 | - |
Halstead Bugs | 0.01 | - |
Classes Referenced | 1 | org.junit.runners.model.Statement (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 3 | - |
Number of Comments | 0 | - |
Arguments | 1 | base (org.junit.runners.model.Statement) |
Modifiers | 3 | private final public |
Halstead Difficulty | 3.12 | - |
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 | 5 | - |
Variable References | 2 | base (1) fNext (1) |
Number of Operators | 5 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 1 | - |
Number of Loops | 0 | - |
Analysis of Method : evaluate() in Class : org.junit.rules.ExpectedException$ExpectedExceptionStatement | ||
---|---|---|
Feature | Number | Values |
Name | evaluate | - |
Cyclomatic Complexity | 4 | - |
Number of Comment Lines | 0 | - |
Number of Statements | 7 | - |
Halstead Length | 55 | - |
Halstead Vocabulary | 30 | - |
Halstead Effort | 3392.76 | - |
Halstead Bugs | 0.09 | - |
Classes Referenced | 4 | java.lang.AssertionError (1) java.lang.Throwable (2) org.junit.Assert (1) org.hamcrest.StringDescription (1) |
External Methods Called | 4 | org.hamcrest.StringDescription.toString (1) java.lang.AssertionError.AssertionError (1) org.junit.runners.model.Statement.evaluate (1) org.junit.Assert.assertThat (1) |
Local Methods Called | 0 | |
Lines Of Code | 13 | - |
Number of Comments | 0 | - |
Arguments | 0 | - |
Modifiers | 2 | @Override public |
Halstead Difficulty | 12.57 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 1 | java.lang.Throwable (1) |
Exceptions Referenced | 1 | java.lang.Throwable (1) |
Number of casts | 0 | - |
Total Depth of Nesting | 2 | - |
Halstead Volume | 269.88 | - |
Number of Operands | 22 | - |
Variable References | 7 | e (2) fNext (1) fMatcher (4) |
Number of Operators | 33 | - |
Max. depth of nesting | 1 | - |
Number of Expressions | 7 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |