Improve issue templates

This commit is contained in:
Andreas Dangel 2021-04-29 10:53:41 +02:00
parent 4250130e94
commit e7ebae1cea
5 changed files with 34 additions and 6 deletions

View File

@ -1,8 +1,8 @@
---
name: Rule violation
about: Let us know about a false positive/false negative
name: Rule violation (false positive)
about: Let us know about a false positive
title: ''
labels: 'a:false-positive, a:false-negative'
labels: 'a:false-positive'
assignees: ''
---
@ -25,8 +25,6 @@ Please provide the rule name and a link to the rule documentation:
**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
PMD reports a violation at line ..., but that's wrong. That's a false positive.
**Running PMD through:** *[CLI | Ant | Maven | Gradle | Designer | Other]*

View File

@ -0,0 +1,30 @@
---
name: Rule violation (false negative)
about: Let us know about a false negative
title: ''
labels: 'a:false-negative'
assignees: ''
---
<!-- Please, prefix the report title with the language it applies to within brackets, such as [java] or [apex] -->
**Affects PMD Version:**
**Rule:**
Please provide the rule name and a link to the rule documentation:
<https://pmd.github.io/latest/pmd_rules_XXX_XXX.html#XXX>
**Description:**
**Code Sample demonstrating the issue:**
```
```
**Expected outcome:**
PMD should report a violation at line ..., but doesn't. This is a false-negative.
**Running PMD through:** *[CLI | Ant | Maven | Gradle | Designer | Other]*