A B C D E F G I L M N O P R S T U V W X

A

AbcAstVisitor - Class in org.gmetrics.metric.abc
AST Visitor for calculating the ABC Metric for a class/method.
AbcAstVisitor() - Constructor for class org.gmetrics.metric.abc.AbcAstVisitor
 
AbcMetric - Class in org.gmetrics.metric.abc
Calculate the ABC Metric for a class/method.
AbcMetric() - Constructor for class org.gmetrics.metric.abc.AbcMetric
 
AbcMetricResult - Class in org.gmetrics.metric.abc.result
A MetricResult specifically for the ABC metric
AbcMetricResult(Metric, AbcVector) - Constructor for class org.gmetrics.metric.abc.result.AbcMetricResult
 
AbcVector - Class in org.gmetrics.metric.abc
Represents a single ABC Metric result: a vector of the three A, B, C values.
AbcVector(int, int, int) - Constructor for class org.gmetrics.metric.abc.AbcVector
 
AbstractAstVisitor - Class in org.gmetrics.metric
Abstract superclass for Groovy AST Visitors
AbstractAstVisitor() - Constructor for class org.gmetrics.metric.AbstractAstVisitor
 
AbstractMethodMetric - Class in org.gmetrics.metric
Abstract superclass for method-based metrics.
AbstractMethodMetric() - Constructor for class org.gmetrics.metric.AbstractMethodMetric
 
AbstractMetric - Class in org.gmetrics.metric
Abstract superclass for metrics.
AbstractMetric() - Constructor for class org.gmetrics.metric.AbstractMetric
 
AbstractReportWriter - Class in org.gmetrics.report
Abstract superclass for ReportWriter implementation classes.
AbstractReportWriter() - Constructor for class org.gmetrics.report.AbstractReportWriter
 
AbstractSourceCode - Class in org.gmetrics.source
Abstract superclass for SourceCode implementations
AbstractSourceCode() - Constructor for class org.gmetrics.source.AbstractSourceCode
 
addChild(String, ResultsNode) - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
addChildIfNotEmpty(String, ResultsNode) - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
addClassMetricResult(ClassMetricResult) - Method in class org.gmetrics.resultsnode.ClassResultsNode
 
addConfiguredOption(ReportOption) - Method in class org.gmetrics.ant.Report
 
addConfiguredReport(Report) - Method in class org.gmetrics.ant.GMetricsTask
Ant-defined method (by convention), called with each instance of a nested element within this task.
addFileset(FileSet) - Method in class org.gmetrics.ant.GMetricsTask
Ant-defined method (by convention), called with each instance of a nested element within this task.
addMetric(Metric) - Method in class org.gmetrics.metricset.CompositeMetricSet
Add a single Metric to this MetricSet
addMetricResult(MetricResult) - Method in class org.gmetrics.resultsnode.MethodResultsNode
 
addMetricSet(MetricSet) - Method in class org.gmetrics.metricset.CompositeMetricSet
Add all of the Metrics within the specified MetricSet to this MetricSet
AggregateAbcMetricResult - Class in org.gmetrics.metric.abc.result
An aggregate MetricResult implementation specifically for the ABC Metric.
AggregateAbcMetricResult(Metric, Collection) - Constructor for class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
 
AggregateNumberMetricResult - Class in org.gmetrics.result
A NumberMetricResult that aggregates multiple values
AggregateNumberMetricResult(Metric, Collection) - Constructor for class org.gmetrics.result.AggregateNumberMetricResult
 
AnalysisContext - Class in org.gmetrics.analyzer
Holds information related to the configuration and context for the source code analysis.
AnalysisContext() - Constructor for class org.gmetrics.analyzer.AnalysisContext
 
analyze(MetricSet) - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
Analyze the source with the configured directory tree(s) using the specified metrics and return the results.
analyze(MetricSet) - Method in interface org.gmetrics.analyzer.SourceAnalyzer
Analyze all source code using the specified set of Metrics and return the results.
analyze(MetricSet) - Method in class org.gmetrics.ant.AntFileSetSourceAnalyzer
Analyze all source code using the specified MetricSet and return the results node.
AntFileSetSourceAnalyzer - Class in org.gmetrics.ant
SourceAnalyzer implementation that gets source files from one or more Ant FileSets.
AntFileSetSourceAnalyzer(Project, List) - Constructor for class org.gmetrics.ant.AntFileSetSourceAnalyzer
Construct a new instance on the specified List of Ant FileSets.
applyMetric(Metric) - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
applyToClass(ClassNode, SourceCode) - Method in class org.gmetrics.metric.AbstractMetric
 
applyToClass(ClassNode, SourceCode) - Method in interface org.gmetrics.metric.Metric
 
applyToPackage(Collection) - Method in class org.gmetrics.metric.AbstractMetric
 
applyToPackage(Collection) - Method in interface org.gmetrics.metric.Metric
 
AstUtil - Class in org.gmetrics.util
Contains static utility methods related to Groovy AST.
AstVisitor - Interface in org.gmetrics.metric
Interface for Groovy AST Visitors

B

BASE_MESSAGES_BUNDLE - Static variable in class org.gmetrics.report.AbstractReportWriter
 
BasicHtmlReportWriter - Class in org.gmetrics.report
ReportWriter that generates a basic HTML report.
BasicHtmlReportWriter() - Constructor for class org.gmetrics.report.BasicHtmlReportWriter
 

C

calculate(MethodNode, SourceCode) - Method in class org.gmetrics.metric.abc.AbcMetric
 
calculate(ClosureExpression, SourceCode) - Method in class org.gmetrics.metric.abc.AbcMetric
 
calculate(MethodNode, SourceCode) - Method in class org.gmetrics.metric.AbstractMethodMetric
 
calculate(ClosureExpression, SourceCode) - Method in class org.gmetrics.metric.AbstractMethodMetric
 
calculate(MethodNode, SourceCode) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityMetric
 
calculate(ClosureExpression, SourceCode) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityMetric
 
calculate(MethodNode, SourceCode) - Method in class org.gmetrics.metric.linecount.MethodLineCountMetric
 
calculate(ClosureExpression, SourceCode) - Method in class org.gmetrics.metric.linecount.MethodLineCountMetric
 
calculateForClass(ClassNode, SourceCode) - Method in class org.gmetrics.metric.AbstractMethodMetric
 
calculateForClass(ClassNode, SourceCode) - Method in class org.gmetrics.metric.AbstractMetric
 
calculateForClass(ClassNode, SourceCode) - Method in class org.gmetrics.metric.linecount.ClassLineCountMetric
 
calculateForPackage(Collection) - Method in class org.gmetrics.metric.AbstractMetric
 
CLASS - Static variable in class org.gmetrics.metric.MetricLevel
 
ClassLineCountAstVisitor - Class in org.gmetrics.metric.linecount
 
ClassLineCountAstVisitor() - Constructor for class org.gmetrics.metric.linecount.ClassLineCountAstVisitor
 
ClassLineCountMetric - Class in org.gmetrics.metric.linecount
Metric for counting the lines of code for classes and interfaces.
ClassLineCountMetric() - Constructor for class org.gmetrics.metric.linecount.ClassLineCountMetric
 
ClassMetricResult - Class in org.gmetrics.result
Represents the results for a single metric for a single class
ClassMetricResult(MetricResult, Map) - Constructor for class org.gmetrics.result.ClassMetricResult
 
ClassPathResource - Class in org.gmetrics.util.io
A Resource implementation for resources available on the classpath.
ClassPathResource(String) - Constructor for class org.gmetrics.util.io.ClassPathResource
Construct a new ClassPathResource
ClassResultsNode - Class in org.gmetrics.resultsnode
Represents a node in the hierarchy of metric result nodes
ClassResultsNode() - Constructor for class org.gmetrics.resultsnode.ClassResultsNode
 
CompositeMetricSet - Class in org.gmetrics.metricset
A MetricSet implementation that aggregates a set of MetricSets and Metrics.
CompositeMetricSet() - Constructor for class org.gmetrics.metricset.CompositeMetricSet
 
containsClassResults() - Method in class org.gmetrics.resultsnode.ClassResultsNode
 
containsClassResults() - Method in class org.gmetrics.resultsnode.MethodResultsNode
 
containsClassResults() - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
containsClassResults() - Method in interface org.gmetrics.resultsnode.ResultsNode
 
createAggregateMetricResult(Collection) - Method in class org.gmetrics.metric.abc.AbcMetric
 
createAggregateMetricResult(Collection) - Method in class org.gmetrics.metric.AbstractMetric
 
createAggregateMetricResult(Collection) - Method in class org.gmetrics.metric.linecount.ClassLineCountMetric
 
createGMetricsRunner - Variable in class org.gmetrics.ant.GMetricsTask
 
createSourceUnit() - Method in class org.gmetrics.source.AbstractSourceCode
 
createSourceUnit() - Method in class org.gmetrics.source.SourceFile
 
createSourceUnit() - Method in class org.gmetrics.source.SourceString
 
CUSTOM_MESSAGES_BUNDLE - Static variable in class org.gmetrics.report.AbstractReportWriter
 
customMessagesBundleName - Variable in class org.gmetrics.report.AbstractReportWriter
 
CyclomaticComplexityAstVisitor - Class in org.gmetrics.metric.cyclomatic
AST Visitor for calculating the Cyclomatic Complexity for a method or closure field.
CyclomaticComplexityAstVisitor() - Constructor for class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
CyclomaticComplexityMetric - Class in org.gmetrics.metric.cyclomatic
Metric for counting the (McCabe) Cyclomatic Complexity for methods and closure fields.
CyclomaticComplexityMetric() - Constructor for class org.gmetrics.metric.cyclomatic.CyclomaticComplexityMetric
 

D

DEFAULT_OUTPUT_FILE - Static variable in class org.gmetrics.report.BasicHtmlReportWriter
 
DEFAULT_OUTPUT_FILE - Static variable in class org.gmetrics.report.XmlReportWriter
 
DefaultMetricSet - Class in org.gmetrics.metricset
A MetricSet implementation that returns the default static List of Metrics.
DefaultMetricSet() - Constructor for class org.gmetrics.metricset.DefaultMetricSet
 
DefaultResourceFactory - Class in org.gmetrics.util.io
Default implementation of ResourceFactory.
DefaultResourceFactory() - Constructor for class org.gmetrics.util.io.DefaultResourceFactory
 
description(String) - Method in class org.gmetrics.metricset.TopLevelDelegate
 

E

execute() - Method in class org.gmetrics.ant.GMetricsTask
Execute this Ant Task
execute() - Method in class org.gmetrics.GMetricsRunner
 

F

fileFactory - Variable in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
fileSets - Variable in class org.gmetrics.ant.AntFileSetSourceAnalyzer
 
fileSets - Variable in class org.gmetrics.ant.GMetricsTask
 
FilesystemSourceAnalyzer - Class in org.gmetrics.analyzer
SourceAnalyzer implementation that recursively processes files from the file system.
FilesystemSourceAnalyzer() - Constructor for class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
findOrAddResultsNodeForPath(String) - Method in class org.gmetrics.ant.AntFileSetSourceAnalyzer
 
findResultsNodeForPath(String) - Method in class org.gmetrics.ant.AntFileSetSourceAnalyzer
 

G

getAbcVector() - Method in class org.gmetrics.metric.abc.result.AbcMetricResult
 
getAbcVector() - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
 
getAnnotation(AnnotatedNode, String) - Static method in class org.gmetrics.util.AstUtil
Return the AnnotationNode for the named annotation, or else null.
getApplyToFileNames() - Method in class org.gmetrics.source.SourceCodeCriteria
 
getApplyToFilesMatching() - Method in class org.gmetrics.source.SourceCodeCriteria
 
getAssignments() - Method in class org.gmetrics.metric.abc.AbcVector
 
getAst() - Method in class org.gmetrics.source.AbstractSourceCode
Return the Groovy AST (Abstract Syntax Tree) for this source file
getAst() - Method in interface org.gmetrics.source.SourceCode
Return the Groovy AST (Abstract Syntax Tree) for this source file
getAverage() - Method in class org.gmetrics.metric.abc.result.AbcMetricResult
 
getAverage() - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
 
getAverage() - Method in class org.gmetrics.result.AggregateNumberMetricResult
 
getAverage() - Method in interface org.gmetrics.result.MetricResult
 
getAverage() - Method in class org.gmetrics.result.NumberMetricResult
 
getAverageAbcVector() - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
Return the average of this set of ABC vectors.
getBaseDirectory() - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
getBaseLevel() - Method in class org.gmetrics.metric.AbstractMethodMetric
 
getBaseLevel() - Method in class org.gmetrics.metric.linecount.ClassLineCountMetric
 
getBaseLevel() - Method in interface org.gmetrics.metric.Metric
 
getBranches() - Method in class org.gmetrics.metric.abc.AbcVector
 
getChildren() - Method in class org.gmetrics.resultsnode.ClassResultsNode
 
getChildren() - Method in class org.gmetrics.resultsnode.MethodResultsNode
 
getChildren() - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
getChildren() - Method in interface org.gmetrics.resultsnode.ResultsNode
 
getClassMetricResult() - Method in class org.gmetrics.result.ClassMetricResult
 
getComplexity() - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
getConditions() - Method in class org.gmetrics.metric.abc.AbcVector
 
getCount() - Method in class org.gmetrics.metric.abc.result.AbcMetricResult
 
getCount() - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
 
getCount() - Method in class org.gmetrics.result.AggregateNumberMetricResult
 
getCount() - Method in interface org.gmetrics.result.MetricResult
 
getCount() - Method in class org.gmetrics.result.NumberMetricResult
 
getDEFAULT_INCLUDES() - Static method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
getDefaultOutputFile() - Static method in class org.gmetrics.report.BasicHtmlReportWriter
 
getDefaultOutputFile() - Static method in class org.gmetrics.report.XmlReportWriter
 
getDescriptionForMetric(Metric) - Method in class org.gmetrics.report.XmlReportWriter
 
getDescriptionForMetricName(String) - Method in class org.gmetrics.report.BasicHtmlReportWriter
 
getDoNotApplyToFileNames() - Method in class org.gmetrics.source.SourceCodeCriteria
 
getDoNotApplyToFilesMatching() - Method in class org.gmetrics.source.SourceCodeCriteria
 
getEnabled() - Method in class org.gmetrics.metric.AbstractMetric
 
getExcludes() - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
getFILE_SEPARATOR() - Static method in class org.gmetrics.source.AbstractSourceCode
 
getFormattedTimestamp() - Method in class org.gmetrics.report.AbstractReportWriter
 
getGMetricsVersion() - Method in class org.gmetrics.report.AbstractReportWriter
 
getIncludes() - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
getInputStream(String) - Static method in class org.gmetrics.util.io.ClassPathResource
Convenience method to open an InputStream on the specified resource path relative the classpath
getInputStream() - Method in class org.gmetrics.util.io.ClassPathResource
Open an InputStream on the classpath resource path
getInputStream() - Method in interface org.gmetrics.util.io.Resource
Return the InputStream for this resource.
getInputStream() - Method in class org.gmetrics.util.io.UrlResource
Open a FileInputStream on the file
getLevel() - Method in class org.gmetrics.resultsnode.ClassResultsNode
 
getLevel() - Method in class org.gmetrics.resultsnode.MethodResultsNode
 
getLevel() - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
getLevel() - Method in interface org.gmetrics.resultsnode.ResultsNode
 
getLineNumberForCharacterIndex(int) - Method in class org.gmetrics.source.AbstractSourceCode
Return the line index for the line containing the character at the specified index within the source code.
getLineNumberForCharacterIndex(int) - Method in interface org.gmetrics.source.SourceCode
Return the line index for the line containing the character at the specified index within the source code.
getLines() - Method in class org.gmetrics.source.AbstractSourceCode
 
getLines() - Method in interface org.gmetrics.source.SourceCode
 
getLOG() - Static method in class org.gmetrics.source.AbstractSourceCode
 
getMagnitude() - Method in class org.gmetrics.metric.abc.AbcVector
Return the magnitude of this ABC vector, specifically: |ABC| = sqrt((A*A)+(B*B)+(C*C))
getMetaClass() - Method in class org.gmetrics.analyzer.AnalysisContext
 
getMetaClass() - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
getMetaClass() - Method in class org.gmetrics.ant.AntFileSetSourceAnalyzer
 
getMetaClass() - Method in class org.gmetrics.ant.GMetricsTask
 
getMetaClass() - Method in class org.gmetrics.ant.Report
 
getMetaClass() - Method in class org.gmetrics.ant.ReportOption
 
getMetaClass() - Method in class org.gmetrics.GMetricsRunner
 
getMetaClass() - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
getMetaClass() - Method in class org.gmetrics.metric.abc.AbcMetric
 
getMetaClass() - Method in class org.gmetrics.metric.abc.AbcVector
 
getMetaClass() - Method in class org.gmetrics.metric.abc.result.AbcMetricResult
 
getMetaClass() - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
 
getMetaClass() - Method in class org.gmetrics.metric.AbstractAstVisitor
 
getMetaClass() - Method in class org.gmetrics.metric.AbstractMethodMetric
 
getMetaClass() - Method in class org.gmetrics.metric.AbstractMetric
 
getMetaClass() - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
getMetaClass() - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityMetric
 
getMetaClass() - Method in class org.gmetrics.metric.linecount.ClassLineCountAstVisitor
 
getMetaClass() - Method in class org.gmetrics.metric.linecount.ClassLineCountMetric
 
getMetaClass() - Method in class org.gmetrics.metric.linecount.MethodLineCountAstVisitor
 
getMetaClass() - Method in class org.gmetrics.metric.linecount.MethodLineCountMetric
 
getMetaClass() - Method in class org.gmetrics.metric.MetricLevel
 
getMetaClass() - Method in class org.gmetrics.metricset.CompositeMetricSet
 
getMetaClass() - Method in class org.gmetrics.metricset.DefaultMetricSet
 
getMetaClass() - Method in class org.gmetrics.metricset.GroovyDslMetricSet
 
getMetaClass() - Method in class org.gmetrics.metricset.ListMetricSet
 
getMetaClass() - Method in class org.gmetrics.metricset.MetricSetBuilder
 
getMetaClass() - Method in class org.gmetrics.metricset.MetricSetDelegate
 
getMetaClass() - Method in class org.gmetrics.metricset.TopLevelDelegate
 
getMetaClass() - Method in class org.gmetrics.report.AbstractReportWriter
 
getMetaClass() - Method in class org.gmetrics.report.BasicHtmlReportWriter
 
getMetaClass() - Method in class org.gmetrics.report.XmlReportWriter
 
getMetaClass() - Method in class org.gmetrics.result.AggregateNumberMetricResult
 
getMetaClass() - Method in class org.gmetrics.result.ClassMetricResult
 
getMetaClass() - Method in class org.gmetrics.result.NumberMetricResult
 
getMetaClass() - Method in class org.gmetrics.resultsnode.ClassResultsNode
 
getMetaClass() - Method in class org.gmetrics.resultsnode.MethodResultsNode
 
getMetaClass() - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
getMetaClass() - Method in class org.gmetrics.source.AbstractSourceCode
 
getMetaClass() - Method in class org.gmetrics.source.SourceCodeCriteria
 
getMetaClass() - Method in class org.gmetrics.source.SourceFile
 
getMetaClass() - Method in class org.gmetrics.source.SourceString
 
getMetaClass() - Method in class org.gmetrics.util.AstUtil
 
getMetaClass() - Method in class org.gmetrics.util.io.ClassPathResource
 
getMetaClass() - Method in class org.gmetrics.util.io.DefaultResourceFactory
 
getMetaClass() - Method in class org.gmetrics.util.io.UrlResource
 
getMetaClass() - Method in class org.gmetrics.util.PathUtil
 
getMetaClass() - Method in class org.gmetrics.util.PropertyUtil
 
getMetaClass() - Method in class org.gmetrics.util.WildcardPattern
 
getMethodArguments(MethodCallExpression) - Static method in class org.gmetrics.util.AstUtil
Return the List of Arguments for the specified MethodCallExpression.
getMethodMetricResults() - Method in class org.gmetrics.result.ClassMetricResult
 
getMetric() - Method in class org.gmetrics.metric.abc.result.AbcMetricResult
 
getMetric() - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
 
getMetric() - Method in class org.gmetrics.result.AggregateNumberMetricResult
 
getMetric() - Method in interface org.gmetrics.result.MetricResult
 
getMetric() - Method in class org.gmetrics.result.NumberMetricResult
 
getMetricResult(Metric) - Method in class org.gmetrics.resultsnode.ClassResultsNode
 
getMetricResult(Metric) - Method in class org.gmetrics.resultsnode.MethodResultsNode
 
getMetricResult(Metric) - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
getMetricResult(Metric) - Method in interface org.gmetrics.resultsnode.ResultsNode
 
getMetricResults() - Method in class org.gmetrics.resultsnode.ClassResultsNode
 
getMetricResults() - Method in class org.gmetrics.resultsnode.MethodResultsNode
 
getMetricResults() - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
getMetricResults() - Method in interface org.gmetrics.resultsnode.ResultsNode
 
getMetrics() - Method in class org.gmetrics.metricset.CompositeMetricSet
 
getMetrics() - Method in class org.gmetrics.metricset.DefaultMetricSet
 
getMetrics() - Method in class org.gmetrics.metricset.GroovyDslMetricSet
 
getMetrics() - Method in class org.gmetrics.metricset.ListMetricSet
 
getMetrics() - Method in interface org.gmetrics.metricset.MetricSet
 
getMetricSet() - Method in class org.gmetrics.analyzer.AnalysisContext
 
getMetricSet() - Method in class org.gmetrics.GMetricsRunner
 
getMetricSet() - Method in class org.gmetrics.metricset.MetricSetBuilder
 
getMetricSet() - Method in class org.gmetrics.metricset.MetricSetDelegate
 
getMetricSet() - Method in class org.gmetrics.metricset.TopLevelDelegate
 
getMetricSetFile() - Method in class org.gmetrics.ant.GMetricsTask
 
getName() - Method in class org.gmetrics.ant.ReportOption
 
getName() - Method in class org.gmetrics.metric.abc.AbcMetric
 
getName() - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityMetric
 
getName() - Method in class org.gmetrics.metric.linecount.ClassLineCountMetric
 
getName() - Method in class org.gmetrics.metric.linecount.MethodLineCountMetric
 
getName() - Method in interface org.gmetrics.metric.Metric
 
getName() - Method in class org.gmetrics.metric.MetricLevel
 
getName() - Method in interface org.gmetrics.source.SourceCode
Get the logical name for this source code.
getName() - Method in class org.gmetrics.source.SourceFile
 
getName() - Method in class org.gmetrics.source.SourceString
 
getName(String) - Static method in class org.gmetrics.util.PathUtil
 
getNumber() - Method in class org.gmetrics.result.NumberMetricResult
 
getNumberOfAssignments() - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
getNumberOfBranches() - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
getNumberOfConditions() - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
getNumberOfLinesInClass() - Method in class org.gmetrics.metric.linecount.ClassLineCountAstVisitor
 
getNumberOfLinesInClosure() - Method in class org.gmetrics.metric.linecount.MethodLineCountAstVisitor
 
getNumberOfLinesInMethod() - Method in class org.gmetrics.metric.linecount.MethodLineCountAstVisitor
 
getOptions() - Method in class org.gmetrics.ant.Report
 
getOutputFile() - Method in class org.gmetrics.report.AbstractReportWriter
 
getParent(String) - Static method in class org.gmetrics.util.PathUtil
 
getPath() - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
getPath() - Method in interface org.gmetrics.source.SourceCode
Get the logical path for this source code.
getPath() - Method in class org.gmetrics.source.SourceFile
 
getPath() - Method in class org.gmetrics.source.SourceString
 
getPath() - Method in class org.gmetrics.util.io.ClassPathResource
 
getPath() - Method in class org.gmetrics.util.io.UrlResource
 
getProperty(String) - Method in class org.gmetrics.analyzer.AnalysisContext
 
getProperty(String) - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
getProperty(String) - Method in class org.gmetrics.ant.AntFileSetSourceAnalyzer
 
getProperty(String) - Method in class org.gmetrics.ant.GMetricsTask
 
getProperty(String) - Method in class org.gmetrics.ant.Report
 
getProperty(String) - Method in class org.gmetrics.ant.ReportOption
 
getProperty(String) - Method in class org.gmetrics.GMetricsRunner
 
getProperty(String) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
getProperty(String) - Method in class org.gmetrics.metric.abc.AbcMetric
 
getProperty(String) - Method in class org.gmetrics.metric.abc.AbcVector
 
getProperty(String) - Method in class org.gmetrics.metric.abc.result.AbcMetricResult
 
getProperty(String) - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
 
getProperty(String) - Method in class org.gmetrics.metric.AbstractAstVisitor
 
getProperty(String) - Method in class org.gmetrics.metric.AbstractMethodMetric
 
getProperty(String) - Method in class org.gmetrics.metric.AbstractMetric
 
getProperty(String) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
getProperty(String) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityMetric
 
getProperty(String) - Method in class org.gmetrics.metric.linecount.ClassLineCountAstVisitor
 
getProperty(String) - Method in class org.gmetrics.metric.linecount.ClassLineCountMetric
 
getProperty(String) - Method in class org.gmetrics.metric.linecount.MethodLineCountAstVisitor
 
getProperty(String) - Method in class org.gmetrics.metric.linecount.MethodLineCountMetric
 
getProperty(String) - Method in class org.gmetrics.metric.MetricLevel
 
getProperty(String) - Method in class org.gmetrics.metricset.CompositeMetricSet
 
getProperty(String) - Method in class org.gmetrics.metricset.DefaultMetricSet
 
getProperty(String) - Method in class org.gmetrics.metricset.GroovyDslMetricSet
 
getProperty(String) - Method in class org.gmetrics.metricset.ListMetricSet
 
getProperty(String) - Method in class org.gmetrics.metricset.MetricSetBuilder
 
getProperty(String) - Method in class org.gmetrics.metricset.MetricSetDelegate
 
getProperty(String) - Method in class org.gmetrics.metricset.TopLevelDelegate
 
getProperty(String) - Method in class org.gmetrics.report.AbstractReportWriter
 
getProperty(String) - Method in class org.gmetrics.report.BasicHtmlReportWriter
 
getProperty(String) - Method in class org.gmetrics.report.XmlReportWriter
 
getProperty(String) - Method in class org.gmetrics.result.AggregateNumberMetricResult
 
getProperty(String) - Method in class org.gmetrics.result.ClassMetricResult
 
getProperty(String) - Method in class org.gmetrics.result.NumberMetricResult
 
getProperty(String) - Method in class org.gmetrics.resultsnode.ClassResultsNode
 
getProperty(String) - Method in class org.gmetrics.resultsnode.MethodResultsNode
 
getProperty(String) - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
getProperty(String) - Method in class org.gmetrics.source.AbstractSourceCode
 
getProperty(String) - Method in class org.gmetrics.source.SourceCodeCriteria
 
getProperty(String) - Method in class org.gmetrics.source.SourceFile
 
getProperty(String) - Method in class org.gmetrics.source.SourceString
 
getProperty(String) - Method in class org.gmetrics.util.AstUtil
 
getProperty(String) - Method in class org.gmetrics.util.io.ClassPathResource
 
getProperty(String) - Method in class org.gmetrics.util.io.DefaultResourceFactory
 
getProperty(String) - Method in class org.gmetrics.util.io.UrlResource
 
getProperty(String) - Method in class org.gmetrics.util.PathUtil
 
getProperty(String) - Method in class org.gmetrics.util.PropertyUtil
 
getProperty(String) - Method in class org.gmetrics.util.WildcardPattern
 
getReportWriters() - Method in class org.gmetrics.GMetricsRunner
 
getResource(String) - Method in class org.gmetrics.util.io.DefaultResourceFactory
Return a Resource instance suitable for the specified path.
getResource(String) - Method in interface org.gmetrics.util.io.ResourceFactory
Return a Resource instance suitable for the specified path.
getResourceBundleString(String, String) - Method in class org.gmetrics.report.AbstractReportWriter
 
getScale() - Method in class org.gmetrics.result.AggregateNumberMetricResult
 
getSEP() - Static method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
getSourceAnalyzer() - Method in class org.gmetrics.GMetricsRunner
 
getSourceCode() - Method in class org.gmetrics.metric.AbstractAstVisitor
 
getSourceDirectories() - Method in class org.gmetrics.analyzer.AnalysisContext
 
getSourceDirectories() - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
getSourceDirectories() - Method in interface org.gmetrics.analyzer.SourceAnalyzer
Return the List of source directories to be analyzed.
getSourceDirectories() - Method in class org.gmetrics.ant.AntFileSetSourceAnalyzer
 
getSourceUnit() - Method in class org.gmetrics.metric.AbstractAstVisitor
 
getText() - Method in interface org.gmetrics.source.SourceCode
 
getText() - Method in class org.gmetrics.source.SourceFile
 
getText() - Method in class org.gmetrics.source.SourceString
 
getTimestamp - Variable in class org.gmetrics.report.AbstractReportWriter
 
getTitle() - Method in class org.gmetrics.report.BasicHtmlReportWriter
 
getTitle() - Method in class org.gmetrics.report.XmlReportWriter
 
getTotal() - Method in class org.gmetrics.metric.abc.result.AbcMetricResult
 
getTotal() - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
 
getTotal() - Method in class org.gmetrics.result.AggregateNumberMetricResult
 
getTotal() - Method in interface org.gmetrics.result.MetricResult
 
getTotal() - Method in class org.gmetrics.result.NumberMetricResult
 
getTotalAbcVector() - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
Return the sum of this set of ABC vectors.
getType() - Method in class org.gmetrics.ant.Report
 
getValue() - Method in class org.gmetrics.ant.ReportOption
 
getValue() - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
 
getVariableExpressions(DeclarationExpression) - Static method in class org.gmetrics.util.AstUtil
Return the List of VariableExpression objects referenced by the specified DeclarationExpression.
getVisited() - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
getWriteToStandardOut() - Method in class org.gmetrics.report.AbstractReportWriter
 
GMETRICS_URL - Static variable in class org.gmetrics.report.AbstractReportWriter
 
GMetricsRunner - Class in org.gmetrics
Helper class to run GMetrics.
GMetricsRunner() - Constructor for class org.gmetrics.GMetricsRunner
 
GMetricsTask - Class in org.gmetrics.ant
Ant Task for GMetrics.
GMetricsTask() - Constructor for class org.gmetrics.ant.GMetricsTask
 
GroovyDslMetricSet - Class in org.gmetrics.metricset
A MetricSet implementation that parses a Groovy DSL of Metric definitions.
GroovyDslMetricSet(String) - Constructor for class org.gmetrics.metricset.GroovyDslMetricSet
Construct a new instance on the specified Groovy DSL MetricSet file path

I

initializeDefaultResourceBundle() - Method in class org.gmetrics.report.AbstractReportWriter
 
initializeResourceBundle - Variable in class org.gmetrics.report.AbstractReportWriter
 
invokeMethod(String, Object) - Method in class org.gmetrics.analyzer.AnalysisContext
 
invokeMethod(String, Object) - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
invokeMethod(String, Object) - Method in class org.gmetrics.ant.AntFileSetSourceAnalyzer
 
invokeMethod(String, Object) - Method in class org.gmetrics.ant.GMetricsTask
 
invokeMethod(String, Object) - Method in class org.gmetrics.ant.Report
 
invokeMethod(String, Object) - Method in class org.gmetrics.ant.ReportOption
 
invokeMethod(String, Object) - Method in class org.gmetrics.GMetricsRunner
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.abc.AbcMetric
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.abc.AbcVector
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.abc.result.AbcMetricResult
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.AbstractAstVisitor
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.AbstractMethodMetric
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.AbstractMetric
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityMetric
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.linecount.ClassLineCountAstVisitor
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.linecount.ClassLineCountMetric
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.linecount.MethodLineCountAstVisitor
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.linecount.MethodLineCountMetric
 
invokeMethod(String, Object) - Method in class org.gmetrics.metric.MetricLevel
 
invokeMethod(String, Object) - Method in class org.gmetrics.metricset.CompositeMetricSet
 
invokeMethod(String, Object) - Method in class org.gmetrics.metricset.DefaultMetricSet
 
invokeMethod(String, Object) - Method in class org.gmetrics.metricset.GroovyDslMetricSet
 
invokeMethod(String, Object) - Method in class org.gmetrics.metricset.ListMetricSet
 
invokeMethod(String, Object) - Method in class org.gmetrics.metricset.MetricSetBuilder
 
invokeMethod(String, Object) - Method in class org.gmetrics.metricset.MetricSetDelegate
 
invokeMethod(String, Object) - Method in class org.gmetrics.metricset.TopLevelDelegate
 
invokeMethod(String, Object) - Method in class org.gmetrics.report.AbstractReportWriter
 
invokeMethod(String, Object) - Method in class org.gmetrics.report.BasicHtmlReportWriter
 
invokeMethod(String, Object) - Method in class org.gmetrics.report.XmlReportWriter
 
invokeMethod(String, Object) - Method in class org.gmetrics.result.AggregateNumberMetricResult
 
invokeMethod(String, Object) - Method in class org.gmetrics.result.ClassMetricResult
 
invokeMethod(String, Object) - Method in class org.gmetrics.result.NumberMetricResult
 
invokeMethod(String, Object) - Method in class org.gmetrics.resultsnode.ClassResultsNode
 
invokeMethod(String, Object) - Method in class org.gmetrics.resultsnode.MethodResultsNode
 
invokeMethod(String, Object) - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
invokeMethod(String, Object) - Method in class org.gmetrics.source.AbstractSourceCode
 
invokeMethod(String, Object) - Method in class org.gmetrics.source.SourceCodeCriteria
 
invokeMethod(String, Object) - Method in class org.gmetrics.source.SourceFile
 
invokeMethod(String, Object) - Method in class org.gmetrics.source.SourceString
 
invokeMethod(String, Object) - Method in class org.gmetrics.util.AstUtil
 
invokeMethod(String, Object) - Method in class org.gmetrics.util.io.ClassPathResource
 
invokeMethod(String, Object) - Method in class org.gmetrics.util.io.DefaultResourceFactory
 
invokeMethod(String, Object) - Method in class org.gmetrics.util.io.UrlResource
 
invokeMethod(String, Object) - Method in class org.gmetrics.util.PathUtil
 
invokeMethod(String, Object) - Method in class org.gmetrics.util.PropertyUtil
 
invokeMethod(String, Object) - Method in class org.gmetrics.util.WildcardPattern
 
isBlock(Statement) - Static method in class org.gmetrics.util.AstUtil
Return true if the Statement is a block
isEmptyBlock(Statement) - Static method in class org.gmetrics.util.AstUtil
Return true if the Statement is a block and it is empty (contains no "meaningful" statements).
isEnabled() - Method in class org.gmetrics.metric.AbstractMetric
 
isEnabled() - Method in interface org.gmetrics.metric.Metric
 
isFinalVariable(DeclarationExpression, SourceCode) - Static method in class org.gmetrics.util.AstUtil
Return true if the DeclarationExpression represents a 'final' variable declaration.
isFirstVisit(Object) - Method in class org.gmetrics.metric.AbstractAstVisitor
Return true if the AST expression has not already been visited.
isFromGeneratedSourceCode(ASTNode) - Static method in class org.gmetrics.util.AstUtil
 
isMethodCall(Statement, String, String, int) - Static method in class org.gmetrics.util.AstUtil
Return true only if the Statement represents a method call for the specified method object (receiver), method name, and with the specified number of arguments.
isMethodCall(MethodCallExpression, String, String, int) - Static method in class org.gmetrics.util.AstUtil
Return true only if the MethodCallExpression represents a method call for the specified method object (receiver), method name, and with the specified number of arguments.
isMethodCall(MethodCallExpression, String, String) - Static method in class org.gmetrics.util.AstUtil
Return true only if the MethodCallExpression represents a method call for the specified method object (receiver) and method name.
isMethodNamed(MethodCallExpression, String) - Static method in class org.gmetrics.util.AstUtil
Return true only if the MethodCallExpression represents a method call for the specified method name
isNotAnInterface(ClassNode) - Method in class org.gmetrics.metric.AbstractMetric
 
isSyntheticNonRunMethod(MethodNode) - Method in class org.gmetrics.metric.AbstractAstVisitor
 
isVisited() - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 

L

line(int) - Method in class org.gmetrics.source.AbstractSourceCode
Get the trimmed line at the specified index
line(int) - Method in interface org.gmetrics.source.SourceCode
Get the trimmed line at the specified index
ListMetricSet - Class in org.gmetrics.metricset
A MetricSet implementation that returns a static List of Metrics passed into its constructor.
ListMetricSet(List) - Constructor for class org.gmetrics.metricset.ListMetricSet
Construct a new instance from the specified List of metrics.
LOG - Variable in class org.gmetrics.report.AbstractReportWriter
 

M

matches(SourceCode) - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
matches(SourceCode) - Method in class org.gmetrics.source.SourceCodeCriteria
Return true if all of the criteria specified in this object apply to thw SourceCode.
matches(String) - Method in class org.gmetrics.util.WildcardPattern
Return true if the specified String matches the pattern or if the original patternString (specified in the constructor) was null or empty and the value for defaultMatches (also specified in the constructor) was true.
MAX_SOURCE_LINE_LENGTH - Static variable in class org.gmetrics.metric.AbstractAstVisitor
 
METHOD - Static variable in class org.gmetrics.metric.MetricLevel
 
MethodLineCountAstVisitor - Class in org.gmetrics.metric.linecount
AST Visitor for calculating the lines of code for a method or closure field.
MethodLineCountAstVisitor() - Constructor for class org.gmetrics.metric.linecount.MethodLineCountAstVisitor
 
MethodLineCountMetric - Class in org.gmetrics.metric.linecount
Metric for counting the lines of code for methods and closure fields.
MethodLineCountMetric() - Constructor for class org.gmetrics.metric.linecount.MethodLineCountMetric
 
methodMissing(String, Object) - Method in class org.gmetrics.metricset.MetricSetDelegate
 
MethodResultsNode - Class in org.gmetrics.resultsnode
Represents a method result node in the hierarchy of metric result nodes
MethodResultsNode() - Constructor for class org.gmetrics.resultsnode.MethodResultsNode
 
Metric - Interface in org.gmetrics.metric
Represents a metric
metric(Class) - Method in class org.gmetrics.metricset.TopLevelDelegate
 
metric(Class, Closure) - Method in class org.gmetrics.metricset.TopLevelDelegate
 
MetricLevel - Class in org.gmetrics.metric
Enum representing the level at which a metric is applied - either method, class or package
MetricResult - Interface in org.gmetrics.result
Represents the result from applying a single metric (to a package, class or method)
MetricSet - Interface in org.gmetrics.metricset
Represents a set of (configured) Metric objects
metricset(Closure) - Method in class org.gmetrics.metricset.MetricSetBuilder
 
metricset(String) - Method in class org.gmetrics.metricset.TopLevelDelegate
 
metricset(String, Closure) - Method in class org.gmetrics.metricset.TopLevelDelegate
 
MetricSetBuilder - Class in org.gmetrics.metricset
A Builder for MetricSets.
MetricSetBuilder() - Constructor for class org.gmetrics.metricset.MetricSetBuilder
 
MetricSetDelegate - Class in org.gmetrics.metricset
 
MetricSetDelegate(MetricSet) - Constructor for class org.gmetrics.metricset.MetricSetDelegate
 

N

normalize(String) - Static method in class org.gmetrics.util.PathUtil
 
normalizePath(String) - Method in class org.gmetrics.source.AbstractSourceCode
Return the normalized value of the specified path.
NumberMetricResult - Class in org.gmetrics.result
A MetricResult for numbers (integers, BigDecimals, etc.)
NumberMetricResult(Metric, Object) - Constructor for class org.gmetrics.result.NumberMetricResult
 

O

org.gmetrics - package org.gmetrics
 
org.gmetrics.analyzer - package org.gmetrics.analyzer
 
org.gmetrics.ant - package org.gmetrics.ant
 
org.gmetrics.metric - package org.gmetrics.metric
 
org.gmetrics.metric.abc - package org.gmetrics.metric.abc
 
org.gmetrics.metric.abc.result - package org.gmetrics.metric.abc.result
 
org.gmetrics.metric.cyclomatic - package org.gmetrics.metric.cyclomatic
 
org.gmetrics.metric.linecount - package org.gmetrics.metric.linecount
 
org.gmetrics.metricset - package org.gmetrics.metricset
 
org.gmetrics.report - package org.gmetrics.report
 
org.gmetrics.result - package org.gmetrics.result
 
org.gmetrics.resultsnode - package org.gmetrics.resultsnode
 
org.gmetrics.source - package org.gmetrics.source
 
org.gmetrics.util - package org.gmetrics.util
 
org.gmetrics.util.io - package org.gmetrics.util.io
 

P

PACKAGE - Static variable in class org.gmetrics.metric.MetricLevel
 
PackageResultsNode - Class in org.gmetrics.resultsnode
Represents a package node in the hierarchy of metric result nodes
PackageResultsNode() - Constructor for class org.gmetrics.resultsnode.PackageResultsNode
 
PathUtil - Class in org.gmetrics.util
Contains static utility methods related to file and directory paths.
PropertyUtil - Class in org.gmetrics.util
Contains property-related static utility methods

R

Report - Class in org.gmetrics.ant
JavaBean class holding the properties for a element with the GMetrics Ant Task.
Report() - Constructor for class org.gmetrics.ant.Report
 
ReportOption - Class in org.gmetrics.ant
JavaBean class holding the properties for a
ReportOption() - Constructor for class org.gmetrics.ant.ReportOption
 
ReportWriter - Interface in org.gmetrics.report
Common interface for report writer implementations
reportWriters - Variable in class org.gmetrics.ant.GMetricsTask
 
Resource - Interface in org.gmetrics.util.io
Defines the interface for objects that represent a resource (e.g.
resourceBundle - Variable in class org.gmetrics.report.AbstractReportWriter
 
ResourceFactory - Interface in org.gmetrics.util.io
Defines the interface for factory objects that create/return Resource instances.
ResultsNode - Interface in org.gmetrics.resultsnode
Represents the interface for a single node in the hierarchical network of results nodes
rootResultsNode - Variable in class org.gmetrics.ant.AntFileSetSourceAnalyzer
 

S

setApplyToFileNames(String) - Method in class org.gmetrics.source.SourceCodeCriteria
 
setApplyToFilesMatching(String) - Method in class org.gmetrics.source.SourceCodeCriteria
 
setBaseDirectory(String) - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
setClassMetricResult(MetricResult) - Method in class org.gmetrics.result.ClassMetricResult
 
setComplexity(Integer) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
setDefaultOutputFile(Object) - Static method in class org.gmetrics.report.BasicHtmlReportWriter
 
setDefaultOutputFile(Object) - Static method in class org.gmetrics.report.XmlReportWriter
 
setDoNotApplyToFileNames(String) - Method in class org.gmetrics.source.SourceCodeCriteria
 
setDoNotApplyToFilesMatching(String) - Method in class org.gmetrics.source.SourceCodeCriteria
 
setEnabled(boolean) - Method in class org.gmetrics.metric.AbstractMetric
 
setExcludes(String) - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
setIncludes(String) - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
setMetaClass(MetaClass) - Method in class org.gmetrics.analyzer.AnalysisContext
 
setMetaClass(MetaClass) - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
setMetaClass(MetaClass) - Method in class org.gmetrics.ant.AntFileSetSourceAnalyzer
 
setMetaClass(MetaClass) - Method in class org.gmetrics.ant.GMetricsTask
 
setMetaClass(MetaClass) - Method in class org.gmetrics.ant.Report
 
setMetaClass(MetaClass) - Method in class org.gmetrics.ant.ReportOption
 
setMetaClass(MetaClass) - Method in class org.gmetrics.GMetricsRunner
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.abc.AbcMetric
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.abc.AbcVector
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.abc.result.AbcMetricResult
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.AbstractAstVisitor
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.AbstractMethodMetric
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.AbstractMetric
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityMetric
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.linecount.ClassLineCountAstVisitor
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.linecount.ClassLineCountMetric
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.linecount.MethodLineCountAstVisitor
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.linecount.MethodLineCountMetric
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metric.MetricLevel
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metricset.CompositeMetricSet
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metricset.DefaultMetricSet
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metricset.GroovyDslMetricSet
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metricset.ListMetricSet
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metricset.MetricSetBuilder
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metricset.MetricSetDelegate
 
setMetaClass(MetaClass) - Method in class org.gmetrics.metricset.TopLevelDelegate
 
setMetaClass(MetaClass) - Method in class org.gmetrics.report.AbstractReportWriter
 
setMetaClass(MetaClass) - Method in class org.gmetrics.report.BasicHtmlReportWriter
 
setMetaClass(MetaClass) - Method in class org.gmetrics.report.XmlReportWriter
 
setMetaClass(MetaClass) - Method in class org.gmetrics.result.AggregateNumberMetricResult
 
setMetaClass(MetaClass) - Method in class org.gmetrics.result.ClassMetricResult
 
setMetaClass(MetaClass) - Method in class org.gmetrics.result.NumberMetricResult
 
setMetaClass(MetaClass) - Method in class org.gmetrics.resultsnode.ClassResultsNode
 
setMetaClass(MetaClass) - Method in class org.gmetrics.resultsnode.MethodResultsNode
 
setMetaClass(MetaClass) - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
setMetaClass(MetaClass) - Method in class org.gmetrics.source.AbstractSourceCode
 
setMetaClass(MetaClass) - Method in class org.gmetrics.source.SourceCodeCriteria
 
setMetaClass(MetaClass) - Method in class org.gmetrics.source.SourceFile
 
setMetaClass(MetaClass) - Method in class org.gmetrics.source.SourceString
 
setMetaClass(MetaClass) - Method in class org.gmetrics.util.AstUtil
 
setMetaClass(MetaClass) - Method in class org.gmetrics.util.io.ClassPathResource
 
setMetaClass(MetaClass) - Method in class org.gmetrics.util.io.DefaultResourceFactory
 
setMetaClass(MetaClass) - Method in class org.gmetrics.util.io.UrlResource
 
setMetaClass(MetaClass) - Method in class org.gmetrics.util.PathUtil
 
setMetaClass(MetaClass) - Method in class org.gmetrics.util.PropertyUtil
 
setMetaClass(MetaClass) - Method in class org.gmetrics.util.WildcardPattern
 
setMethodMetricResults(Map) - Method in class org.gmetrics.result.ClassMetricResult
 
setMetricSet(MetricSet) - Method in class org.gmetrics.analyzer.AnalysisContext
 
setMetricSet(MetricSet) - Method in class org.gmetrics.GMetricsRunner
 
setMetricSet(MetricSet) - Method in class org.gmetrics.metricset.MetricSetDelegate
 
setMetricSetFile(String) - Method in class org.gmetrics.ant.GMetricsTask
 
setName(String) - Method in class org.gmetrics.ant.ReportOption
 
setName(String) - Method in class org.gmetrics.source.SourceString
 
setNumberOfAssignments(int) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
setNumberOfBranches(int) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
setNumberOfConditions(int) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
setNumberOfLinesInClass(int) - Method in class org.gmetrics.metric.linecount.ClassLineCountAstVisitor
 
setNumberOfLinesInClosure(int) - Method in class org.gmetrics.metric.linecount.MethodLineCountAstVisitor
 
setNumberOfLinesInMethod(int) - Method in class org.gmetrics.metric.linecount.MethodLineCountAstVisitor
 
setOutputFile(String) - Method in class org.gmetrics.report.AbstractReportWriter
 
setPath(String) - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
setPath(String) - Method in class org.gmetrics.source.SourceString
 
setProperty(String, Object) - Method in class org.gmetrics.analyzer.AnalysisContext
 
setProperty(String, Object) - Method in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
setProperty(String, Object) - Method in class org.gmetrics.ant.AntFileSetSourceAnalyzer
 
setProperty(String, Object) - Method in class org.gmetrics.ant.GMetricsTask
 
setProperty(String, Object) - Method in class org.gmetrics.ant.Report
 
setProperty(String, Object) - Method in class org.gmetrics.ant.ReportOption
 
setProperty(String, Object) - Method in class org.gmetrics.GMetricsRunner
 
setProperty(String, Object) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
setProperty(String, Object) - Method in class org.gmetrics.metric.abc.AbcMetric
 
setProperty(String, Object) - Method in class org.gmetrics.metric.abc.AbcVector
 
setProperty(String, Object) - Method in class org.gmetrics.metric.abc.result.AbcMetricResult
 
setProperty(String, Object) - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
 
setProperty(String, Object) - Method in class org.gmetrics.metric.AbstractAstVisitor
 
setProperty(String, Object) - Method in class org.gmetrics.metric.AbstractMethodMetric
 
setProperty(String, Object) - Method in class org.gmetrics.metric.AbstractMetric
 
setProperty(String, Object) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
setProperty(String, Object) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityMetric
 
setProperty(String, Object) - Method in class org.gmetrics.metric.linecount.ClassLineCountAstVisitor
 
setProperty(String, Object) - Method in class org.gmetrics.metric.linecount.ClassLineCountMetric
 
setProperty(String, Object) - Method in class org.gmetrics.metric.linecount.MethodLineCountAstVisitor
 
setProperty(String, Object) - Method in class org.gmetrics.metric.linecount.MethodLineCountMetric
 
setProperty(String, Object) - Method in class org.gmetrics.metric.MetricLevel
 
setProperty(String, Object) - Method in class org.gmetrics.metricset.CompositeMetricSet
 
setProperty(String, Object) - Method in class org.gmetrics.metricset.DefaultMetricSet
 
setProperty(String, Object) - Method in class org.gmetrics.metricset.GroovyDslMetricSet
 
setProperty(String, Object) - Method in class org.gmetrics.metricset.ListMetricSet
 
setProperty(String, Object) - Method in class org.gmetrics.metricset.MetricSetBuilder
 
setProperty(String, Object) - Method in class org.gmetrics.metricset.MetricSetDelegate
 
setProperty(String, Object) - Method in class org.gmetrics.metricset.TopLevelDelegate
 
setProperty(String, Object) - Method in class org.gmetrics.report.AbstractReportWriter
 
setProperty(String, Object) - Method in class org.gmetrics.report.BasicHtmlReportWriter
 
setProperty(String, Object) - Method in class org.gmetrics.report.XmlReportWriter
 
setProperty(String, Object) - Method in class org.gmetrics.result.AggregateNumberMetricResult
 
setProperty(String, Object) - Method in class org.gmetrics.result.ClassMetricResult
 
setProperty(String, Object) - Method in class org.gmetrics.result.NumberMetricResult
 
setProperty(String, Object) - Method in class org.gmetrics.resultsnode.ClassResultsNode
 
setProperty(String, Object) - Method in class org.gmetrics.resultsnode.MethodResultsNode
 
setProperty(String, Object) - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
setProperty(String, Object) - Method in class org.gmetrics.source.AbstractSourceCode
 
setProperty(String, Object) - Method in class org.gmetrics.source.SourceCodeCriteria
 
setProperty(String, Object) - Method in class org.gmetrics.source.SourceFile
 
setProperty(String, Object) - Method in class org.gmetrics.source.SourceString
 
setProperty(String, Object) - Method in class org.gmetrics.util.AstUtil
 
setProperty(String, Object) - Method in class org.gmetrics.util.io.ClassPathResource
 
setProperty(String, Object) - Method in class org.gmetrics.util.io.DefaultResourceFactory
 
setProperty(String, Object) - Method in class org.gmetrics.util.io.UrlResource
 
setProperty(String, Object) - Method in class org.gmetrics.util.PathUtil
 
setProperty(String, Object) - Method in class org.gmetrics.util.PropertyUtil
 
setProperty(String, Object) - Method in class org.gmetrics.util.WildcardPattern
 
setPropertyFromString(Object, String, String) - Static method in class org.gmetrics.util.PropertyUtil
Set the value of the named property on the specified Object from a String value.
setReportWriters(List) - Method in class org.gmetrics.GMetricsRunner
 
setScale(int) - Method in class org.gmetrics.result.AggregateNumberMetricResult
 
setSourceAnalyzer(SourceAnalyzer) - Method in class org.gmetrics.GMetricsRunner
 
setSourceCode(SourceCode) - Method in class org.gmetrics.metric.AbstractAstVisitor
 
setSourceCode(SourceCode) - Method in interface org.gmetrics.metric.AstVisitor
Set the SourceCode associated with this visitor
setSourceDirectories(List) - Method in class org.gmetrics.analyzer.AnalysisContext
 
setTitle(String) - Method in class org.gmetrics.report.BasicHtmlReportWriter
 
setTitle(String) - Method in class org.gmetrics.report.XmlReportWriter
 
setType(String) - Method in class org.gmetrics.ant.Report
 
setValue(String) - Method in class org.gmetrics.ant.ReportOption
 
setWriteToStandardOut(Object) - Method in class org.gmetrics.report.AbstractReportWriter
 
SOURCE_LINE_LAST_SEGMENT_LENGTH - Static variable in class org.gmetrics.metric.AbstractAstVisitor
 
SourceAnalyzer - Interface in org.gmetrics.analyzer
The interface for objects that can analyze the source files within one or more directory trees using a specified MetricSet and produce report results.
SourceCode - Interface in org.gmetrics.source
Represents a unit of source code to be analyzed
SourceCodeCriteria - Class in org.gmetrics.source
Represents the set of criteria used to filter source code (files).
SourceCodeCriteria() - Constructor for class org.gmetrics.source.SourceCodeCriteria
 
sourceCodeFactory - Variable in class org.gmetrics.analyzer.FilesystemSourceAnalyzer
 
SourceFile - Class in org.gmetrics.source
The SourceCode implementation for a single file.
SourceFile(File) - Constructor for class org.gmetrics.source.SourceFile
Construct a new instance for the file at the specified path
sourceLine(ASTNode) - Method in class org.gmetrics.metric.AbstractAstVisitor
Return the source line corresponding to the specified AST node
SourceString - Class in org.gmetrics.source
SourceCode implementation that uses source from a pre-defined String.
SourceString(String, String, String) - Constructor for class org.gmetrics.source.SourceString
Construct a new instance for the file at the specified path

T

TopLevelDelegate - Class in org.gmetrics.metricset
 
TopLevelDelegate() - Constructor for class org.gmetrics.metricset.TopLevelDelegate
 
toString() - Method in class org.gmetrics.metric.abc.AbcVector
 
toString() - Method in class org.gmetrics.metric.abc.result.AbcMetricResult
 
toString() - Method in class org.gmetrics.metric.abc.result.AggregateAbcMetricResult
 
toString() - Method in class org.gmetrics.metric.MetricLevel
 
toString() - Method in class org.gmetrics.result.AggregateNumberMetricResult
 
toString() - Method in class org.gmetrics.result.ClassMetricResult
 
toString() - Method in class org.gmetrics.result.NumberMetricResult
 
toString() - Method in class org.gmetrics.resultsnode.ClassResultsNode
 
toString() - Method in class org.gmetrics.resultsnode.MethodResultsNode
 
toString() - Method in class org.gmetrics.resultsnode.PackageResultsNode
 
toString() - Method in class org.gmetrics.source.SourceFile
 
toString() - Method in class org.gmetrics.source.SourceString
 

U

UrlResource - Class in org.gmetrics.util.io
A Resource implementation based on java.net.URL.
UrlResource(String) - Constructor for class org.gmetrics.util.io.UrlResource
Construct a new FileResource

V

VERSION_FILE - Static variable in class org.gmetrics.report.AbstractReportWriter
 
visitBinaryExpression(BinaryExpression) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
visitBinaryExpression(BinaryExpression) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
visitBooleanExpression(BooleanExpression) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
visitCatchStatement(CatchStatement) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
visitClass(ClassNode) - Method in class org.gmetrics.metric.linecount.ClassLineCountAstVisitor
 
visitClosureExpression(ClosureExpression) - Method in class org.gmetrics.metric.linecount.MethodLineCountAstVisitor
 
visitConstructorCallExpression(ConstructorCallExpression) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
visitForLoop(ForStatement) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
visitIfElse(IfStatement) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
visitIfElse(IfStatement) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
visitMethod(MethodNode) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
visitMethod(MethodNode) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
visitMethod(MethodNode) - Method in class org.gmetrics.metric.linecount.MethodLineCountAstVisitor
 
visitMethodCallExpression(MethodCallExpression) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
visitNotExpression(NotExpression) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
visitPostfixExpression(PostfixExpression) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
visitPrefixExpression(PrefixExpression) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
visitPropertyExpression(PropertyExpression) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
visitPropertyExpression(PropertyExpression) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
visitSwitch(SwitchStatement) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
visitSwitch(SwitchStatement) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
visitTernaryExpression(TernaryExpression) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
visitTernaryExpression(TernaryExpression) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 
visitTryCatchFinally(TryCatchStatement) - Method in class org.gmetrics.metric.abc.AbcAstVisitor
 
visitWhileLoop(WhileStatement) - Method in class org.gmetrics.metric.cyclomatic.CyclomaticComplexityAstVisitor
 

W

WildcardPattern - Class in org.gmetrics.util
Represents a string pattern that may optionally include wildcards ('*', '**' or '?'), and provides an API to determine whether that pattern matches a specified input string.
WildcardPattern(String, boolean) - Constructor for class org.gmetrics.util.WildcardPattern
Construct a new WildcardPattern instance on a single pattern or a comma-separated list of patterns.
writeReport(Writer, ResultsNode, AnalysisContext) - Method in class org.gmetrics.report.AbstractReportWriter
 
writeReport(ResultsNode, AnalysisContext) - Method in class org.gmetrics.report.AbstractReportWriter
 
writeReport(Writer, ResultsNode, AnalysisContext) - Method in class org.gmetrics.report.BasicHtmlReportWriter
 
writeReport(ResultsNode, AnalysisContext) - Method in interface org.gmetrics.report.ReportWriter
 
writeReport(Writer, ResultsNode, AnalysisContext) - Method in class org.gmetrics.report.XmlReportWriter
 

X

XmlReportWriter - Class in org.gmetrics.report
ReportWriter that generates an XML report.
XmlReportWriter() - Constructor for class org.gmetrics.report.XmlReportWriter
 

A B C D E F G I L M N O P R S T U V W X

Copyright © 2010. All Rights Reserved.