Code Smell rule showing as Bug

SonarQube code smell rule is showing as Bug during dotnet core project analysis.

Why is it showing under bug? and how to fix it?

Hi @arohithr8,

Perhaps someone changed the type on this particular issue. If you click on the history (the link with the text “2 months ago” in your screenshot) does it reveal when it was changed and by whom?

Its strange, I don’t see the bug on latest analysis!