I would love to have the ability to exclude “meaningless changes” from beeing measured as “new lines” or “new code”.
A modarator told me, that sonar is interpreting everything as “new Code” which comes from source control via the
So even a single line which which has two lines in the next commit (line break added) is considered to be new code.
There should be a way to to ignore such changes (in languages where it makes sense).
(Compare X lines around the change if it is the same when ignoring whitespaces)
As CodeHighlighting is also already a thing, it should not be too hard to ignore whitespace changes only outside of Strings.