Skip to content

Implement issue resolution processing (sonar-resolve) #432

@cirras

Description

@cirras

Prerequisites

  • This improvement has not already been suggested.
  • This improvement would be generally useful, not specific to my code or setup.

Engine area

Other

Improvement description

sonar-resolve behavior:

  • Scanners parse sonar-resolve annotations from source code and report them via a new plugin API method.
  • Each annotation must specify:
    • At least one rule key (e.g. java:S123).
    • A mandatory comment.
    • An optional resolution status: accept (default) or fp.
  • The scope of sonar-resolve is the line in which it's written.

See:

Rationale

Meet baseline expectations for a sonar language plugin and stay consistent with official analyzers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineImprovements to the core engineenhancementImprovements to an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions