apache / apache/maven-pmd-plugin
Make filesToProcess a local variable
- Dominant language
- Java
- Stars
- 66
- Forks
- 55
- Avg merge
- 8d 16h
- Merged PRs (30d)
- 7
Description
### Affected version
head
### Bug description
The way it's set up now there's a bug in CpdReport and perhaps PmdReport where executeReport gets an empty filesToProcess if it's called without first calling canGenerateReport, since only the latter populates the map.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate CpdReport and PmdReport and trace executeReport and canGenerateReport to see how filesToProcess is populated. Verify the behavior when executeReport is called directly, and consider the issue resolved when both reports receive the expected files without requiring canGenerateReport first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100