| Package | Description |
|---|---|
| com.atlassian.maven.plugin.clover.internal.scanner |
| Modifier and Type | Class and Description |
|---|---|
class |
LanguageFileExtensionFilter
Performs filtering of file list based on file extension(s) for given programming language.
|
| Modifier and Type | Field and Description |
|---|---|
static LanguageFileFilter |
LanguageFileExtensionFilter.ANY_LANGUAGE
Filter accepting all sources.
|
static LanguageFileFilter |
LanguageFileExtensionFilter.GROOVY_LANGUAGE
Filter accepting Groovy sources only.
|
static LanguageFileFilter |
LanguageFileExtensionFilter.JAVA_LANGUAGE
Filter accepting Java sources only.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String[]> |
CloverSourceScanner.getSourceFilesToInstrument(LanguageFileFilter languageFileFilter,
boolean skipGroovySourceDirectory)
Returns the list of source files to instrument taking into account the includes and excludes specified by
the user and additionaly taking into account a programming language.
|
Map<String,String[]> |
AbstractSourceScanner.getSourceFilesToInstrument(LanguageFileFilter languageFileFilter,
boolean skipGroovySourceDirectory)
This method can handle a special case: don't return excludes from native Groovy source directory (src/main/groovy
or src/test/groovy) because such files shall not be copied to instrumented sources directory
(target/clover/src-instrumented or target/clover/src-test/instrumented); a reason is that gmaven and
groovy-eclipse-plugin have the src/(main|test)/groovy location hardcoded and they will compile this source root
no matter what other compilation source roots or source directory are provided; it means that we would end
up with a 'duplicate class' build error if files would be copied.
|
Copyright © 2019 OpenClover.org. All rights reserved.