|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.gmetrics.analyzer.FilesystemSourceAnalyzer
class FilesystemSourceAnalyzer
SourceAnalyzer implementation that recursively processes files from the file system.
Property Summary | |
---|---|
static def |
DEFAULT_INCLUDES
|
static def |
SEP
|
String |
baseDirectory
The base (root) directory. |
String |
excludes
The ant-style pattern of files to exclude from the analysis. |
protected def |
fileFactory
|
String |
includes
The ant-style pattern of files to include in the analysis. |
protected def |
sourceCodeFactory
|
Constructor Summary | |
FilesystemSourceAnalyzer()
|
Method Summary | |
---|---|
ResultsNode
|
analyze(MetricSet metricSet)
Analyze the source with the configured directory tree(s) using the specified metrics and return the results. |
List
|
getSourceDirectories()
|
protected boolean
|
matches(SourceCode sourceCode)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
static final def DEFAULT_INCLUDES
static final def SEP
String baseDirectory
String excludes
includes
and excludes
are specified, then only files/directories that match at least one of the
includes
and none of the excludes
are analyzed.
protected def fileFactory
String includes
includes
and excludes
are specified, then only files/directories that match at least one of the
includes
and none of the excludes
are analyzed.
protected def sourceCodeFactory
Constructor Detail |
---|
FilesystemSourceAnalyzer()
Method Detail |
---|
ResultsNode analyze(MetricSet metricSet)
metricSet
- - the MetricSet to apply to each of the (applicable) files in the source directories
List getSourceDirectories()
protected boolean matches(SourceCode sourceCode)
Groovy Documentation