Will feature branch scanning scan only new lines of code?


I would like to know if the scanning of feature branches scans only new lines of code. Is there a way to have sonarcloud scan the complete code?

Background: we created a branch from master and are scanning the branch for the first time. Master isnt scanned yet. The sonarcloud result shows 0 bugs, vulnerabilities and code smells.



Only new code will be analyzed in feature branch/pull request. You cannot analyze the entire code in a PR/feature branch. You must analyze master if you want the complete code.

Hope that helps,


Thanks for the quick responseā€¦ this helpsā€¦ :+1: