SonarQube Analysis for updated code

(Hugo) #1

I am using the latest version of SonarQube Community.

I was wondering if it’s possible to make SonarQube analyse only the newest added and updated code, from a analysis to another analysis?
This is, let’s say I have 200 lines of code and SonarQube Analysis it. After this I add 50 new code lines to the existent ones (Total: 250 lines. 50 new). Is it possible to configure SonarQube to analyse only the new 50 lines?

My idea is to make SonarQube faster. by not analysing the some code again.

Note: This is for new added code and also for changed code.

(Xavier Bourguignon) #2

Hi Hugo,

What you describe is an “incremental analysis mode”, we did some experiments and our conclusions are well summarized by @NicoB in this thread: