Skip to content

[core] Reduce priority levels and add confidence value #4327

@adangel

Description

@adangel

We can even think about reducing the numbers of different priority levels. Eclipse and IntelliJ use by default only 3 types: failure, warning, info. (if you consider priority==severity)

+1 to reducing to 3. Specially since everything by default is medium. It's already rare for an org to manually override the value in their ruleset, they probably don't need so much granularity.

Additionally, it could be interesting to add an orthogonal value: confidence (high / low). Ie: when UnnecessaryImport falls back to "best-effort" due to an incomplete auxclasspath, it could report violations at a lower confidence level.

Originally posted by @jsotuyod in #4059 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    an:enhancementAn improvement on existing features / rules

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions