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

[Maintenance] Change PMD to only report errors for production code #448

Open
2 tasks done
devtobi opened this issue Mar 20, 2025 · 0 comments
Open
2 tasks done

[Maintenance] Change PMD to only report errors for production code #448

devtobi opened this issue Mar 20, 2025 · 0 comments
Labels
Component: Tools Issues regarding the dev tools Priority: Medium The issue contains work with medium priority. Type: Maintenance The issue contains maintenance work.

Comments

@devtobi
Copy link
Member

devtobi commented Mar 20, 2025

Relevant component

No response

Problem description (optional)

Currently PMD throws errors in test code as well.
As test code does not require as a high quality as code in production, ershould change the behaviour of PMD
to only fail the build for errors in production code and throw warnings for problems in test code (if that is possible)

Desired solution

Adjust the PMD configuration to only throw errors for production code and throw warnings for test code.

Considered alternatives (optional)

Alternatively modify the rule set for test scenarios to an acceptable subset.

Additional context (optional)

No response

No duplicate

  • I confirm that this issue is not a duplicate

Code of Conduct

  • I agree to follow this project's Code of Conduct
@devtobi devtobi added Component: Tools Issues regarding the dev tools Priority: Medium The issue contains work with medium priority. Type: Maintenance The issue contains maintenance work. labels Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Tools Issues regarding the dev tools Priority: Medium The issue contains work with medium priority. Type: Maintenance The issue contains maintenance work.
Projects
Status: Open
Development

No branches or pull requests

1 participant