Pixel-perfect   Retina-ready   Fast   Consistent   Hackable   No tracking

Code Coverage

Azure DevOps coverage:Azure DevOps coverage badge/azure-devops/coverage/:organization/:project/:definitionId
Azure DevOps coverage (branch):Azure DevOps coverage (branch) badge/azure-devops/coverage/:organization/:project/:definitionId/:branch
Codacy coverage:Codacy coverage badge/codacy/coverage/:projectId
Codacy branch coverage:Codacy branch coverage badge/codacy/coverage/:projectId/:branch
Code Climate coverage:Code Climate coverage badge/codeclimate/:format/:user/:repo
Codecov:Codecov badge/codecov/c/:vcsName/:user/:repo?flag=flag_name&token=a1b2c3d4e5
Codecov branch:Codecov branch badge/codecov/c/:vcsName/:user/:repo/:branch?flag=flag_name&token=a1b2c3d4e5
Coveralls:Coveralls badge/coveralls/:vcsType/:user/:repo
Coveralls branch:Coveralls branch badge/coveralls/:vcsType/:user/:repo/:branch
Gitlab code coverage:Gitlab code coverage badge/gitlab/coverage/:user/:repo/:branch
Gitlab code coverage (specific job):Gitlab code coverage (specific job) badge/gitlab/coverage/:user/:repo/:branch?job_name=test%20coverage%20report
Gitlab code coverage (self-managed):Gitlab code coverage (self-managed) badge/gitlab/coverage/:user/:repo/:branch?gitlab_url=https%3A%2F%2Fgitlab.gnome.org
Gitlab code coverage (self-managed, specific job):Gitlab code coverage (self-managed, specific job) badge/gitlab/coverage/:user/:repo/:branch?gitlab_url=https%3A%2F%2Fgitlab.gnome.org&job_name=unit-test
Jenkins Coverage:Jenkins Coverage badge/jenkins/coverage/:format?jobUrl=https%3A%2F%2Fjenkins.sqlalchemy.org%2Fjob%2Falembic_coverage
nycrc config on GitHub:nycrc config on GitHub badge/nycrc/:user/:repo?config=.nycrc&preferredThreshold=lines
Scrutinizer coverage (GitHub/BitBucket):Scrutinizer coverage (GitHub/BitBucket) badge/scrutinizer/coverage/:vcs/:user/:repo/:branch?
Scrutinizer coverage (GitLab):Scrutinizer coverage (GitLab) badge/scrutinizer/coverage/gl/:instance/:user/:repo/:branch?
Sonar Coverage:Sonar Coverage badge/sonar/coverage/:component/:branch*?server=http%3A%2F%2Fsonar.petalslink.com&sonarVersion=4.2
TeamCity Coverage:TeamCity Coverage badge/teamcity/coverage/:buildId?server=https%3A%2F%2Fteamcity.jetbrains.com

Your Badge


Using dash "-" separator


Dashes --- Dash
Underscores ___ Underscore
_ or Space    Space

Using query string parameters






Create badges from your own JSON endpoint.






The following styles are available. Flat is the default. Examples are shown with an optional logo:


Here are a few other parameters you can use: (connecting several with "&" is possible)

?label=healthinessesOverride the default left-hand-side text (URL-Encoding needed for spaces or special characters!)
?logo=appveyorInsert one of the named logos from (bitcoin, dependabot, gitlab, npm, paypal, serverfault, stackexchange, superuser, telegram, travis) or simple-icons. Simple-icons are referenced using icon slugs which can be found on the simple-icons site or in the slugs.md file in the simple-icons repository.
?logo=data:image/png;base64,…Insert custom logo image (≥ 14px high). There is a limit on the total size of request headers we can accept (8192 bytes). From a practical perspective, this means the base64-encoded image text is limited to somewhere slightly under 8192 bytes depending on the rest of the request header.
?logoColor=violetSet the color of the logo (hex, rgb, rgba, hsl, hsla and css named colors supported). Supported for named logos but not for custom logos.
?logoWidth=40Set the horizontal space to give to the logo
?link=http://left&link=http://rightSpecify what clicking on the left/right of a badge should do. Note that this only works when integrating your badge in an<object> HTML tag, but not an<img> tag or a markup language.
?labelColor=abcdefSet background of the left part (hex, rgb, rgba, hsl, hsla and css named colors supported). The legacy name "colorA" is also supported.
?color=fedcbaSet background of the right part (hex, rgb, rgba, hsl, hsla and css named colors supported). The legacy name "colorB" is also supported.
?cacheSeconds=3600Set the HTTP cache lifetime (rules are applied to infer a default value on a per-badge basis, any values specified below the default will be ignored). The legacy name "maxAge" is also supported.

We support .svg and .json. The default is .svg, which can be omitted from the URL.

While we highly recommend using SVG, we also support .png for use cases where SVG will not work. These requests should be made to our raster server https://raster.shields.io. For example, the raster equivalent of https://img.shields.io/npm/v/express is https://raster.shields.io/npm/v/express. For backward compatibility, the badge server will redirect .png badges to the raster server.

Like This?

Have an idea for an awesome new badge?
Tell us about it and we might bring it to you!