Analysis SonarQube only for new code in the repository


  • sonarQube: 9.2.4

Our project consists of many lines of code written over several years. When I ran sonarQube it analyzed the entire code.
We want sonarQube to analyze new code from its last analysis rather than the entire code of the project again. Can such a thing be done?


Hey there.

It’s not possible to influence the behavior of SonarQube and how it analyzes files – and we have been working in the SonarQube v9.x series to, language-by-language, introduce some support for incremental analysis.

What language(s) are you analyzing and what edition of SonarQube are you using?