Skip to content

Code quality severity rating

Problem to solve

As a developer, I want to see the severity of code quality problems in the Merge request, so that I can make a decision about how important they are to fix with confidence.

Issue idea came from: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1984#note_31097686

Intended Users

Sasha (Software Developer) - who is authoring MRs that trigger the code climate to report degradations.

Proposal

Show severity rating for codeclimate info using the severity from the .json file. Designs are included below on how these will display using badges from https://design.gitlab.com/.

The severity ratings are info, minor, major, critical, and blocker.

Example from codeclimate.json file Screenshot_2020-06-16_16.01.02

What does success look like, and how can we measure that?

Acceptance Criteria

  • Severity is shown in the MR widget
  • Unknown severity is just ignored

Related issues

Edited by James Heimbuck