Some rules are not reported

  • Operating system: Windows 10
  • Visual Studio: VS Community 2022 17.4.3
  • SonarLint plugin version:
  • Programming language you’re coding in: C#
  • Is connected mode used: No

I create some simple (and stupid) code just to to see if rules are reported and unfortunately I cant see it :frowning:

Has anyone know what I am doing wrong ?

Expected rules

Methods should not have too many parameters

Cognitive Complexity of methods should not be too high

Hey there.

Can you please include text-based snippets of code? It’s really hard for anybody to reproduce the issue from screenshots of code.