SonarCloud line count understanding for multiple brances

Hello Guys,

I just trying to understand line count way of Sonar Cloud for below scenario.

Scenario: I have two branches Master and Dev, Dev branch is a clone of Master branch and Master branch scanned by SonarCloud already and published the result as well.

Now if SonarCloud scan Dev branch then does it exclude the same lines which was scanned in Master branch already or SonarCloud count each line in Dev branch while scanning?

Please help me to understand this.


SonarCloud uses the largest branch, and only that branch, of a project when calculating license utilization.