|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.metrics.MetricsReport
org.acm.seguin.metrics.TextReport
public class TextReport
Reports metrics in a text format
Constructor Summary | |
---|---|
TextReport()
Constructor for the TextReport object |
Method Summary | |
---|---|
protected void |
reportAbstractClasses(ProjectMetrics projectData)
Reports on the number of abstract classes |
protected void |
reportAverageClassMethods(ProjectMetrics projectData)
Reports on the average number of class methods |
protected void |
reportAverageClassVariables(ProjectMetrics projectData)
Reports on the average number of class variables |
protected void |
reportAverageInstanceVariables(ProjectMetrics projectData)
Reports on the average number of instance variables |
protected void |
reportAverageOtherMethods(ProjectMetrics projectData)
Reports on the average number of other methods |
protected void |
reportAverageParameters(ProjectMetrics projectData)
Reports on the average number of parameters |
protected void |
reportAveragePublicMethods(ProjectMetrics projectData)
Reports on the average number of public methods |
protected void |
reportAverageStatements(ProjectMetrics projectData)
Reports on the average number of statements |
protected void |
reportBlockDepth(java.lang.String pack,
java.lang.String type,
java.lang.String name,
int count)
Reports on the block depth of code |
protected void |
reportClasses(ProjectMetrics projectData)
Reports on the number of classes |
protected void |
reportClassMethods(java.lang.String pack,
java.lang.String type,
int count)
Reports on the number of class methods |
protected void |
reportClassVariables(java.lang.String pack,
java.lang.String type,
int count)
Reports on the number of class variables |
protected void |
reportInstanceVariables(java.lang.String pack,
java.lang.String type,
int count)
Reports on the number of instance variables |
protected void |
reportInterfaces(ProjectMetrics projectData)
Reports on the number of interfaces |
protected 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 void |
reportOtherMethods(java.lang.String pack,
java.lang.String type,
int count)
Reports on the number of other methods |
protected void |
reportParameters(java.lang.String pack,
java.lang.String type,
java.lang.String name,
int count)
Reports on the number of parameters |
protected void |
reportPublicMethods(java.lang.String pack,
java.lang.String type,
int count)
Reports on the number of public methods |
protected void |
reportStatement(java.lang.String pack,
java.lang.String type,
java.lang.String name,
int count)
Reports on the number of statements |
Methods inherited from class org.acm.seguin.metrics.MetricsReport |
---|
finalReport, methodReport, typeReport |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextReport()
Method Detail |
---|
protected void reportStatement(java.lang.String pack, java.lang.String type, java.lang.String name, int count)
reportStatement
in class MetricsReport
pack
- the name of the packagetype
- the name of the class or interfacename
- the name of the methodcount
- the number of statementsprotected void reportParameters(java.lang.String pack, java.lang.String type, java.lang.String name, int count)
reportParameters
in class MetricsReport
pack
- the name of the packagetype
- the name of the class or interfacename
- the name of the methodcount
- the number of parametersprotected void reportLinesOfCode(java.lang.String pack, java.lang.String type, java.lang.String name, int count)
reportLinesOfCode
in class MetricsReport
pack
- the name of the packagetype
- the name of the class or interfacename
- the name of the methodcount
- the number of lines of codeprotected void reportBlockDepth(java.lang.String pack, java.lang.String type, java.lang.String name, int count)
reportBlockDepth
in class MetricsReport
pack
- the name of the packagetype
- the name of the class or interfacename
- the name of the methodcount
- the number of blocks deepprotected void reportPublicMethods(java.lang.String pack, java.lang.String type, int count)
reportPublicMethods
in class MetricsReport
pack
- the name of the packagetype
- the name of the class or interfacecount
- the number of public methodsprotected void reportOtherMethods(java.lang.String pack, java.lang.String type, int count)
reportOtherMethods
in class MetricsReport
pack
- the name of the packagetype
- the name of the class or interfacecount
- the number of other methodsprotected void reportClassMethods(java.lang.String pack, java.lang.String type, int count)
reportClassMethods
in class MetricsReport
pack
- the name of the packagetype
- the name of the class or interfacecount
- the number of class methodsprotected void reportInstanceVariables(java.lang.String pack, java.lang.String type, int count)
reportInstanceVariables
in class MetricsReport
pack
- the name of the packagetype
- the name of the class or interfacecount
- the number of instance variablesprotected void reportClassVariables(java.lang.String pack, java.lang.String type, int count)
reportClassVariables
in class MetricsReport
pack
- the name of the packagetype
- the name of the class or interfacecount
- the number of class variablesprotected void reportAbstractClasses(ProjectMetrics projectData)
reportAbstractClasses
in class MetricsReport
projectData
- Description of Parameterprotected void reportInterfaces(ProjectMetrics projectData)
reportInterfaces
in class MetricsReport
projectData
- Description of Parameterprotected void reportClasses(ProjectMetrics projectData)
reportClasses
in class MetricsReport
projectData
- Description of Parameterprotected void reportAverageStatements(ProjectMetrics projectData)
reportAverageStatements
in class MetricsReport
projectData
- Description of Parameterprotected void reportAverageParameters(ProjectMetrics projectData)
reportAverageParameters
in class MetricsReport
projectData
- Description of Parameterprotected void reportAveragePublicMethods(ProjectMetrics projectData)
reportAveragePublicMethods
in class MetricsReport
projectData
- Description of Parameterprotected void reportAverageOtherMethods(ProjectMetrics projectData)
reportAverageOtherMethods
in class MetricsReport
projectData
- Description of Parameterprotected void reportAverageClassMethods(ProjectMetrics projectData)
reportAverageClassMethods
in class MetricsReport
projectData
- Description of Parameterprotected void reportAverageInstanceVariables(ProjectMetrics projectData)
reportAverageInstanceVariables
in class MetricsReport
projectData
- Description of Parameterprotected void reportAverageClassVariables(ProjectMetrics projectData)
reportAverageClassVariables
in class MetricsReport
projectData
- Description of Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |