Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Enhance PMD output to include source code snippet similar to CPD #3349

Open
gurmsc5 opened this issue Jun 21, 2021 · 0 comments
Open
Labels
an:enhancement An improvement on existing features / rules

Comments

@gurmsc5
Copy link

gurmsc5 commented Jun 21, 2021

Is your feature request related to a problem? Please describe.
Line and column numbers included in PMD outputs like HTML, CSV and XML don't tell the full story. Sometimes as a developer, it can be useful to see the code snippet that was captured by a given rule(similar to CPD).

Describe the solution you'd like
Include source code snippet in HTML, CSV, XML output and any other desired output format.

Describe alternatives you've considered
Create a separate tool to parse the files captured by PMD tool to retrieve the code snippet.

Additional context

@gurmsc5 gurmsc5 added the an:enhancement An improvement on existing features / rules label Jun 21, 2021
@adangel adangel changed the title Enhance PMD output to include source code snippet similar to CPD [core] Enhance PMD output to include source code snippet similar to CPD Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
an:enhancement An improvement on existing features / rules
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant