Duplication says 26 new lines, hwoever only 1 new lines changes

Hi team,

I am using sonar build in our internal server and build is passing.
However, when we are checking the quality gate we found issue in 26 duplicate lines.
I am bit surprised with this analysis, because we did change only 1 line in current branch then how it’s showing 26 duplicate lines.

Looking forward for guidance if possible.

Thanks

Hi,

Welcome to the community!

Would you mind providing a screenshot of this, redacted as necessary?

Specifically, I’m interesting in seeing the duplication marginal marker and the new code highlight.

 
Thx,
Ann