GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [core] Warn on unneeded suppression · Issue #648 · pmd/pmd

[core] Warn on unneeded suppression #648

New issue
Copy link
New issue
Copy link
Closed
#5609
Closed
[core] Warn on unneeded suppression#648
#5609
Copy link
Assignees
oowekyala
Labels
a:new-ruleProposal to add a new built-in rule
Milestone
7.14.0

Description

@jsotuyod
jsotuyod
opened on Sep 25, 2017
Issue body actions

This is just for brainstorming. I'm not certain it would be possible as a general scenario, or would require a specific rule per-language....

We should warn a user when a PMD suppression is being applied, but there is no warning to be suppressed (either, it was a false positive fixed on a newer version of PMD, the rule was removed / reconfigured, the code was rewritten / modified, whatever).

This will help clean the code, and avoid having new issues suppressed by mistake.

Reacted by Lukasz Slonina, Austin Shalit, Boris Petrov, Nathan Reynolds, Slava Semushin, koalalam, Justin Cohler, Clément Fournier, G. Blake Meike, Andrea Aime and 3 more
Reacted by Justin Cohler

Activity

  1. jsotuyod
    added
    a:new-ruleProposal to add a new built-in rule
    on Oct 1, 2017
  2. adangel commented on Jun 12, 2018

    @adangel
    adangel
    on Jun 12, 2018
    Member
    More actions

    See #1188

  3. jsotuyod
    added this to the 7.0.0 milestone on May 14, 2020
  4. adangel
    modified the milestones: 7.0.0, 7.x on Jan 23, 2023
  5. oowekyala
    self-assigned this
    on Mar 17, 2025
  6. oowekyala
    marked Validate false-negative suppression #5749 as a duplicate of this issue on May 17, 2025
  7. Pankraz76 commented on May 17, 2025

    @Pankraz76
    Pankraz76
    on May 17, 2025
    Contributor
    More actions

    Whats the issue here? Its the design complex, hindering adjustment?

    Happy path should be simple, collect violations, delta against suppression, right?

    Could start quite easy with this giving happy path. Continue from there the edge cases.

    check for false-negative suppression like seen in:

    • Pull #16961: include PMD UnusedPrivateMethod checkstyle/checkstyle#16961
    • Pull #16962: include PMD GuardLogStatement checkstyle/checkstyle#16962
  8. adangel
    modified the milestones: 7.x, 7.14.0 on May 29, 2025
  9. adangel
    added a commit that references this issue on May 30, 2025

    [doc] Update release notes (pmd#5609, pmd#648)

    86ed0d4
  10. adangel
    closed this as completedin #5609on May 30, 2025
  11. Pankraz76 commented on May 30, 2025

    @Pankraz76
    Pankraz76
    on May 30, 2025 via email
    Contributor
    More actions
    Nice. Sent from my iPhoneOn 30 May 2025, at 18:25, Andreas Dangel ***@***.***> wrote: Closed #648 as completed via #5609. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @oowekyala
    oowekyala

Labels

a:new-ruleProposal to add a new built-in rule

Type

No type

Projects

No projects

    Milestone

    • 7.14.0

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.