Skip to content
This documentation applies to Codacy Self-hosted

For the latest updates and improvements, see the latest Cloud documentation instead.

Badges

Codacy supports badges you can integrate into your repositories to show your repository code quality level. 

You can add a badge directly to your repo by clicking the option "Badge" directly in your repository dashboard.

Screenshot_2019-01-07_at_14.16.15.png

If you go to your Repository Settings -> General tab you have the option to add the badge with your Codacy grade (same as above) and, if you set up Code Coverage, a badge for your coverage.

Creating badges for different branches?

You can do that if in the end of the badge URL, you add the query parameter "branch=BRANCH_NAME". 

Example: https://api.codacy.com/project/badge/Grade/72a7aaa0e3fd4a8db27607da159d3daa?branch=test

Share your feedback 📢

Did this page help you?

Thanks for the feedback! Is there anything else you'd like to tell us about this page?

We're sorry to hear that. Please let us know what we can improve:

Alternatively, you can create a more detailed issue on our GitHub repository.

Thanks for helping improve the Codacy documentation.

If you have a question or need help please contact support@codacy.com.

Last modified November 17, 2020