Analysis of Class : junit.framework.JUnit4TestAdapterCache$RunListener (Includes summary list of methods in class) Home

Dashboard for Class : junit.framework.JUnit4TestAdapterCache$RunListener
Cyclomatic Complexity

Summary of JUnit4TestAdapterCache$RunListener
FeatureNumberValues
NameJUnit4TestAdapterCache$RunListener-
Number of Methods3-
LCOM0.00-
Average Cyclomatic Complexity1.00-
Number of Statements7-
Halstead Cumulative Bugs0.09-
Halstead Effort1039.57-
UnWeighted Class Size3-
Instance Variables0 -
Imported Packages8java.util.ArrayList
java.util.Arrays
java.util.HashMap
java.util.List
org.junit.runner.Description
org.junit.runner.notification.Failure
org.junit.runner.notification.RunListener
org.junit.runner.notification.RunNotifier
Response For class3-
CBO2-
Maintainability Index139.77-
Cumulative Number of Comment Lines0-
Lines Of Code16-
Fan In0-
DIT1-
Maintainability Index (NC)139.77-
Specialization ratio0.00-
Reuse Ratio0.00-
COH0.00-
Local Method Calls0
LCOM23.00-
Max Complexity1-
Halstead Cumulative Volume260.42-
Hierarchy Method Calls1asTest (3)
Number of Queries0-
Fan Out2-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls0result.startTest (1)
result.addError (1)
result.endTest (1)
org.junit.runner.notification.Failure.getDescription (1)
org.junit.runner.notification.Failure.getException (1)
Superclasses0 -
Total Complexity3-
Subclasses0 -
Message Passing Coupling0-
Number of Commands3-
Interfaces0 -
Cumulative Number of Comments0-
Halstead Cumulative Length64-
Modifiers2@Override
public
Summary of methods in junit.framework.JUnit4TestAdapterCache$RunListener
Methods in Class : junit.framework.JUnit4TestAdapterCache$RunListener
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
testFailure1022618448.460.0423130124.1401000108.4213313040
testFinished1021916295.560.0321140123.890100076.001029020
testStarted1021916295.560.0321140123.890100076.001029020


Analysis of Method : testFailure(Failure) in Class : junit.framework.JUnit4TestAdapterCache$RunListener
FeatureNumberValues
NametestFailure-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length26-
Halstead Vocabulary18-
Halstead Effort448.46-
Halstead Bugs0.04-
Classes Referenced2org.junit.runner.notification.Failure (1)
java.lang.Exception (1)
External Methods Called3result.addError (1)
org.junit.runner.notification.Failure.getDescription (1)
org.junit.runner.notification.Failure.getException (1)
Local Methods Called1asTest (1)
Lines Of Code3-
Number of Comments0-
Arguments1failure (org.junit.runner.notification.Failure)
Modifiers2@Override
public
Halstead Difficulty4.14-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume108.42-
Number of Operands13-
Variable References3result (1)
failure (2)
Number of Operators13-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : testFinished(Description) in Class : junit.framework.JUnit4TestAdapterCache$RunListener
FeatureNumberValues
NametestFinished-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length19-
Halstead Vocabulary16-
Halstead Effort295.56-
Halstead Bugs0.03-
Classes Referenced2org.junit.runner.Description (1)
java.lang.Exception (1)
External Methods Called1result.endTest (1)
Local Methods Called1asTest (1)
Lines Of Code4-
Number of Comments0-
Arguments1description (org.junit.runner.Description)
Modifiers2@Override
public
Halstead Difficulty3.89-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume76.00-
Number of Operands10-
Variable References2result (1)
description (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : testStarted(Description) in Class : junit.framework.JUnit4TestAdapterCache$RunListener
FeatureNumberValues
NametestStarted-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length19-
Halstead Vocabulary16-
Halstead Effort295.56-
Halstead Bugs0.03-
Classes Referenced2org.junit.runner.Description (1)
java.lang.Exception (1)
External Methods Called1result.startTest (1)
Local Methods Called1asTest (1)
Lines Of Code4-
Number of Comments0-
Arguments1description (org.junit.runner.Description)
Modifiers2@Override
public
Halstead Difficulty3.89-
Variable Declarations0
Exceptions Thrown1java.lang.Exception (1)
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume76.00-
Number of Operands10-
Variable References2result (1)
description (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

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