Groovy Documentation
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AbcAstVisitor - Class in org.gmetrics.metric.abc
AST Visitor for calculating the ABC Metric for a class/method.
AbcAstVisitor() - Constructor in AbcAstVisitor
AbcMetric - Class in org.gmetrics.metric.abc
Calculate the ABC Metric for a class/method.
AbcMetric() - Constructor in AbcMetric
AbcMetricResult - Class in org.gmetrics.metric.abc.result
A MetricResult specifically for the ABC metric
AbcMetricResult(Metric, AbcVector, Integer) - Constructor in AbcMetricResult
AbcVector - Class in org.gmetrics.metric.abc
Represents a single ABC Metric result: a vector of the three A, B, C values.
abcVector - Property in AbcMetricResult
AbcVector(int, int, int) - Constructor in AbcVector
AbstractAstVisitor - Class in org.gmetrics.metric
Abstract superclass for Groovy AST Visitors
AbstractAstVisitor() - Constructor in AbstractAstVisitor
AbstractMethodMetric - Class in org.gmetrics.metric
Abstract superclass for method-based metrics.
AbstractMethodMetric() - Constructor in AbstractMethodMetric
AbstractMetric - Class in org.gmetrics.metric
Abstract superclass for metrics.
AbstractMetric() - Constructor in AbstractMetric
AbstractReportWriter - Class in org.gmetrics.report
Abstract superclass for ReportWriter implementation classes.
AbstractReportWriter() - Constructor in AbstractReportWriter
AbstractSourceCode - Class in org.gmetrics.source
Abstract superclass for SourceCode implementations
AbstractSourceCode() - Constructor in AbstractSourceCode
addChild(String, ResultsNode) - Method in PackageResultsNode
addChildIfNotEmpty(String, ResultsNode) - Method in PackageResultsNode
addClassMetricResult(ClassMetricResult) - Method in ClassResultsNode
addConfiguredOption(ReportOption) - Method in Report
addConfiguredReport(Report) - Method in GMetricsTask
Ant-defined method (by convention), called with each instance of a nested element within this task.
addFileset(FileSet) - Method in GMetricsTask
Ant-defined method (by convention), called with each instance of a nested element within this task.
addMetric(Metric) - Method in CompositeMetricSet
Add a single Metric to this MetricSet
addMetricResult(MetricResult) - Method in MethodResultsNode
addMetricSet(MetricSet) - Method in 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, Integer) - Constructor in AggregateAbcMetricResult
AggregateNumberMetricResult - Class in org.gmetrics.result
A NumberMetricResult that aggregates multiple values.
AggregateNumberMetricResult(Metric, Collection, Integer) - Constructor in AggregateNumberMetricResult
AnalysisContext - Class in org.gmetrics.analyzer
Holds information related to the configuration and context for the source code analysis.
AnalysisContext() - Constructor in AnalysisContext
analyze(MetricSet) - Method in AntFileSetSourceAnalyzer
Analyze all source code using the specified MetricSet and return the results node.
analyze(MetricSet) - Method in FilesystemSourceAnalyzer
Analyze the source with the configured directory tree(s) using the specified metrics and return the results.
analyze(MetricSet) - Method in SourceAnalyzer
Analyze all source code using the specified set of Metrics and return the results.
AntFileSetSourceAnalyzer - Class in org.gmetrics.ant
SourceAnalyzer implementation that gets source files from one or more Ant FileSets.
AntFileSetSourceAnalyzer(Project, List) - Constructor in AntFileSetSourceAnalyzer
Construct a new instance on the specified List of Ant FileSets.
applyMetric(Metric) - Method in PackageResultsNode
applyToClass(ClassNode, SourceCode) - Method in AbstractMetric
applyToClass(ClassNode, SourceCode) - Method in Metric
applyToFileNames - Property in SourceCodeCriteria
Only apply to source code (file) names matching this value.
applyToFilesMatching - Property in SourceCodeCriteria
Apply only to source code (file) pathnames matching this regular expression.
applyToPackage(Collection) - Method in AbstractMetric
applyToPackage(Collection) - Method in Metric
assignments - Property in AbcVector
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 - Property in AbstractReportWriter
baseDirectory - Property in FilesystemSourceAnalyzer
The base (root) directory.
baseLevel - Property in AbstractMethodMetric
baseLevel - Property in ClassLineCountMetric
BasicHtmlReportWriter - Class in org.gmetrics.report
ReportWriter that generates a basic HTML report.
BasicHtmlReportWriter() - Constructor in BasicHtmlReportWriter
branches - Property in AbcVector
buildSeriesData(ResultsNode, MetricSet) - Method in SingleSeriesCriteriaFilter

C

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

D

DEFAULT_CSS_FILE - Property in SingleSeriesHtmlReportWriter
DEFAULT_INCLUDES - Property in FilesystemSourceAnalyzer
DEFAULT_OUTPUT_FILE - Property in BasicHtmlReportWriter
DEFAULT_OUTPUT_FILE - Property in SingleSeriesHtmlReportWriter
DEFAULT_OUTPUT_FILE - Property in XmlReportWriter
DEFAULT_TITLE - Property in SingleSeriesHtmlReportWriter
DefaultMetricSet - Class in org.gmetrics.metricset
A MetricSet implementation that returns the default static List of Metrics.
DefaultMetricSet() - Constructor in DefaultMetricSet
defaultOutputFile - Property in BasicHtmlReportWriter
defaultOutputFile - Property in SingleSeriesHtmlReportWriter
defaultOutputFile - Property in XmlReportWriter
DefaultResourceFactory - Class in org.gmetrics.util.io
Default implementation of ResourceFactory.
DefaultResourceFactory() - Constructor in DefaultResourceFactory
description(String) - Method in TopLevelDelegate
doNotApplyToFileNames - Property in SourceCodeCriteria
Do NOT apply to source code (file) names matching this value.
doNotApplyToFilesMatching - Property in SourceCodeCriteria
Do NOT apply to source code (file) pathnames matching this regular expression.

E

enabled - Property in AbstractMetric
excludes - Property in FilesystemSourceAnalyzer
The ant-style pattern of files to exclude from the analysis.
execute() - Method in GMetricsRunner
execute() - Method in GMetricsTask
Execute this Ant Task

F

FILE_SEPARATOR - Property in AbstractSourceCode
fileFactory - Property in FilesystemSourceAnalyzer
fileSets - Property in AntFileSetSourceAnalyzer
fileSets - Property in GMetricsTask
FilesystemSourceAnalyzer - Class in org.gmetrics.analyzer
SourceAnalyzer implementation that recursively processes files from the file system.
FilesystemSourceAnalyzer() - Constructor in FilesystemSourceAnalyzer
findOrAddResultsNodeForPath(String) - Method in AntFileSetSourceAnalyzer
findResultsNodeForPath(String) - Method in AntFileSetSourceAnalyzer
function - Property in SingleSeriesCriteriaFilter
functions - Property in AbstractMetric
FunctionsCriteriaFilter - Class in org.gmetrics.report
Provides data and behavior for enabling reports to filter the set of functions included in a report.
FunctionsCriteriaFilter() - Constructor in FunctionsCriteriaFilter

G

getAbcVector() - Method in AggregateAbcMetricResult
getAnnotation(AnnotatedNode, String) - Method in AstUtil
Return the AnnotationNode for the named annotation, or else null.
getAst() - Method in AbstractSourceCode
Return the Groovy AST (Abstract Syntax Tree) for this source file
getAst() - Method in SourceCode
Return the Groovy AST (Abstract Syntax Tree) for this source file
getAt(String) - Method in AbcMetricResult
getAt(String) - Method in AggregateAbcMetricResult
getAt(String) - Method in AggregateNumberMetricResult
getAt(String) - Method in MetricResult
Return the metric result value for the named function (e.g.
getAt(String) - Method in NumberMetricResult
getAverageAbcVector() - Method in AggregateAbcMetricResult
Return the average of this set of ABC vectors.
getBaseLevel() - Method in Metric
getChildren() - Method in MethodResultsNode
getChildren() - Method in ResultsNode
getCount() - Method in AbcMetricResult
getCount() - Method in AggregateAbcMetricResult
getCount() - Method in AggregateNumberMetricResult
getCount() - Method in MetricResult
Return the count of the nodes/results that are descendants.
getCount() - Method in NumberMetricResult
getDescriptionForMetric(Metric) - Method in XmlReportWriter
getDescriptionForMetricName(String) - Method in BasicHtmlReportWriter
getFormattedTimestamp() - Method in AbstractReportWriter
getFunctions() - Method in Metric
getGMetricsVersion() - Method in AbstractReportWriter
getInputStream() - Method in ClassPathResource
Open an InputStream on the classpath resource path
getInputStream() - Method in Resource
Return the InputStream for this resource.
getInputStream() - Method in UrlResource
Open a FileInputStream on the file
getLevel() - Method in ResultsNode
getLineNumber() - Method in MetricResult
Return the line number associated with this metric result (i.e., method or class)
getLineNumberForCharacterIndex(int) - Method in AbstractSourceCode
Return the line index for the line containing the character at the specified index within the source code.
getLineNumberForCharacterIndex(int) - Method in SourceCode
Return the line index for the line containing the character at the specified index within the source code.
getLines() - Method in AbstractSourceCode
getLines() - Method in SourceCode
getMagnitude() - Method in AbcVector
Return the magnitude of this ABC vector, specifically: |ABC| = sqrt((A*A)+(B*B)+(C*C))
getMethodArguments(MethodCallExpression) - Method in AstUtil
Return the List of Arguments for the specified MethodCallExpression.
getMetric() - Method in MetricResult
getMetricResult(Metric) - Method in ClassResultsNode
getMetricResult(Metric) - Method in MethodResultsNode
getMetricResult(Metric) - Method in PackageResultsNode
getMetricResult(Metric) - Method in ResultsNode
getMetricResults() - Method in ResultsNode
getMetrics() - Method in CompositeMetricSet
getMetrics() - Method in DefaultMetricSet
getMetrics() - Method in GroovyDslMetricSet
getMetrics() - Method in ListMetricSet
getMetrics() - Method in MetricSet
getMetricSet() - Method in MetricSetBuilder
getMetricSet() - Method in TopLevelDelegate
getName() - Method in Metric
getName(String) - Method in PathUtil
getName() - Method in SourceCode
Get the logical name for this source code.
getName() - Method in SourceFile
getNames() - Method in MetricLevel
getParent(String) - Method in PathUtil
getPath() - Method in SourceCode
Get the logical path for this source code.
getPath() - Method in SourceFile
getResource(String) - Method in DefaultResourceFactory
Return a Resource instance suitable for the specified path.
getResource(String) - Method in ResourceFactory
Return a Resource instance suitable for the specified path.
getResourceBundleString(String, String) - Method in AbstractReportWriter
getSourceDirectories() - Method in AntFileSetSourceAnalyzer
getSourceDirectories() - Method in FilesystemSourceAnalyzer
getSourceDirectories() - Method in SourceAnalyzer
Return the List of source directories to be analyzed.
getSourceUnit() - Method in AbstractAstVisitor
getText() - Method in SourceCode
getText() - Method in SourceFile
getText() - Method in SourceString
getTimestamp - Property in AbstractReportWriter
getTotalAbcVector() - Method in AggregateAbcMetricResult
Return the sum of this set of ABC vectors.
getVariableExpressions(DeclarationExpression) - Method in AstUtil
Return the List of VariableExpression objects referenced by the specified DeclarationExpression.
GMETRICS_URL - Property in AbstractReportWriter
GMetricsRunner - Class in org.gmetrics
Helper class to run GMetrics.
GMetricsRunner() - Constructor in GMetricsRunner
GMetricsTask - Class in org.gmetrics.ant
Ant Task for GMetrics.
GMetricsTask() - Constructor in GMetricsTask
greaterThan - Property in SingleSeriesCriteriaFilter
GroovyDslMetricSet - Class in org.gmetrics.metricset
A MetricSet implementation that parses a Groovy DSL of Metric definitions.
GroovyDslMetricSet(String) - Constructor in GroovyDslMetricSet
Construct a new instance on the specified Groovy DSL MetricSet file path

H


I

includes - Property in FilesystemSourceAnalyzer
The ant-style pattern of files to include in the analysis.
includesFunction(Metric, String) - Method in FunctionsCriteriaFilter
includesLevel(Metric, MetricLevel) - Method in LevelsCriteriaFilter
includesMetric(Metric) - Method in MetricsCriteriaFilter
includesName(Map, Metric, String) - Method in MetricCriteriaFilterHelper
initializeDefaultResourceBundle() - Method in AbstractReportWriter
initializeResourceBundle - Property in AbstractReportWriter
isBlock(Statement) - Method in AstUtil
Return true if the Statement is a block
isEmptyBlock(Statement) - Method in AstUtil
Return true if the Statement is a block and it is empty (contains no "meaningful" statements).
isEnabled() - Method in Metric
isFinalVariable(DeclarationExpression, SourceCode) - Method in AstUtil
Return true if the DeclarationExpression represents a 'final' variable declaration.
isFirstVisit(def) - Method in AbstractAstVisitor
Return true if the AST expression has not already been visited.
isFromGeneratedSourceCode(ASTNode) - Method in AstUtil
isMethodCall(MethodCallExpression, String, String) - Method in AstUtil
Return true only if the MethodCallExpression represents a method call for the specified method object (receiver) and method name.
isMethodNamed(MethodCallExpression, String) - Method in AstUtil
Return true only if the MethodCallExpression represents a method call for the specified method name
isNotAnInterface(ClassNode) - Method in AbstractMetric
isSyntheticNonRunMethod(MethodNode) - Method in AbstractAstVisitor

J


K


L

lessThan - Property in SingleSeriesCriteriaFilter
level - Property in ClassResultsNode
level - Property in MethodResultsNode
level - Property in PackageResultsNode
level - Property in SingleSeriesCriteriaFilter
LevelsCriteriaFilter - Class in org.gmetrics.report
Provides data and behavior for enabling reports to filter the set of metrics included in a report.
LevelsCriteriaFilter() - Constructor in LevelsCriteriaFilter
line(int) - Method in AbstractSourceCode
Get the trimmed line at the specified index
line(int) - Method in SourceCode
Get the trimmed line at the specified index
lineNumber - Property in AbcMetricResult
lineNumber - Property in AggregateAbcMetricResult
lineNumber - Property in AggregateNumberMetricResult
lineNumber - Property in NumberMetricResult
ListMetricSet - Class in org.gmetrics.metricset
A MetricSet implementation that returns a static List of Metrics passed into its constructor.
ListMetricSet(List) - Constructor in ListMetricSet
Construct a new instance from the specified List of metrics.
LOG - Property in AbstractReportWriter
LOG - Property in AbstractSourceCode

M

matches(SourceCode) - Method in FilesystemSourceAnalyzer
matches(SourceCode) - Method in SourceCodeCriteria
Return true if all of the criteria specified in this object apply to thw SourceCode.
matches(String) - Method in 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 - Property in AbstractAstVisitor
maxResults - Property in SingleSeriesCriteriaFilter
METHOD - Enum Constant in MetricLevel
Enum representing the level at which a metric is applied - either method, class or package
MethodLineCountAstVisitor - Class in org.gmetrics.metric.linecount
AST Visitor for calculating the lines of code for a method or closure field.
MethodLineCountAstVisitor() - Constructor in MethodLineCountAstVisitor
MethodLineCountMetric - Class in org.gmetrics.metric.linecount
Metric for counting the lines of code for methods and closure fields.
MethodLineCountMetric() - Constructor in MethodLineCountMetric
methodMetricResults - Property in ClassMetricResult
methodMissing(String, def) - Method in MetricSetDelegate
MethodResultsNode - Class in org.gmetrics.resultsnode
Represents a method result node in the hierarchy of metric result nodes
MethodResultsNode() - Constructor in MethodResultsNode
Metric - Interface in org.gmetrics.metric
Represents a metric
metric - Property in AbcMetricResult
metric - Property in AggregateAbcMetricResult
metric - Property in AggregateNumberMetricResult
metric - Property in NumberMetricResult
metric - Property in SingleSeriesCriteriaFilter
metric(Class, Closure) - Method in TopLevelDelegate
MetricCriteriaFilterHelper - Class in org.gmetrics.report
Provides common static helper methods for classes that provides data and behavior for enabling reports to filter the results included within a report based a filter map keyed on the metric name.
MetricCriteriaFilterHelper() - Constructor in MetricCriteriaFilterHelper
MetricLevel - Enum 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)
metricResults - Property in ClassResultsNode
metricResults - Property in MethodResultsNode
metricResults - Property in PackageResultsNode
MetricsCriteriaFilter - Class in org.gmetrics.report
Provides data and behavior for enabling reports to filter the set of metrics included in a report.
MetricsCriteriaFilter() - Constructor in MetricsCriteriaFilter
MetricSet - Interface in org.gmetrics.metricset
Represents a set of (configured) Metric objects
metricSet - Property in AnalysisContext
The MetricSet containing the metrics being applied.
metricSet - Property in GMetricsRunner
metricset(Closure) - Method in MetricSetBuilder
metricSet - Property in MetricSetDelegate
metricset(String, Closure) - Method in TopLevelDelegate
MetricSetBuilder - Class in org.gmetrics.metricset
A Builder for MetricSets.
MetricSetBuilder() - Constructor in MetricSetBuilder
MetricSetDelegate - Class in org.gmetrics.metricset
MetricSetDelegate(MetricSet) - Constructor in MetricSetDelegate
metricSetFile - Property in GMetricsTask

N

name - Property in AbcMetric
name - Property in ClassLineCountMetric
name - Property in CyclomaticComplexityMetric
name - Property in MethodLineCountMetric
name - Property in MetricLevel
name - Property in ReportOption
name - Property in SeriesValue
name - Property in SourceString
normalize(String) - Method in PathUtil
normalizePath(String) - Method in AbstractSourceCode
Return the normalized value of the specified path.
number - Property in NumberMetricResult
NumberMetricResult - Class in org.gmetrics.result
A MetricResult for numbers (integers, BigDecimals, etc.)
NumberMetricResult(Metric, def, Integer) - Constructor in NumberMetricResult
numberOfAssignments - Property in AbcAstVisitor
numberOfBranches - Property in AbcAstVisitor
numberOfConditions - Property in AbcAstVisitor
numberOfLinesInClass - Property in ClassLineCountAstVisitor
numberOfLinesInClosure - Property in MethodLineCountAstVisitor
numberOfLinesInMethod - Property in MethodLineCountAstVisitor

O

options - Property in Report
outputFile - Property in AbstractReportWriter

P

PACKAGE - Enum Constant in MetricLevel
PackageResultsNode - Class in org.gmetrics.resultsnode
Represents a package node in the hierarchy of metric result nodes
PackageResultsNode() - Constructor in PackageResultsNode
parseCriteria(String) - Method in MetricCriteriaFilterHelper
Parse the criteria string
parseCriteriaForSingleMetric(Map, String) - Method in MetricCriteriaFilterHelper
path - Property in ClassPathResource
path - Property in PackageResultsNode
path - Property in SourceString
path - Property in UrlResource
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

Q


R

Report - Class in org.gmetrics.ant
JavaBean class holding the properties for a element with the GMetrics Ant Task.
Report() - Constructor in Report
ReportOption - Class in org.gmetrics.ant
JavaBean class holding the properties for a
ReportOption() - Constructor in ReportOption
ReportWriter - Interface in org.gmetrics.report
Common interface for report writer implementations
reportWriters - Property in GMetricsRunner
reportWriters - Property in GMetricsTask
Resource - Interface in org.gmetrics.util.io
Defines the interface for objects that represent a resource (e.g. a file) and provide access to its InputStream.
resourceBundle - Property in 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 - Property in AntFileSetSourceAnalyzer

S

scale - Property in AggregateNumberMetricResult
SEP - Property in FilesystemSourceAnalyzer
SeriesValue - Class in org.gmetrics.report
Holder for a single data item within a series
SeriesValue(String, Object) - Constructor in SeriesValue
setFunctions(String) - Method in FunctionsCriteriaFilter
setLevels(String) - Method in LevelsCriteriaFilter
setMetrics(String) - Method in MetricsCriteriaFilter
setPath(String) - Method in SourceString
setPropertyFromString(Object, String, String) - Method in PropertyUtil
Set the value of the named property on the specified Object from a String value.
setSourceCode(SourceCode) - Method in AstVisitor
Set the SourceCode associated with this visitor
SingleSeriesCriteriaFilter - Class in org.gmetrics.report
Provides data and behavior for enabling reports to filter the results based on a single metric, single level and single function to provide a single series of data.
SingleSeriesCriteriaFilter() - Constructor in SingleSeriesCriteriaFilter
SingleSeriesHtmlReportWriter - Class in org.gmetrics.report
ReportWriter that generates a HTML report for a single series of metric values.
SingleSeriesHtmlReportWriter() - Constructor in SingleSeriesHtmlReportWriter
sort - Property in SingleSeriesCriteriaFilter
SOURCE_LINE_LAST_SEGMENT_LENGTH - Property in 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.
sourceAnalyzer - Property in GMetricsRunner
SourceCode - Interface in org.gmetrics.source
Represents a unit of source code to be analyzed
sourceCode - Property in AbstractAstVisitor
SourceCodeCriteria - Class in org.gmetrics.source
Represents the set of criteria used to filter source code (files).
SourceCodeCriteria() - Constructor in SourceCodeCriteria
sourceCodeFactory - Property in FilesystemSourceAnalyzer
sourceDirectories - Property in AnalysisContext
The List of source directories being analyzed.
SourceFile - Class in org.gmetrics.source
The SourceCode implementation for a single file.
SourceFile(File) - Constructor in SourceFile
Construct a new instance for the file at the specified path
sourceLine(ASTNode) - Method in 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 in SourceString
Construct a new instance for the file at the specified path
subtitle - Property in SingleSeriesHtmlReportWriter

T

title - Property in BasicHtmlReportWriter
title - Property in SingleSeriesHtmlReportWriter
title - Property in XmlReportWriter
TopLevelDelegate - Class in org.gmetrics.metricset
TopLevelDelegate() - Constructor in TopLevelDelegate
toString() - Method in AbcMetricResult
toString() - Method in AbcVector
toString() - Method in AggregateAbcMetricResult
toString() - Method in AggregateNumberMetricResult
toString() - Method in ClassMetricResult
toString() - Method in ClassResultsNode
toString() - Method in MethodResultsNode
toString() - Method in MetricLevel
toString() - Method in NumberMetricResult
toString() - Method in PackageResultsNode
toString() - Method in SeriesValue
toString() - Method in SourceFile
toString() - Method in SourceString
type - Property in Report

U

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

V

value - Property in AggregateAbcMetricResult
value - Property in ReportOption
value - Property in SeriesValue
valueOf(String) - Method in MetricLevel
Returns the enum constant of this type with the specified name.
values() - Method in MetricLevel
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION_FILE - Property in AbstractReportWriter
visitBinaryExpression(BinaryExpression) - Method in AbcAstVisitor
visitBinaryExpression(BinaryExpression) - Method in CyclomaticComplexityAstVisitor
visitBooleanExpression(BooleanExpression) - Method in AbcAstVisitor
visitCatchStatement(CatchStatement) - Method in CyclomaticComplexityAstVisitor
visitClass(ClassNode) - Method in ClassLineCountAstVisitor
visitClosureExpression(ClosureExpression) - Method in MethodLineCountAstVisitor
visitConstructorCallExpression(ConstructorCallExpression) - Method in AbcAstVisitor
visited - Property in AbcAstVisitor
visitForLoop(ForStatement) - Method in CyclomaticComplexityAstVisitor
visitIfElse(IfStatement) - Method in AbcAstVisitor
visitIfElse(IfStatement) - Method in CyclomaticComplexityAstVisitor
visitMethod(MethodNode) - Method in AbcAstVisitor
visitMethod(MethodNode) - Method in CyclomaticComplexityAstVisitor
visitMethod(MethodNode) - Method in MethodLineCountAstVisitor
visitMethodCallExpression(MethodCallExpression) - Method in AbcAstVisitor
visitNotExpression(NotExpression) - Method in AbcAstVisitor
visitPostfixExpression(PostfixExpression) - Method in AbcAstVisitor
visitPrefixExpression(PrefixExpression) - Method in AbcAstVisitor
visitPropertyExpression(PropertyExpression) - Method in AbcAstVisitor
visitPropertyExpression(PropertyExpression) - Method in CyclomaticComplexityAstVisitor
visitSwitch(SwitchStatement) - Method in AbcAstVisitor
visitSwitch(SwitchStatement) - Method in CyclomaticComplexityAstVisitor
visitTernaryExpression(TernaryExpression) - Method in AbcAstVisitor
visitTernaryExpression(TernaryExpression) - Method in CyclomaticComplexityAstVisitor
visitTryCatchFinally(TryCatchStatement) - Method in AbcAstVisitor
visitWhileLoop(WhileStatement) - Method in CyclomaticComplexityAstVisitor

W

WildcardPattern - Class in org.gmetrics.util
Represents a string pattern that may optionally include wildcards ('*', '**' or '?')
WildcardPattern(String, boolean) - Constructor in WildcardPattern
Construct a new WildcardPattern instance on a single pattern or a comma-separated list of patterns.
writeReport(ResultsNode, AnalysisContext) - Method in AbstractReportWriter
writeReport(Writer, ResultsNode, AnalysisContext) - Method in BasicHtmlReportWriter
writeReport(ResultsNode, AnalysisContext) - Method in ReportWriter
writeReport(Writer, ResultsNode, AnalysisContext) - Method in SingleSeriesHtmlReportWriter
writeReport(Writer, ResultsNode, AnalysisContext) - Method in XmlReportWriter
writeToStandardOut - Property in AbstractReportWriter

X

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

Y


Z


_


Groovy Documentation