How to scan only new code by using sonar qube

Make sure to tell us:

  • What version are you upgrading from?
  • System information (Operating system, Java version, Database provider/version)
  • What’s the issue you’re facing?

How to scan only new code by using sonar qube. Is it worth scaning like this in my opnion it should not give proper reslut. Please help on this.

Hey there.

SonarQube has several built-in features for incremental analysis to speed up analysis time. These work out of the box and except for advanced, documented use-cases (like using a local cache for C/C++ analysis instead of server-side caching) shouldn’t require any tinkering with.

If that’s not what you’re asking… please give some more details!