Skip to content

Split Unused* rules into implementation and interface versions #343

Open
@zaneduffield

Description

@zaneduffield

Prerequisites

  • This improvement has not already been suggested.
  • This improvement should not be implemented as a separate rule.

Rule to improve

Unused*

Improvement description

Split each Unused* rule (e.g. UnusedConstant, UnusedField, etc.) into an implementation and interface variant.

Rationale

Currently integrated-application-development/delphilint chooses not to run the Unused* rules in its analysis, because it's so likely to be inaccurate when only scanning a subset of the source files for a project.

If the rules were divided into 'public' and 'private' variants, then delphilint would be able to run the 'implementation' variants and confidently report unused local variables, constants, fields, methods, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovements to an existing featureruleImprovements or additions to rules

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions