| Package | Description |
|---|---|
| edu.hm.hafner.analysis |
Provides base classes and utilities to parse files for warnings, issues, and so on.
|
| edu.hm.hafner.analysis.parser |
The available parsers.
|
| edu.hm.hafner.analysis.parser.dry |
| Modifier and Type | Field and Description |
|---|---|
protected static Issue |
RegexpParser.FALSE_POSITIVE
Used to define a false positive warnings that should be excluded after the regular expression scan.
|
| Modifier and Type | Method and Description |
|---|---|
Issue |
IssueBuilder.build()
Creates a new
Issue based on the specified properties. |
protected abstract Issue |
RegexpParser.createIssue(Matcher matcher,
IssueBuilder builder)
Creates a new issue for the specified pattern.
|
Issue |
Report.findById(UUID issueId)
Returns the issue with the specified ID.
|
Issue |
Report.get(int index)
Returns the issue with the specified index.
|
Issue |
Report.remove(UUID issueId)
Removes the issue with the specified ID.
|
| Modifier and Type | Method and Description |
|---|---|
Predicate<Issue> |
Report.IssueFilterBuilder.build()
Create a IssueFilter.
|
static Predicate<Issue> |
Issue.byCategory(String category)
Returns a predicate that checks if the category of an issue is equal to the specified category.
|
static Predicate<Issue> |
Issue.byFileName(String fileName)
Returns a predicate that checks if the file name of an issue is equal to the specified file name.
|
static Predicate<Issue> |
Issue.byModuleName(String moduleName)
Returns a predicate that checks if the module name of an issue is equal to the specified module name.
|
static Predicate<Issue> |
Issue.byOrigin(String origin)
Returns a predicate that checks if the origin of an issue is equal to the specified origin.
|
static Predicate<Issue> |
Issue.byPackageName(String packageName)
Returns a predicate that checks if the package name of an issue is equal to the specified package name.
|
static Predicate<Issue> |
Issue.bySeverity(Severity severity)
Returns a predicate that checks if the severity of an issue is equal to the specified severity.
|
static Predicate<Issue> |
Issue.byType(String type)
Returns a predicate that checks if the type of an issue is equal to the specified type.
|
Set<Issue> |
Report.findByProperty(Predicate<? super Issue> criterion)
Finds all issues that match the specified criterion.
|
static Function<Issue,String> |
Issue.getPropertyValueGetter(String propertyName)
Returns a function that can dynamically obtain the value of the property with the specified name of an issue
instance.
|
Iterator<Issue> |
Report.iterator() |
Stream<Issue> |
Report.stream()
|
| Modifier and Type | Method and Description |
|---|---|
Report |
Report.add(Issue issue)
Appends the specified issue to the end of this report.
|
Report |
Report.addAll(Issue issue,
Issue... additionalIssues)
Appends all of the specified issues to the end of this report, preserving the order of the array elements.
|
Report |
Report.addAll(Issue issue,
Issue... additionalIssues)
Appends all of the specified issues to the end of this report, preserving the order of the array elements.
|
IssueBuilder |
IssueBuilder.copy(Issue copy)
Initializes this builder with an exact copy of aal properties of the specified issue.
|
static String |
Issue.getPropertyValueAsString(Issue issue,
String propertyName)
Returns the value of the property with the specified name for a given issue instance.
|
| Modifier and Type | Method and Description |
|---|---|
Report |
Report.addAll(Collection<? extends Issue> issues)
Appends all of the specified issues to the end of this report, preserving the order of the array elements.
|
Report |
Report.filter(Predicate<? super Issue> criterion)
Finds all issues that match the specified criterion.
|
Set<Issue> |
Report.findByProperty(Predicate<? super Issue> criterion)
Finds all issues that match the specified criterion.
|
<T> Set<T> |
Report.getProperties(Function<? super Issue,T> propertiesMapper)
Returns the different values for a given property for all issues.
|
<T> Map<T,Integer> |
Report.getPropertyCount(Function<? super Issue,T> propertiesMapper)
Returns the number of occurrences for every existing value of a given property for all issues.
|
| Constructor and Description |
|---|
Issue(Issue copy)
Creates a new instance of
Issue using the properties of the other issue instance. |
| Modifier and Type | Method and Description |
|---|---|
protected Issue |
QacSourceCodeAnalyserParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
AnsibleLintParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
RfLintParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
PerlCriticParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
Gcc4LinkerParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
PuppetLintParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
TnsdlParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
GhsMultiParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
MavenConsoleParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
SunCParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
Pep8Parser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
TaskingVxCompilerParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
InvalidsParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
GoLintParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
RobocopyParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
EclipseParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
SbtScalacParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
RuboCopParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
JavaDocParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
FlexSdkParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
SphinxBuildParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
CoolfluxChessccParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
YuiCompressorParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
BuckminsterParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
ClangTidyParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
IntelParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
Gcc4CompilerParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
PyLintParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
LinuxKernelOutputParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
ScalacParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
CppLintParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
GnuMakeGccParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
Armcc5CompilerParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
JavacParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
IarParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
AcuCobolParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
ArmccCompilerParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
XlcCompilerParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
GoVetParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
MetrowerksCwLinkerParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
DoxygenParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
CodeAnalysisParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
GccParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
DrMemoryParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
NagFortranParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
PreFastParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
ClangParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
P4Parser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
MetrowerksCwCompilerParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
GnuFortranParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
XlcLinkerParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
GnatParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
AntJavacParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
MsBuildParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
PhpParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
ErlcParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
CadenceIncisiveParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
TiCcsParser.createIssue(Matcher matcher,
IssueBuilder builder) |
protected Issue |
DiabCParser.createIssue(Matcher matcher,
IssueBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
List<Issue> |
DuplicationGroup.getDuplications() |
| Modifier and Type | Method and Description |
|---|---|
void |
DuplicationGroup.add(Issue issue)
Adds the specified duplication (represented by an
Issue instance) to this group of duplications. |
Copyright © 2018. All rights reserved.