| java.lang.Object org.acm.seguin.metrics.MetricsReport
All known Subclasses: org.acm.seguin.metrics.CommaDelimitedReport, org.acm.seguin.metrics.TextReport,
MetricsReport | abstract public class MetricsReport (Code) | | Gathers metrics data
author: Chris Seguin |
Method Summary | |
public void | finalReport(ProjectMetrics projectData) | public void | methodReport(MethodMetrics methodData) Method report shows all the metrics associated with a particular method. | abstract protected void | reportAbstractClasses(ProjectMetrics projectData) | abstract protected void | reportAverageClassMethods(ProjectMetrics projectData) | abstract protected void | reportAverageClassVariables(ProjectMetrics projectData) | abstract protected void | reportAverageInstanceVariables(ProjectMetrics projectData) | abstract protected void | reportAverageOtherMethods(ProjectMetrics projectData) | abstract protected void | reportAverageParameters(ProjectMetrics projectData) | abstract protected void | reportAveragePublicMethods(ProjectMetrics projectData) | abstract protected void | reportAverageStatements(ProjectMetrics projectData) | abstract protected void | reportBlockDepth(String pack, String type, String name, int count) | abstract protected void | reportClassMethods(String pack, String type, int count) | abstract protected void | reportClassVariables(String pack, String type, int count) | abstract protected void | reportClasses(ProjectMetrics projectData) | abstract protected void | reportInstanceVariables(String pack, String type, int count) | abstract protected void | reportInterfaces(ProjectMetrics projectData) | abstract protected void | reportLinesOfCode(String pack, String type, String name, int count) | abstract protected void | reportOtherMethods(String pack, String type, int count) | abstract protected void | reportParameters(String pack, String type, String name, int count) | abstract protected void | reportPublicMethods(String pack, String type, int count) | abstract protected void | reportStatement(String pack, String type, String name, int count) | public void | typeReport(TypeMetrics typeData) Method report shows all the metrics associated with a particular type. |
finalReport | public void finalReport(ProjectMetrics projectData)(Code) | | Make a final report on totals
Parameters: projectData - Description of Parameter |
methodReport | public void methodReport(MethodMetrics methodData)(Code) | | Method report shows all the metrics associated with a particular method.
Parameters: methodData - the metrics associated with a particular method |
reportAbstractClasses | abstract protected void reportAbstractClasses(ProjectMetrics projectData)(Code) | | Reports on the number of abstract classes
Parameters: projectData - Description of Parameter |
reportAverageClassMethods | abstract protected void reportAverageClassMethods(ProjectMetrics projectData)(Code) | | Reports on the average number of class methods
Parameters: projectData - Description of Parameter |
reportAverageClassVariables | abstract protected void reportAverageClassVariables(ProjectMetrics projectData)(Code) | | Reports on the average number of class variables
Parameters: projectData - Description of Parameter |
reportAverageInstanceVariables | abstract protected void reportAverageInstanceVariables(ProjectMetrics projectData)(Code) | | Reports on the average number of instance variables
Parameters: projectData - Description of Parameter |
reportAverageOtherMethods | abstract protected void reportAverageOtherMethods(ProjectMetrics projectData)(Code) | | Reports on the average number of other methods
Parameters: projectData - Description of Parameter |
reportAverageParameters | abstract protected void reportAverageParameters(ProjectMetrics projectData)(Code) | | Reports on the average number of parameters
Parameters: projectData - Description of Parameter |
reportAveragePublicMethods | abstract protected void reportAveragePublicMethods(ProjectMetrics projectData)(Code) | | Reports on the average number of public methods
Parameters: projectData - Description of Parameter |
reportAverageStatements | abstract protected void reportAverageStatements(ProjectMetrics projectData)(Code) | | Reports on the average number of statements
Parameters: projectData - Description of Parameter |
reportBlockDepth | abstract protected void reportBlockDepth(String pack, String type, String name, int count)(Code) | | Reports on the block depth of code
Parameters: pack - the name of the package Parameters: type - the name of the class or interface Parameters: name - the name of the method Parameters: count - the number of parameters |
reportClassMethods | abstract protected void reportClassMethods(String pack, String type, int count)(Code) | | Reports on the number of class methods
Parameters: pack - the name of the package Parameters: type - the name of the class or interface Parameters: count - the number of class methods |
reportClassVariables | abstract protected void reportClassVariables(String pack, String type, int count)(Code) | | Reports on the number of class variables
Parameters: pack - the name of the package Parameters: type - the name of the class or interface Parameters: count - the number of class variables |
reportClasses | abstract protected void reportClasses(ProjectMetrics projectData)(Code) | | Reports on the number of classes
Parameters: projectData - Description of Parameter |
reportInstanceVariables | abstract protected void reportInstanceVariables(String pack, String type, int count)(Code) | | Reports on the number of instance variables
Parameters: pack - the name of the package Parameters: type - the name of the class or interface Parameters: count - the number of instance variables |
reportInterfaces | abstract protected void reportInterfaces(ProjectMetrics projectData)(Code) | | Reports on the number of interfaces
Parameters: projectData - Description of Parameter |
reportLinesOfCode | abstract protected void reportLinesOfCode(String pack, String type, String name, int count)(Code) | | Reports on the number of lines of code
Parameters: pack - the name of the package Parameters: type - the name of the class or interface Parameters: name - the name of the method Parameters: count - the number of parameters |
reportOtherMethods | abstract protected void reportOtherMethods(String pack, String type, int count)(Code) | | Reports on the number of other methods
Parameters: pack - the name of the package Parameters: type - the name of the class or interface Parameters: count - the number of other methods |
reportParameters | abstract protected void reportParameters(String pack, String type, String name, int count)(Code) | | Reports on the number of parameters
Parameters: pack - the name of the package Parameters: type - the name of the class or interface Parameters: name - the name of the method Parameters: count - the number of parameters |
reportPublicMethods | abstract protected void reportPublicMethods(String pack, String type, int count)(Code) | | Reports on the number of public methods
Parameters: pack - the name of the package Parameters: type - the name of the class or interface Parameters: count - the number of public methods |
reportStatement | abstract protected void reportStatement(String pack, String type, String name, int count)(Code) | | Reports on the number of statements
Parameters: pack - the name of the package Parameters: type - the name of the class or interface Parameters: name - the name of the method Parameters: count - the number of statements |
typeReport | public void typeReport(TypeMetrics typeData)(Code) | | Method report shows all the metrics associated with a particular type.
Parameters: typeData - the metrics for a particular type |
|
|