Skip to content

FindbugsParser - Remove bug details from message field #167

@PaulCormier

Description

@PaulCormier

In the FindbugsParser, the details of the bug is being included in the Violation's message field.

messagesPerType.put(type, shortDescription + "\n\n" + details);

These messages can be very long, and also include HTML formatting. When viewing the report in GitLab (from a CodeClimate output) the message is difficult to read, and badly formatted.

Instead of including the details in the message field, the specifics map could be used. Or perhaps a new field added to Violation.

This would facilitate emitting the details in a more appropriate output field; for instance, in the CodeClimate's content field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions