What is the exact definition of "New code" based on "reference branch"?

What is the exact definition of “New code” based on “reference branch” ?

If current branch is based on “reference branch”, is the New code from start of current branch to end of current branch ?

Or is the HEAD of the current branch compared to the HEAD of “reference branch” ? So the start of current branch is only the reference in case of “fast-forward”, but when features get merged on the “reference branch”, they become the new reference for “New code” ?

Hey there.

The scanner uses git tries to find the fork date between the analyzed branch and the reference branch. Lines and Issues are classified as new if they come after this date.

1 Like