See Cognitive Complexity scoring in C source

Hi @tcsabina,

what you see in the video is an issue generated when the cognitive complexity of a function is hit. This rule is already available since a long time for C/C++, SonarCFamily 4.6 precisely (Implementation ticket) and the same for C# and many other languages.

The rule is S3776: https://rules.sonarsource.com/cpp/RSPEC-3776

You can enable it in your quality profile and eventually modify the default threshold.