Skip to content
This documentation applies to Codacy Self-hosted v3.0.0

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

Badges

You can add a Codacy badge to the README of your repository to display the current code quality grade or code coverage.

To obtain your Codacy badge, open your repository Settings, tab General, select the markup language, and copy the generated code to your README file. If you have set up code coverage for your repository, you can also add a badge for your coverage.

If you want the Codacy badge to display information for a different branch, specify the name of the branch by appending the query parameter branch=<branch_name> to the URL of the badge. For example:

https://app.codacy.com/project/badge/Grade/cba8fd0874ac4f569f4f880e473cbac9?branch=dev

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 August 16, 2020