![]() | Analysis of Class : junit.framework.TestListener (Includes summary list of methods in class) | Home |
Dashboard for Class : junit.framework.TestListener |
---|
![]() |
Cyclomatic Complexity |
Summary of TestListener | ||
---|---|---|
Feature | Number | Values |
Name | TestListener | - |
Number of Methods | 4 | - |
LCOM | 0.00 | - |
Average Cyclomatic Complexity | 1.00 | - |
Number of Statements | 5 | - |
Halstead Cumulative Bugs | 0.19 | - |
Halstead Effort | 2673.73 | - |
UnWeighted Class Size | 4 | - |
Instance Variables | 0 | - |
Imported Packages | 0 | - |
Response For class | 4 | - |
CBO | 7 | - |
Maintainability Index | 169.37 | - |
Cumulative Number of Comment Lines | 12 | - |
Lines Of Code | 6 | - |
Fan In | 5 | - |
DIT | 1 | - |
Maintainability Index (NC) | 148.75 | - |
Specialization ratio | 0.00 | - |
Reuse Ratio | 0.00 | - |
COH | 0.00 | - |
Local Method Calls | 0 | |
LCOM2 | 4.00 | - |
Max Complexity | 1 | - |
Halstead Cumulative Volume | 562.00 | - |
Hierarchy Method Calls | 0 | |
Number of Queries | 0 | - |
Fan Out | 2 | - |
SuperClass Name | - | |
SIX | 0.00 | - |
External Method Calls | 0 | - |
Superclasses | 0 | - |
Total Complexity | 4 | - |
Subclasses | 0 | - |
Message Passing Coupling | 0 | - |
Number of Commands | 4 | - |
Interfaces | 0 | - |
Cumulative Number of Comments | 16 | - |
Halstead Cumulative Length | 142 | - |
Modifiers | 0 | - |
Methods in Class : junit.framework.TestListener | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | |
![]() | addError | 1 | 12 | 1 | 35 | 16 | 668.18 | 0.05 | 2 | 0 | 0 | 1 | 4 | 2 | 1 | 4.77 | 0 | 0 | 0 | 0 | 0 | 140.00 | 21 | 0 | 14 | 0 | 0 | 0 |
![]() | addFailure | 1 | 12 | 1 | 35 | 16 | 668.18 | 0.05 | 2 | 0 | 0 | 1 | 4 | 2 | 1 | 4.77 | 0 | 0 | 0 | 0 | 0 | 140.00 | 21 | 0 | 14 | 0 | 0 | 0 |
![]() | endTest | 1 | 12 | 1 | 35 | 16 | 668.18 | 0.05 | 1 | 0 | 0 | 1 | 4 | 1 | 1 | 4.77 | 0 | 0 | 0 | 0 | 0 | 140.00 | 21 | 0 | 14 | 0 | 0 | 0 |
![]() | startTest | 1 | 12 | 1 | 35 | 16 | 668.18 | 0.05 | 1 | 0 | 0 | 1 | 4 | 1 | 1 | 4.77 | 0 | 0 | 0 | 0 | 0 | 140.00 | 21 | 0 | 14 | 0 | 0 | 0 |
Analysis of Method : addError(Test, Throwable) in Class : junit.framework.TestListener | ||
---|---|---|
Feature | Number | Values |
Name | addError | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 12 | - |
Number of Statements | 1 | - |
Halstead Length | 35 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 668.18 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 2 | junit.framework.Test (1) java.lang.Throwable (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 4 | - |
Arguments | 2 | test (junit.framework.Test) t (java.lang.Throwable) |
Modifiers | 1 | public |
Halstead Difficulty | 4.77 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 140.00 | - |
Number of Operands | 21 | - |
Variable References | 0 | |
Number of Operators | 14 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : addFailure(Test, AssertionFailedError) in Class : junit.framework.TestListener | ||
---|---|---|
Feature | Number | Values |
Name | addFailure | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 12 | - |
Number of Statements | 1 | - |
Halstead Length | 35 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 668.18 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 2 | junit.framework.AssertionFailedError (1) junit.framework.Test (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 4 | - |
Arguments | 2 | test (junit.framework.Test) t (junit.framework.AssertionFailedError) |
Modifiers | 1 | public |
Halstead Difficulty | 4.77 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 140.00 | - |
Number of Operands | 21 | - |
Variable References | 0 | |
Number of Operators | 14 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : endTest(Test) in Class : junit.framework.TestListener | ||
---|---|---|
Feature | Number | Values |
Name | endTest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 12 | - |
Number of Statements | 1 | - |
Halstead Length | 35 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 668.18 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 1 | junit.framework.Test (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 4 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 1 | public |
Halstead Difficulty | 4.77 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 140.00 | - |
Number of Operands | 21 | - |
Variable References | 0 | |
Number of Operators | 14 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Analysis of Method : startTest(Test) in Class : junit.framework.TestListener | ||
---|---|---|
Feature | Number | Values |
Name | startTest | - |
Cyclomatic Complexity | 1 | - |
Number of Comment Lines | 12 | - |
Number of Statements | 1 | - |
Halstead Length | 35 | - |
Halstead Vocabulary | 16 | - |
Halstead Effort | 668.18 | - |
Halstead Bugs | 0.05 | - |
Classes Referenced | 1 | junit.framework.Test (1) |
External Methods Called | 0 | |
Local Methods Called | 0 | |
Lines Of Code | 1 | - |
Number of Comments | 4 | - |
Arguments | 1 | test (junit.framework.Test) |
Modifiers | 1 | public |
Halstead Difficulty | 4.77 | - |
Variable Declarations | 0 | |
Exceptions Thrown | 0 | |
Exceptions Referenced | 0 | |
Number of casts | 0 | - |
Total Depth of Nesting | 0 | - |
Halstead Volume | 140.00 | - |
Number of Operands | 21 | - |
Variable References | 0 | |
Number of Operators | 14 | - |
Max. depth of nesting | 0 | - |
Number of Expressions | 0 | - |
Number of Loops | 0 | - |
Top of this page | Data Generated by JHawk - The Java Metrics tool | Home |