| java.lang.Object org.acm.seguin.metrics.MethodMetrics
MethodMetrics | public class MethodMetrics (Code) | | Stores the metrics for a particular method
author: Chris Seguin |
MethodMetrics | public MethodMetrics(String initPackage, String initType, String initMethod)(Code) | | Constructor for the MethodMetrics object
Parameters: initPackage - The package Parameters: initType - The type Parameters: initMethod - The method |
getBlockDepth | public int getBlockDepth()(Code) | | |
getLinesOfCode | public int getLinesOfCode()(Code) | | |
getMethodName | public String getMethodName()(Code) | | Return the method name
The method name |
getPackageName | public String getPackageName()(Code) | | Return the package name
the package name |
getParameterCount | public int getParameterCount()(Code) | | Return the parameter count
The parameter count |
getStatementCount | public int getStatementCount()(Code) | | Return the statement count
The statement count |
getTypeName | public String getTypeName()(Code) | | Return the type name
The type name |
setBlockDepth | void setBlockDepth(int count)(Code) | | |
setLinesOfCode | void setLinesOfCode(int count)(Code) | | |
setParameterCount | void setParameterCount(int count)(Code) | | Set the parameter count
Parameters: count - The parameter count |
setStatementCount | void setStatementCount(int count)(Code) | | Set the statement count
Parameters: count - The statement count |
|
|