Show Find Suspect Cut and Paste for Java Source Files
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 99
- Forks
- 42
- Avg merge
- 20h 19m
- Merged PRs (30d)
- 19
Description
When I right click a project and click on the PMD menu, I see the "Find Suspect Cut and Paste..." (FSCAP) menu item. When I right click a Java source file and click on the PMD menu, the FSCAP is not shown. Please show this menu item for Java source files and packages.
I have a long test class and it has several cut and paste problems in it. I would like to avoid running FSCAP for the entire project when I only need it for 1 file.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the PMD menu handling for projects, Java source files, and packages, then compare how the Find Suspect Cut and Paste action is exposed. Done means the FSCAP menu item appears for Java files and packages and runs only against the selected scope rather than the entire project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100