2020-02-13 18:40:25 +01:00
|
|
|
---
|
|
|
|
name: Rule violation
|
|
|
|
about: Let us know about a false positive/false negative
|
|
|
|
title: ''
|
2020-04-04 18:29:50 +02:00
|
|
|
labels: 'a:bug'
|
2020-02-13 18:40:25 +01:00
|
|
|
assignees: ''
|
|
|
|
|
|
|
|
---
|
|
|
|
<!-- Please, prefix the report title with the language it applies to within brackets, such as [java] or [apex] -->
|
|
|
|
|
|
|
|
**Affects PMD Version:**
|
|
|
|
|
|
|
|
**Rule:**
|
|
|
|
|
2020-03-21 11:44:22 +01:00
|
|
|
Please provide the rule name and a link to the rule documentation:
|
|
|
|
<https://pmd.github.io/latest/pmd_rules_XXX_XXX.html#XXX>
|
|
|
|
|
2020-02-13 18:40:25 +01:00
|
|
|
**Description:**
|
|
|
|
|
|
|
|
**Code Sample demonstrating the issue:**
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
**Expected outcome:**
|
|
|
|
|
|
|
|
* Does PMD report a violation, where there shouldn't be one? -> false-positive
|
|
|
|
* Is PMD missing to report a violation, where there should be one? -> false-negative
|
|
|
|
|
|
|
|
|
|
|
|
**Running PMD through:** *[CLI | Ant | Maven | Gradle | Designer | Other]*
|