|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.metrics.MethodMetrics
public class MethodMetrics
Stores the metrics for a particular method
Constructor Summary | |
---|---|
MethodMetrics(java.lang.String initPackage,
java.lang.String initType,
java.lang.String initMethod)
Constructor for the MethodMetrics object |
Method Summary | |
---|---|
int |
getBlockDepth()
|
int |
getLinesOfCode()
|
java.lang.String |
getMethodName()
Return the method name |
java.lang.String |
getPackageName()
Return the package name |
int |
getParameterCount()
Return the parameter count |
int |
getStatementCount()
Return the statement count |
java.lang.String |
getTypeName()
Return the type name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodMetrics(java.lang.String initPackage, java.lang.String initType, java.lang.String initMethod)
initPackage
- The packageinitType
- The typeinitMethod
- The methodMethod Detail |
---|
public java.lang.String getPackageName()
public java.lang.String getTypeName()
public java.lang.String getMethodName()
public int getStatementCount()
public int getParameterCount()
public int getLinesOfCode()
public int getBlockDepth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |