|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.codenarc.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. |
String |
includes
The ant-style pattern of files to include in the analysis. |
| Method Summary | |
|---|---|
Results
|
analyze(RuleSet ruleSet)
Analyze the source with the configured directory tree(s) using the specified RuleSet and return the report results. |
List
|
getSourceDirectories()
|
protected void
|
initializeWildcardPatterns()
|
protected boolean
|
matches(SourceCode sourceFile)
|
| 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.
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.
| Method Detail |
|---|
Results analyze(RuleSet ruleSet)
ruleset - - the RuleSet to apply to each of the (applicable) files in the source directories
List getSourceDirectories()
protected void initializeWildcardPatterns()
protected boolean matches(SourceCode sourceFile)
Groovy Documentation