|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.metrics.MetricsReport
public abstract class MetricsReport
Gathers metrics data
Constructor Summary | |
---|---|
MetricsReport()
|
Method Summary | |
---|---|
void |
finalReport(ProjectMetrics projectData)
Make a final report on totals |
void |
methodReport(MethodMetrics methodData)
Method report shows all the metrics associated with a particular method. |
protected abstract void |
reportAbstractClasses(ProjectMetrics projectData)
Reports on the number of abstract classes |
protected abstract void |
reportAverageClassMethods(ProjectMetrics projectData)
Reports on the average number of class methods |
protected abstract void |
reportAverageClassVariables(ProjectMetrics projectData)
Reports on the average number of class variables |
protected abstract void |
reportAverageInstanceVariables(ProjectMetrics projectData)
Reports on the average number of instance variables |
protected abstract void |
reportAverageOtherMethods(ProjectMetrics projectData)
Reports on the average number of other methods |
protected abstract void |
reportAverageParameters(ProjectMetrics projectData)
Reports on the average number of parameters |
protected abstract void |
reportAveragePublicMethods(ProjectMetrics projectData)
Reports on the average number of public methods |
protected abstract void |
reportAverageStatements(ProjectMetrics projectData)
Reports on the average number of statements |
protected abstract void |
reportBlockDepth(java.lang.String pack,
java.lang.String type,
java.lang.String name,
int count)
Reports on the block depth of code |
protected abstract void |
reportClasses(ProjectMetrics projectData)
Reports on the number of classes |
protected abstract void |
reportClassMethods(java.lang.String pack,
java.lang.String type,
int count)
Reports on the number of class methods |
protected abstract void |
reportClassVariables(java.lang.String pack,
java.lang.String type,
int count)
Reports on the number of class variables |
protected abstract void |
reportInstanceVariables(java.lang.String pack,
java.lang.String type,
int count)
Reports on the number of instance variables |
protected abstract void |
reportInterfaces(ProjectMetrics projectData)
Reports on the number of interfaces |
protected abstract void |
reportLinesOfCode(java.lang.String pack,
java.lang.String type,
java.lang.String name,
int count)
Reports on the number of lines of code |
protected abstract void |
reportOtherMethods(java.lang.String pack,
java.lang.String type,
int count)
Reports on the number of other methods |
protected abstract void |
reportParameters(java.lang.String pack,
java.lang.String type,
java.lang.String name,
int count)
Reports on the number of parameters |
protected abstract void |
reportPublicMethods(java.lang.String pack,
java.lang.String type,
int count)
Reports on the number of public methods |
protected abstract void |
reportStatement(java.lang.String pack,
java.lang.String type,
java.lang.String name,
int count)
Reports on the number of statements |
void |
typeReport(TypeMetrics typeData)
Method report shows all the metrics associated with a particular type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetricsReport()
Method Detail |
---|
public void finalReport(ProjectMetrics projectData)
projectData
- Description of Parameterpublic void typeReport(TypeMetrics typeData)
typeData
- the metrics for a particular typepublic void methodReport(MethodMetrics methodData)
methodData
- the metrics associated with a particular methodprotected abstract void reportStatement(java.lang.String pack, java.lang.String type, java.lang.String name, int count)
pack
- the name of the packagetype
- the name of the class or interfacename
- the name of the methodcount
- the number of statementsprotected abstract void reportParameters(java.lang.String pack, java.lang.String type, java.lang.String name, int count)
pack
- the name of the packagetype
- the name of the class or interfacename
- the name of the methodcount
- the number of parametersprotected abstract void reportLinesOfCode(java.lang.String pack, java.lang.String type, java.lang.String name, int count)
pack
- the name of the packagetype
- the name of the class or interfacename
- the name of the methodcount
- the number of parametersprotected abstract void reportBlockDepth(java.lang.String pack, java.lang.String type, java.lang.String name, int count)
pack
- the name of the packagetype
- the name of the class or interfacename
- the name of the methodcount
- the number of parametersprotected abstract void reportAverageStatements(ProjectMetrics projectData)
projectData
- Description of Parameterprotected abstract void reportAverageParameters(ProjectMetrics projectData)
projectData
- Description of Parameterprotected abstract void reportPublicMethods(java.lang.String pack, java.lang.String type, int count)
pack
- the name of the packagetype
- the name of the class or interfacecount
- the number of public methodsprotected abstract void reportOtherMethods(java.lang.String pack, java.lang.String type, int count)
pack
- the name of the packagetype
- the name of the class or interfacecount
- the number of other methodsprotected abstract void reportClassMethods(java.lang.String pack, java.lang.String type, int count)
pack
- the name of the packagetype
- the name of the class or interfacecount
- the number of class methodsprotected abstract void reportInstanceVariables(java.lang.String pack, java.lang.String type, int count)
pack
- the name of the packagetype
- the name of the class or interfacecount
- the number of instance variablesprotected abstract void reportClassVariables(java.lang.String pack, java.lang.String type, int count)
pack
- the name of the packagetype
- the name of the class or interfacecount
- the number of class variablesprotected abstract void reportAbstractClasses(ProjectMetrics projectData)
projectData
- Description of Parameterprotected abstract void reportInterfaces(ProjectMetrics projectData)
projectData
- Description of Parameterprotected abstract void reportClasses(ProjectMetrics projectData)
projectData
- Description of Parameterprotected abstract void reportAveragePublicMethods(ProjectMetrics projectData)
projectData
- Description of Parameterprotected abstract void reportAverageOtherMethods(ProjectMetrics projectData)
projectData
- Description of Parameterprotected abstract void reportAverageClassMethods(ProjectMetrics projectData)
projectData
- Description of Parameterprotected abstract void reportAverageInstanceVariables(ProjectMetrics projectData)
projectData
- Description of Parameterprotected abstract void reportAverageClassVariables(ProjectMetrics projectData)
projectData
- Description of Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |