Analysis of Class : org.junit.internal.matchers.SubstringMatcher (Includes summary list of methods in class) Home

Dashboard for Class : org.junit.internal.matchers.SubstringMatcher
Cyclomatic Complexity

Summary of SubstringMatcher
FeatureNumberValues
NameSubstringMatcher-
Number of Methods5-
LCOM1.00-
Average Cyclomatic Complexity1.00-
Number of Statements10-
Halstead Cumulative Bugs0.09-
Halstead Effort919.98-
UnWeighted Class Size6-
Instance Variables1substring (java.lang.String)
Imported Packages1org.hamcrest.Description
Response For class5-
CBO2-
Maintainability Index141.94-
Cumulative Number of Comment Lines0-
Lines Of Code18-
Fan In1-
DIT2-
Maintainability Index (NC)141.94-
Specialization ratio0.50-
Reuse Ratio0.50-
COH0.20-
Local Method Calls2relationship (1)
evalSubstringOf (1)
LCOM28.00-
Max Complexity1-
Halstead Cumulative Volume267.95-
Hierarchy Method Calls0
Number of Queries3-
Fan Out1-
SuperClass Nameorg.junit.internal.matchers.TypeSafeMatcher-
SIX0.00-
External Method Calls0org.hamcrest.Description.appendText (1)
Superclasses2org.hamcrest.BaseMatcher
org.junit.internal.matchers.TypeSafeMatcher
Total Complexity5-
Subclasses1org.junit.internal.matchers.StringContains
Message Passing Coupling0-
Number of Commands2-
Interfaces0 -
Cumulative Number of Comments0-
Halstead Cumulative Length77-
Modifiers0 -
Summary of methods in org.junit.internal.matchers.SubstringMatcher
Methods in Class : org.junit.internal.matchers.SubstringMatcher
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
SubstringMatcher1021311236.110.0110030135.250000044.97627010
describeTo1022615330.130.0311160113.2500000101.5813213050
evalSubstringOf1018848.000.0110010122.000000024.00404000
matchesSafely1021412175.660.0210130123.500000050.19717010
relationship1016631.020.0110010022.000000015.51204000


Analysis of Method : SubstringMatcher(String) in Class : org.junit.internal.matchers.SubstringMatcher
FeatureNumberValues
NameSubstringMatcher-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary11-
Halstead Effort236.11-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments1substring (java.lang.String)
Modifiers3protected
final
protected
Halstead Difficulty5.25-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume44.97-
Number of Operands6-
Variable References2substring (2)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : describeTo(Description) in Class : org.junit.internal.matchers.SubstringMatcher
FeatureNumberValues
NamedescribeTo-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length26-
Halstead Vocabulary15-
Halstead Effort330.13-
Halstead Bugs0.03-
Classes Referenced1org.hamcrest.Description (1)
External Methods Called1org.hamcrest.Description.appendText (1)
Local Methods Called1relationship (1)
Lines Of Code6-
Number of Comments0-
Arguments1description (org.hamcrest.Description)
Modifiers1public
Halstead Difficulty3.25-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume101.58-
Number of Operands13-
Variable References2substring (1)
description (1)
Number of Operators13-
Max. depth of nesting0-
Number of Expressions5-
Number of Loops0-

Top of this page

Analysis of Method : evalSubstringOf(String) in Class : org.junit.internal.matchers.SubstringMatcher
FeatureNumberValues
NameevalSubstringOf-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements1-
Halstead Length8-
Halstead Vocabulary8-
Halstead Effort48.00-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called0
Lines Of Code1-
Number of Comments0-
Arguments1string (java.lang.String)
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 : matchesSafely(String) in Class : org.junit.internal.matchers.SubstringMatcher
FeatureNumberValues
NamematchesSafely-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary12-
Halstead Effort175.66-
Halstead Bugs0.02-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called1evalSubstringOf (1)
Lines Of Code3-
Number of Comments0-
Arguments1item (java.lang.String)
Modifiers2@Override
public
Halstead Difficulty3.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume50.19-
Number of Operands7-
Variable References1item (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : relationship() in Class : org.junit.internal.matchers.SubstringMatcher
FeatureNumberValues
Namerelationship-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements1-
Halstead Length6-
Halstead Vocabulary6-
Halstead Effort31.02-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called0
Lines Of Code1-
Number of Comments0-
Arguments0 -
Modifiers2protected
abstract
Halstead Difficulty2.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume15.51-
Number of Operands2-
Variable References0
Number of Operators4-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

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