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

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

How do I reanalyze my repository?#

Reanalyze the last commit in your branch or pull request:

  • To update the Codacy analysis results taking into account the most recent configurations for your repository without waiting for a new commit to trigger the analysis
  • If the grade or Codacy badge for your branch is greyed out and displays an exclamation mark, which means that the analysis information isn't available for the last commit of the branch:

    Greyed-out Codacy badge and repository grade

Important

If you have the setting Run analysis on your build server enabled in your repository Settings page so that you can run client-side tools, you can't trigger a new analysis from the Codacy UI.

Instead, you must manually run the client-side tools or wait for them to report the results for a new commit.

Reanalyzing a branch#

To reanalyze a branch in your repository:

  1. Open the Commits page for your repository and select the correct branch at the top of the page if you configured Codacy to analyze multiple branches.

    Then, select the most recent commit for that branch at the top of the list:

    Selecting the last commit on a branch

  2. Click the icon next to the Current status of the commit to trigger a reanalysis. Codacy will display a message when the analysis is complete.

    Reanalyzing a commit

Reanalyzing a pull request#

To reanalyze a pull request in your repository:

  1. Open the Pull Requests page for your repository and select the pull request that you want to reanalyze.

    Selecting a pull request

  2. Click the icon next to the Current status of the pull request to trigger a reanalysis. Codacy will display a message when the analysis is complete.

    Reanalyzing a pull request

See also#

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 April 13, 2022