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 — [java] ExcessivePublicCount should report number of public "things" · Issue #5569 · pmd/pmd

[java] ExcessivePublicCount should report number of public "things" #5569

New issue
Copy link
New issue
Copy link
Closed
#6021
Closed
[java] ExcessivePublicCount should report number of public "things"#5569
#6021
Copy link
Labels
an:enhancementAn improvement on existing features / rules
Milestone
7.18.0

Description

@Ledmington
Ledmington
opened on Mar 3, 2025
Issue body actions

Many other "parametric" rules (such as NPathComplexity, CyclomaticComplexity etc.) report both the threshold and the number which triggered the rule. The rule ExcessivePublicCount does not do it and just says This class has a bunch of public methods and attributes.

Affected rules:

  • java
    • ExcessiveImports
    • ExcessiveParameterList
    • ExcessivePublicCount
  • apex - see [apex] ExcessiveClassLength/ExcessiveParameterList include the metric in the message #6022
  • plsql - see [plsql] Excessive*/Ncss*Count/NPathComplexity include the metric #6077

Activity

  1. Ledmington
    added
    an:enhancementAn improvement on existing features / rules
    on Mar 3, 2025
  2. adangel
    changed the title [-]`ExcessivePublicCount` should report number of public "things"[/-] [+][apex][java] ExcessivePublicCount should report number of public "things"[/+] on Sep 11, 2025
  3. adangel
    added this to the 7.18.0 milestone on Sep 11, 2025
  4. adangel
    changed the title [-][apex][java] ExcessivePublicCount should report number of public "things"[/-] [+][java] ExcessivePublicCount should report number of public "things"[/+] on Sep 19, 2025
  5. adangel
    added 2 commits that reference this issue on Sep 19, 2025

    [doc] Update release notes (pmd#5569, pmd#6021)

    d813af5

    [plsql] Excessive*/Ncss*Count/NPathComplexity include the metric

    464cef5
  6. adangel
    closed this as completedin 9f6e8c7on Sep 19, 2025
  7. adangel
    added 2 commits that reference this issue on Sep 19, 2025

    [java] Fix pmd#5569: ExcessiveImports/ExcessiveParameterList/Excessiv…

    This issue will close once commit 9f6e8c7 is merged into the 'main' branch.
    9f6e8c7

    [plsql] Excessive*/Ncss*Count/NPathComplexity include the metric

    This issue will close once commit 5f19854 is merged into the 'main' branch.
    5f19854
  8. adangel
    added a commit that references this issue on Oct 24, 2025

    [plsql] Excessive*/Ncss*Count/NPathComplexity include the metric

    5f260cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    an:enhancementAn improvement on existing features / rules

    Type

    No type

    Projects

    No projects

      Milestone

      • 7.18.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.