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

Dashboard for Class : junit.framework.TestSuite
Cyclomatic Complexity

Summary of TestSuite
FeatureNumberValues
NameTestSuite-
Number of Methods24-
LCOM0.30-
Average Cyclomatic Complexity1.83-
Number of Statements106-
Halstead Cumulative Bugs1.37-
Halstead Effort56644.42-
UnWeighted Class Size26-
Instance Variables2fName (java.lang.String)
fTests (java.util.Vector)
Imported Packages10java.io.PrintWriter
java.io.StringWriter
java.lang.reflect.Constructor
java.lang.reflect.InvocationTargetException
java.lang.reflect.Method
java.lang.reflect.Modifier
java.util.ArrayList
java.util.Enumeration
java.util.List
java.util.Vector
Response For class25-
CBO9-
Maintainability Index122.08-
Cumulative Number of Comment Lines102-
Lines Of Code147-
Fan In6-
DIT1-
Maintainability Index (NC)121.84-
Specialization ratio1.00-
Reuse Ratio0.00-
COH0.21-
Local Method Calls11isPublicTestMethod (1)
getName (2)
runTest (1)
getTestConstructor (2)
createTest (1)
isTestMethod (2)
exceptionToString (3)
setName (3)
addTest (7)
warning (8)
addTestMethod (1)
LCOM2126.00-
Max Complexity7-
Halstead Cumulative Volume4115.95-
Hierarchy Method Calls2this (2)
super.toString (1)
Number of Queries12-
Fan Out3-
SuperClass Namejava.lang.Object-
SIX0.00-
External Method Calls1test().setName (1)
junit.framework.TestCase.TestCase (1)
junit.framework.TestResult.shouldStop (1)
getReturnType().equals (1)
Class.getDeclaredMethods (1)
java.io.PrintWriter.PrintWriter (1)
Constructor.newInstance (2)
java.lang.Class.getCanonicalName (1)
java.lang.reflect.Method.getName (3)
java.lang.reflect.Method.getReturnType (1)
junit.framework.TestSuite.TestSuite (2)
junit.framework.Test.run (1)
java.util.List.add (1)
java.util.Vector.get (1)
java.lang.reflect.Modifier.isPublic (2)
Class.getSuperclass (1)
java.lang.Class.getName (5)
java.lang.reflect.Method.getModifiers (1)
java.util.ArrayList.ArrayList (1)
java.lang.Class.getModifiers (1)
java.util.Vector.elements (1)
java.util.Vector.add (1)
java.io.StringWriter.StringWriter (1)
java.lang.String.startsWith (1)
java.util.Vector.Vector (1)
java.util.Vector.size (2)
each.countTestCases (1)
java.lang.Throwable.printStackTrace (1)
each.asSubclass (1)
java.lang.Class.Class (1)
java.io.StringWriter.toString (1)
java.util.List.contains (1)
Constructor.getParameterTypes (1)
java.lang.reflect.Method.getParameterTypes (1)
e.getTargetException (1)
java.lang.Class.getConstructor (2)
java.lang.Object.Object (2)
Superclasses0 -
Total Complexity44-
Subclasses1junit.extensions.ActiveTestSuite
Message Passing Coupling1-
Number of Commands12-
Interfaces1junit.framework.Test
Cumulative Number of Comments24-
Halstead Cumulative Length858-
Modifiers0 -
Summary of methods in junit.framework.TestSuite
Methods in Class : junit.framework.TestSuite
NameCOMPNOCLNOSHLTHHVOCHEFFHBUGCREFXMETLMETNLOCNOCNOAMODHDIFVDECEXCTEXCRCASTTDNHVOLNANDVREFNOPRMDNNEXPLOOP
TestSuite1314412.000.0000022031.50000008.00103000
TestSuite66181445616611.150.2811742221119.8620104836.265716871292
TestSuite1432217505.820.0340241215.620000089.9210212020
TestSuite1432217505.820.0340241215.620000089.9210212020
TestSuite24532201412.650.05421411110.2100000138.3011221031
TestSuite13210875.000.0110131112.500000030.00515010
addTest1321311131.170.0111031112.920000044.97726010
addTestMethod40883374869.030.146451203111.2610001432.383711461160
addTestSuite1321916390.860.0341131115.140000076.008111020
countTestCases2372617910.920.0411061018.5710000106.2712414031
createTest74151745422940.030.3311632512222.91204281001.3572201022400
exceptionToString13535191070.480.0544061127.2020000148.6816419060
getName1528860.000.0110031012.500000024.00315000
getTestConstructor25446272974.660.07620721213.6001102218.7216230130
isPublicTestMethod1022115358.950.0322130114.380000082.0410211040
isTestMethod1023722801.420.0525060114.8600000165.0017520090
run3372718675.530.0421171116.0000001112.5912415111
runTest1021512172.850.0221030213.210000053.77926010
setName1421110109.620.0110031113.000000036.54625010
testAt1321412175.660.0211031113.500000050.19727010
testCount1321110109.620.0101031013.000000036.54417010
tests1321413207.220.0221031014.000000051.81519010
toString2232315539.150.0310251026.000000089.868015040
warning1322720641.810.0431081125.5000000116.6911016010


Analysis of Method : TestSuite() in Class : junit.framework.TestSuite
FeatureNumberValues
NameTestSuite-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements1-
Halstead Length4-
Halstead Vocabulary4-
Halstead Effort12.00-
Halstead Bugs0.00-
Classes Referenced0
External Methods Called0
Local Methods Called0
Lines Of Code2-
Number of Comments2-
Arguments0 -
Modifiers3private
private
public
Halstead Difficulty1.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume8.00-
Number of Operands1-
Variable References0
Number of Operators3-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : TestSuite(Class) in Class : junit.framework.TestSuite
FeatureNumberValues
NameTestSuite-
Cyclomatic Complexity6-
Number of Comment Lines6-
Number of Statements18-
Halstead Length144-
Halstead Vocabulary56-
Halstead Effort16611.15-
Halstead Bugs0.28-
Classes Referenced11junit.framework.TestCase (1)
java.lang.String (2)
java.lang.Class (2)
java.lang.NoSuchMethodException (1)
Test.class (1)
java.lang.reflect.Method (1)
java.lang.reflect.Modifier (1)
java.util.List (1)
? (1)
?extendsTestCase (1)
java.util.ArrayList (1)
External Methods Called7java.lang.Class.getName (4)
Class.getSuperclass (1)
java.lang.Class.getModifiers (1)
java.util.ArrayList.ArrayList (1)
java.util.Vector.size (1)
java.lang.reflect.Modifier.isPublic (1)
Class.getDeclaredMethods (1)
Local Methods Called4addTest (3)
getTestConstructor (1)
warning (3)
addTestMethod (1)
Lines Of Code22-
Number of Comments2-
Arguments1theClass (java.lang.Class)
Modifiers1public
Halstead Difficulty19.86-
Variable Declarations2superClass (Class<?>)
names (List<String>)
Exceptions Thrown0
Exceptions Referenced1java.lang.NoSuchMethodException (1)
Number of casts0-
Total Depth of Nesting4-
Halstead Volume836.26-
Number of Operands57-
Variable References16superClass (4)
each (1)
fName (1)
names (1)
fTests (1)
theClass (8)
Number of Operators87-
Max. depth of nesting1-
Number of Expressions29-
Number of Loops2-

Top of this page

Analysis of Method : TestSuite(Class, String) in Class : junit.framework.TestSuite
FeatureNumberValues
NameTestSuite-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements3-
Halstead Length22-
Halstead Vocabulary17-
Halstead Effort505.82-
Halstead Bugs0.03-
Classes Referenced4java.lang.String (1)
?extendsTestCase (1)
java.lang.Class (1)
junit.framework.TestCase (1)
External Methods Called0
Local Methods Called2this (1)
setName (1)
Lines Of Code4-
Number of Comments1-
Arguments2classes (java.lang.Class)
name (java.lang.String)
Modifiers1public
Halstead Difficulty5.62-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume89.92-
Number of Operands10-
Variable References2name (1)
classes (1)
Number of Operators12-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : TestSuite(Class, String) in Class : junit.framework.TestSuite
FeatureNumberValues
NameTestSuite-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements3-
Halstead Length22-
Halstead Vocabulary17-
Halstead Effort505.82-
Halstead Bugs0.03-
Classes Referenced4java.lang.String (1)
?extendsTestCase (1)
java.lang.Class (1)
junit.framework.TestCase (1)
External Methods Called0
Local Methods Called2this (1)
setName (1)
Lines Of Code4-
Number of Comments1-
Arguments2classes (java.lang.Class)
name (java.lang.String)
Modifiers1public
Halstead Difficulty5.62-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume89.92-
Number of Operands10-
Variable References2name (1)
classes (1)
Number of Operators12-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : TestSuite(Class...) in Class : junit.framework.TestSuite
FeatureNumberValues
NameTestSuite-
Cyclomatic Complexity2-
Number of Comment Lines4-
Number of Statements5-
Halstead Length32-
Halstead Vocabulary20-
Halstead Effort1412.65-
Halstead Bugs0.05-
Classes Referenced4TestCase.class (1)
junit.framework.TestSuite (1)
java.lang.Class (2)
? (2)
External Methods Called2junit.framework.TestSuite.TestSuite (1)
each.asSubclass (1)
Local Methods Called1addTest (1)
Lines Of Code4-
Number of Comments1-
Arguments1classes (java.lang.Class...)
Modifiers1public
Halstead Difficulty10.21-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume138.30-
Number of Operands11-
Variable References2classes (1)
each (1)
Number of Operators21-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops1-

Top of this page

Analysis of Method : TestSuite(String) in Class : junit.framework.TestSuite
FeatureNumberValues
NameTestSuite-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length10-
Halstead Vocabulary8-
Halstead Effort75.00-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called1setName (1)
Lines Of Code3-
Number of Comments1-
Arguments1name (java.lang.String)
Modifiers1public
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume30.00-
Number of Operands5-
Variable References1name (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : addTest(Test) in Class : junit.framework.TestSuite
FeatureNumberValues
NameaddTest-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length13-
Halstead Vocabulary11-
Halstead Effort131.17-
Halstead Bugs0.01-
Classes Referenced1junit.framework.Test (1)
External Methods Called1java.util.Vector.add (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1test (junit.framework.Test)
Modifiers1public
Halstead Difficulty2.92-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume44.97-
Number of Operands7-
Variable References2test (1)
fTests (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : addTestMethod(Method, List, Class) in Class : junit.framework.TestSuite
FeatureNumberValues
NameaddTestMethod-
Cyclomatic Complexity4-
Number of Comment Lines0-
Number of Statements8-
Halstead Length83-
Halstead Vocabulary37-
Halstead Effort4869.03-
Halstead Bugs0.14-
Classes Referenced6java.util.List (1)
java.lang.String (3)
?extendsTestCase (1)
java.lang.Class (1)
junit.framework.TestCase (1)
java.lang.reflect.Method (1)
External Methods Called4java.lang.Class.getCanonicalName (1)
java.util.List.contains (1)
java.lang.reflect.Method.getName (2)
java.util.List.add (1)
Local Methods Called5createTest (1)
addTest (2)
warning (1)
isTestMethod (1)
isPublicTestMethod (1)
Lines Of Code12-
Number of Comments0-
Arguments3m (java.lang.reflect.Method)
names (java.util.List)
theClass (java.lang.Class)
Modifiers1private
Halstead Difficulty11.26-
Variable Declarations1name (java.lang.String)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting1-
Halstead Volume432.38-
Number of Operands37-
Variable References11m (4)
name (3)
names (2)
theClass (2)
Number of Operators46-
Max. depth of nesting1-
Number of Expressions16-
Number of Loops0-

Top of this page

Analysis of Method : addTestSuite(Class) in Class : junit.framework.TestSuite
FeatureNumberValues
NameaddTestSuite-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length19-
Halstead Vocabulary16-
Halstead Effort390.86-
Halstead Bugs0.03-
Classes Referenced4junit.framework.TestSuite (1)
?extendsTestCase (1)
java.lang.Class (1)
junit.framework.TestCase (1)
External Methods Called1junit.framework.TestSuite.TestSuite (1)
Local Methods Called1addTest (1)
Lines Of Code3-
Number of Comments1-
Arguments1testClass (java.lang.Class)
Modifiers1public
Halstead Difficulty5.14-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume76.00-
Number of Operands8-
Variable References1testClass (1)
Number of Operators11-
Max. depth of nesting0-
Number of Expressions2-
Number of Loops0-

Top of this page

Analysis of Method : countTestCases() in Class : junit.framework.TestSuite
FeatureNumberValues
NamecountTestCases-
Cyclomatic Complexity2-
Number of Comment Lines3-
Number of Statements7-
Halstead Length26-
Halstead Vocabulary17-
Halstead Effort910.92-
Halstead Bugs0.04-
Classes Referenced1junit.framework.Test (1)
External Methods Called1each.countTestCases (1)
Local Methods Called0
Lines Of Code6-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty8.57-
Variable Declarations1count (int)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume106.27-
Number of Operands12-
Variable References4count (2)
each (1)
fTests (1)
Number of Operators14-
Max. depth of nesting0-
Number of Expressions3-
Number of Loops1-

Top of this page

Analysis of Method : createTest(Class, String) in Class : junit.framework.TestSuite
FeatureNumberValues
NamecreateTest-
Cyclomatic Complexity7-
Number of Comment Lines4-
Number of Statements15-
Halstead Length174-
Halstead Vocabulary54-
Halstead Effort22940.03-
Halstead Bugs0.33-
Classes Referenced11java.lang.reflect.Constructor (1)
junit.framework.TestCase (5)
junit.framework.Test (3)
java.lang.String (1)
java.lang.Class (1)
java.lang.NoSuchMethodException (1)
java.lang.reflect.InvocationTargetException (1)
java.lang.InstantiationException (1)
java.lang.IllegalAccessException (1)
java.lang.Object (3)
?extendsTestCase (2)
External Methods Called6java.lang.Class.getName (1)
Constructor.newInstance (2)
Constructor.getParameterTypes (1)
java.lang.Object.Object (2)
e.getTargetException (1)
test().setName (1)
Local Methods Called3exceptionToString (3)
getTestConstructor (1)
warning (4)
Lines Of Code25-
Number of Comments1-
Arguments2theClass (java.lang.Class)
name (java.lang.String)
Modifiers2static
public
Halstead Difficulty22.91-
Variable Declarations2constructor (Constructor<?extendsTestCase>)
test (java.lang.Object)
Exceptions Thrown0
Exceptions Referenced4java.lang.InstantiationException (1)
java.lang.NoSuchMethodException (1)
java.lang.reflect.InvocationTargetException (1)
java.lang.IllegalAccessException (1)
Number of casts2-
Total Depth of Nesting8-
Halstead Volume1001.35-
Number of Operands72-
Variable References20name (5)
constructor (4)
length (1)
e (3)
test (5)
theClass (2)
Number of Operators102-
Max. depth of nesting2-
Number of Expressions40-
Number of Loops0-

Top of this page

Analysis of Method : exceptionToString(Throwable) in Class : junit.framework.TestSuite
FeatureNumberValues
NameexceptionToString-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements5-
Halstead Length35-
Halstead Vocabulary19-
Halstead Effort1070.48-
Halstead Bugs0.05-
Classes Referenced4java.io.StringWriter (2)
java.io.PrintWriter (2)
java.lang.String (1)
java.lang.Throwable (1)
External Methods Called4java.lang.Throwable.printStackTrace (1)
java.io.PrintWriter.PrintWriter (1)
java.io.StringWriter.StringWriter (1)
java.io.StringWriter.toString (1)
Local Methods Called0
Lines Of Code6-
Number of Comments1-
Arguments1t (java.lang.Throwable)
Modifiers2private
static
Halstead Difficulty7.20-
Variable Declarations2stringWriter (java.io.StringWriter)
writer (java.io.PrintWriter)
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume148.68-
Number of Operands16-
Variable References4t (1)
stringWriter (2)
writer (1)
Number of Operators19-
Max. depth of nesting0-
Number of Expressions6-
Number of Loops0-

Top of this page

Analysis of Method : getName() in Class : junit.framework.TestSuite
FeatureNumberValues
NamegetName-
Cyclomatic Complexity1-
Number of Comment Lines5-
Number of Statements2-
Halstead Length8-
Halstead Vocabulary8-
Halstead Effort60.00-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty2.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume24.00-
Number of Operands3-
Variable References1fName (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions0-
Number of Loops0-

Top of this page

Analysis of Method : getTestConstructor(Class) in Class : junit.framework.TestSuite
FeatureNumberValues
NamegetTestConstructor-
Cyclomatic Complexity2-
Number of Comment Lines5-
Number of Statements4-
Halstead Length46-
Halstead Vocabulary27-
Halstead Effort2974.66-
Halstead Bugs0.07-
Classes Referenced6java.lang.NoSuchMethodException (2)
?extendsTestCase (2)
String.class (1)
java.lang.Class (2)
junit.framework.TestCase (1)
java.lang.reflect.Constructor (1)
External Methods Called2java.lang.Class.Class (1)
java.lang.Class.getConstructor (2)
Local Methods Called0
Lines Of Code7-
Number of Comments2-
Arguments1theClass (java.lang.Class)
Modifiers2public
static
Halstead Difficulty13.60-
Variable Declarations0
Exceptions Thrown1java.lang.NoSuchMethodException (1)
Exceptions Referenced1java.lang.NoSuchMethodException (1)
Number of casts0-
Total Depth of Nesting2-
Halstead Volume218.72-
Number of Operands16-
Variable References2theClass (2)
Number of Operators30-
Max. depth of nesting1-
Number of Expressions3-
Number of Loops0-

Top of this page

Analysis of Method : isPublicTestMethod(Method) in Class : junit.framework.TestSuite
FeatureNumberValues
NameisPublicTestMethod-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length21-
Halstead Vocabulary15-
Halstead Effort358.95-
Halstead Bugs0.03-
Classes Referenced2java.lang.reflect.Modifier (1)
java.lang.reflect.Method (1)
External Methods Called2java.lang.reflect.Modifier.isPublic (1)
java.lang.reflect.Method.getModifiers (1)
Local Methods Called1isTestMethod (1)
Lines Of Code3-
Number of Comments0-
Arguments1m (java.lang.reflect.Method)
Modifiers1private
Halstead Difficulty4.38-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume82.04-
Number of Operands10-
Variable References2m (2)
Number of Operators11-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : isTestMethod(Method) in Class : junit.framework.TestSuite
FeatureNumberValues
NameisTestMethod-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length37-
Halstead Vocabulary22-
Halstead Effort801.42-
Halstead Bugs0.05-
Classes Referenced2java.lang.Void (1)
java.lang.reflect.Method (1)
External Methods Called5java.lang.reflect.Method.getName (1)
java.lang.String.startsWith (1)
getReturnType().equals (1)
java.lang.reflect.Method.getParameterTypes (1)
java.lang.reflect.Method.getReturnType (1)
Local Methods Called0
Lines Of Code6-
Number of Comments0-
Arguments1m (java.lang.reflect.Method)
Modifiers1private
Halstead Difficulty4.86-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume165.00-
Number of Operands17-
Variable References5m (3)
length (1)
TYPE (1)
Number of Operators20-
Max. depth of nesting0-
Number of Expressions9-
Number of Loops0-

Top of this page

Analysis of Method : run(TestResult) in Class : junit.framework.TestSuite
FeatureNumberValues
Namerun-
Cyclomatic Complexity3-
Number of Comment Lines3-
Number of Statements7-
Halstead Length27-
Halstead Vocabulary18-
Halstead Effort675.53-
Halstead Bugs0.04-
Classes Referenced2junit.framework.Test (1)
junit.framework.TestResult (1)
External Methods Called1junit.framework.TestResult.shouldStop (1)
Local Methods Called1runTest (1)
Lines Of Code7-
Number of Comments1-
Arguments1result (junit.framework.TestResult)
Modifiers1public
Halstead Difficulty6.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting1-
Halstead Volume112.59-
Number of Operands12-
Variable References4result (2)
each (1)
fTests (1)
Number of Operators15-
Max. depth of nesting1-
Number of Expressions1-
Number of Loops1-

Top of this page

Analysis of Method : runTest(Test, TestResult) in Class : junit.framework.TestSuite
FeatureNumberValues
NamerunTest-
Cyclomatic Complexity1-
Number of Comment Lines0-
Number of Statements2-
Halstead Length15-
Halstead Vocabulary12-
Halstead Effort172.85-
Halstead Bugs0.02-
Classes Referenced2junit.framework.Test (1)
junit.framework.TestResult (1)
External Methods Called1junit.framework.Test.run (1)
Local Methods Called0
Lines Of Code3-
Number of Comments0-
Arguments2test (junit.framework.Test)
result (junit.framework.TestResult)
Modifiers1public
Halstead Difficulty3.21-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume53.77-
Number of Operands9-
Variable References2result (1)
test (1)
Number of Operators6-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : setName(String) in Class : junit.framework.TestSuite
FeatureNumberValues
NamesetName-
Cyclomatic Complexity1-
Number of Comment Lines4-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary10-
Halstead Effort109.62-
Halstead Bugs0.01-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1name (java.lang.String)
Modifiers1public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume36.54-
Number of Operands6-
Variable References2name (1)
fName (1)
Number of Operators5-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : testAt(int) in Class : junit.framework.TestSuite
FeatureNumberValues
NametestAt-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary12-
Halstead Effort175.66-
Halstead Bugs0.02-
Classes Referenced1junit.framework.Test (1)
External Methods Called1java.util.Vector.get (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments1index (int)
Modifiers1public
Halstead Difficulty3.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume50.19-
Number of Operands7-
Variable References2index (1)
fTests (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : testCount() in Class : junit.framework.TestSuite
FeatureNumberValues
NametestCount-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length11-
Halstead Vocabulary10-
Halstead Effort109.62-
Halstead Bugs0.01-
Classes Referenced0
External Methods Called1java.util.Vector.size (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty3.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume36.54-
Number of Operands4-
Variable References1fTests (1)
Number of Operators7-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : tests() in Class : junit.framework.TestSuite
FeatureNumberValues
Nametests-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length14-
Halstead Vocabulary13-
Halstead Effort207.22-
Halstead Bugs0.02-
Classes Referenced2java.util.Enumeration (1)
junit.framework.Test (1)
External Methods Called1java.util.Vector.elements (1)
Local Methods Called0
Lines Of Code3-
Number of Comments1-
Arguments0 -
Modifiers1public
Halstead Difficulty4.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume51.81-
Number of Operands5-
Variable References1fTests (1)
Number of Operators9-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

Analysis of Method : toString() in Class : junit.framework.TestSuite
FeatureNumberValues
NametoString-
Cyclomatic Complexity2-
Number of Comment Lines2-
Number of Statements3-
Halstead Length23-
Halstead Vocabulary15-
Halstead Effort539.15-
Halstead Bugs0.03-
Classes Referenced1java.lang.String (1)
External Methods Called0
Local Methods Called2super.toString (1)
getName (2)
Lines Of Code5-
Number of Comments1-
Arguments0 -
Modifiers2@Override
public
Halstead Difficulty6.00-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume89.86-
Number of Operands8-
Variable References0
Number of Operators15-
Max. depth of nesting0-
Number of Expressions4-
Number of Loops0-

Top of this page

Analysis of Method : warning(String) in Class : junit.framework.TestSuite
FeatureNumberValues
Namewarning-
Cyclomatic Complexity1-
Number of Comment Lines3-
Number of Statements2-
Halstead Length27-
Halstead Vocabulary20-
Halstead Effort641.81-
Halstead Bugs0.04-
Classes Referenced3java.lang.String (1)
junit.framework.Test (1)
junit.framework.TestCase (1)
External Methods Called1junit.framework.TestCase.TestCase (1)
Local Methods Called0
Lines Of Code8-
Number of Comments1-
Arguments1message (java.lang.String)
Modifiers2public
static
Halstead Difficulty5.50-
Variable Declarations0
Exceptions Thrown0
Exceptions Referenced0
Number of casts0-
Total Depth of Nesting0-
Halstead Volume116.69-
Number of Operands11-
Variable References0
Number of Operators16-
Max. depth of nesting0-
Number of Expressions1-
Number of Loops0-

Top of this page

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