Skip to content

SonarQube reports nested comment issues in autogenerated protobuf files #70

Description

@ReshmaJS

Issue/Feature Description:
SonarQube reports issues in autogenerated protobuf Go files (.pb.go) because they contain empty stub functions without proper nested comments explaining why the functions are intentionally empty.

Why this issue to fixed / feature is needed(give scenarios or use cases):
The issue repeatedly appears during SonarQube analysis on autogenerated protobuf files, causing static analysis violations and affecting code quality checks in CI/CD pipelines.

How to reproduce, in case of a bug:

  1. Generate protobuf Go files (.pb.go).
  2. Run SonarQube analysis on the repository.

Other Notes / Environment Information: (Please give the env information, log link or any useful information for this issue)
NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions