badges/shields

Enhance Sonar Badges

Open

#3.236 aberto em 26 de mar. de 2019

Ver no GitHub
 (0 comments) (3 reactions) (0 assignees)JavaScript (5.423 forks)batch import
good first issueservice-badge

Métricas do repositório

Stars
 (22.337 stars)
Métricas de merge de PR
 (Mesclagem média 6d 3h) (71 fundiu PRs em 30d)

Description

:clipboard: Description We currently provide what I'll call "first class" badge support for a handful of Sonar metrics (code coverage, tech debt, violations, fortify rating, and documented api density).

However, Sonar provides a lot of other metrics (see: https://docs.sonarqube.org/latest/user-guide/metric-definitions/), and the SaaS offering of Sonar (https://sonarcloud.io/about) provides native badges for many of those other metrics.

We technically have badge support for all of those other metrics too, but it's what I'll call "second class" support where we simply display a brightgreen badge blue badge with the raw value (updated to reflect the change in the Sonar refactor in #3189).

For example, here's the native Sonar badge for security rating: Security Rating <-- (live badge) image <-- (bad screenshot I took to capture the state in case the underlying score changes)

And here's our corresponding badge for the exact same metric (https://img.shields.io/sonar/https/sonarcloud.io/com.luckybox:luckybox/security_rating.svg)

Let's add similar "first class" badge support for those other core Sonar metrics!

Guia do colaborador