We are using SonarQube Enterprise Edition Version 7.9.1 (build 27448) and scanner version 3.3.0.1492
Our concern is that for short lived branches or pull request branches even if developer changes few lines, SonarQube show complete file as changed file and include existing lines also in coverage. Ideally it should consider only changed lines and should show analysis based on that. Our git autocrlf config is set to false.
Hi,
Welcome to the community!
Almost always when the whole file is shown as changed rather than just the relevant lines, there has been a file-wide whitespace change - maybe by the IDE or a checkin process.
Ann
1 Like
Yes it was autocrlf git setting which was set to true. After making it false, this issue seems resolved now. Thanks for your reply.
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.