| java.lang.Object org.acm.seguin.metrics.GatherData
GatherData | public class GatherData implements SummaryVisitor(Code) | | Gathers metrics data
author: Chris Seguin |
Method Summary | |
public static void | main(String[] args) | public Object | visit(Object data) | public Object | visit(Summary node, Object data) Visit a summary node. | public Object | visit(PackageSummary node, Object data) Visit a package summary. | public Object | visit(FileSummary node, Object data) Visit a file summary. | public Object | visit(ImportSummary node, Object data) Visit a import summary. | public Object | visit(TypeSummary node, Object data) Visit a type summary. | public Object | visit(MethodSummary node, Object data) Visit a method summary. | public Object | visit(FieldSummary node, Object data) Visit a field summary. | public Object | visit(ParameterSummary node, Object data) Visit a parameter summary. | public Object | visit(LocalVariableSummary node, Object data) Visit a local variable summary. | public Object | visit(VariableSummary node, Object data) Visit a variable summary. | public Object | visit(TypeDeclSummary node, Object data) Visit a type declaration summary. | public Object | visit(MessageSendSummary node, Object data) Visit a message send summary. | public Object | visit(FieldAccessSummary node, Object data) Visit a field access summary. |
GatherData | public GatherData(MetricsReport init)(Code) | | Constructor for the StatementReportVisitor object
Parameters: init - Description of Parameter |
main | public static void main(String[] args)(Code) | | Main program
Parameters: args - the command line arguments |
visit | public Object visit(Object data)(Code) | | Visit everything in all packages
Parameters: data - a data value Description of the Returned Value |
visit | public Object visit(Summary node, Object data)(Code) | | Visit a summary node. This is the default method.
Parameters: node - the summary that we are visiting Parameters: data - the data that was passed in the result |
visit | public Object visit(PackageSummary node, Object data)(Code) | | Visit a package summary.
Parameters: node - the summary that we are visiting Parameters: data - the data that was passed in the result |
visit | public Object visit(FileSummary node, Object data)(Code) | | Visit a file summary.
Parameters: node - the summary that we are visiting Parameters: data - the data that was passed in the result |
visit | public Object visit(ImportSummary node, Object data)(Code) | | Visit a import summary.
Parameters: node - the summary that we are visiting Parameters: data - the data that was passed in the result |
visit | public Object visit(TypeSummary node, Object data)(Code) | | Visit a type summary.
Parameters: node - the summary that we are visiting Parameters: data - the data that was passed in the result |
visit | public Object visit(MethodSummary node, Object data)(Code) | | Visit a method summary.
Parameters: node - the summary that we are visiting Parameters: data - the data that was passed in the result |
visit | public Object visit(FieldSummary node, Object data)(Code) | | Visit a field summary.
Parameters: node - the summary that we are visiting Parameters: data - the data that was passed in the result |
visit | public Object visit(ParameterSummary node, Object data)(Code) | | Visit a parameter summary.
Parameters: node - the summary that we are visiting Parameters: data - the data that was passed in the result |
visit | public Object visit(LocalVariableSummary node, Object data)(Code) | | Visit a local variable summary.
Parameters: node - the summary that we are visiting Parameters: data - the data that was passed in the result |
visit | public Object visit(VariableSummary node, Object data)(Code) | | Visit a variable summary.
Parameters: node - the summary that we are visiting Parameters: data - the data that was passed in the result |
visit | public Object visit(TypeDeclSummary node, Object data)(Code) | | Visit a type declaration summary.
Parameters: node - the summary that we are visiting Parameters: data - the data that was passed in the result |
visit | public Object visit(MessageSendSummary node, Object data)(Code) | | Visit a message send summary.
Parameters: node - the summary that we are visiting Parameters: data - the data that was passed in the result |
visit | public Object visit(FieldAccessSummary node, Object data)(Code) | | Visit a field access summary.
Parameters: node - the summary that we are visiting Parameters: data - the data that was passed in the result |
|
|