I have a sonarqube sever (developer edition v7.9 LTS), and I use azure DevOps integration to scan projects with full build on master. On one of the projects issues and code smells suddenly disappeared with no apparent reason, the following is the last scan with issues:
Could you also show a graph of your Lines of Code across time? I suspect something is toggling in your analysis settings that is including and then excluding the bulk of your code.
Could you please elaborate more. Where can I get this information from Sonar? I have a git repo on Azure DevOps and the integration is straight forward, no extra settings defined.
Also since sonar is integrated with MSBuild, if one build fails, does it mean sonar will remove all existing issues?
Thanks for the graph. It doesn’t show what I expected to see: instead of a jagged line that jumps back and forth from 0 to ~15k I see slow but steady growth. I.e. there’s not something toggling what’s included (or not!) in analysis. It also doesn’t show a lot of profile change events in that left rail, so we can’t explain it with rules being toggled off & on.
I think the next step is to share 2 analysis logs: 1 from a 0-issues analysis and one from a normal analysis. And TBH, I’ll probably be out of my depth at that point since I’m not .NETy but if so we can wait for the specialists to show up.