Skip to content

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

@devtobi

Description

@devtobi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: ToolsIssues regarding the dev toolsType: MaintenanceThe issue contains maintenance work.

    Type

    No type

    Projects

    Status

    Open

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions