How to modify option value "NestingThreshold" with "readability-function-size" rule


As the title of the topic indicate, I would like to modify the option value of a rule but I don’t find a way to do it. Concerning the rule, here is the description:
Rule repository = Clang-Tidy (C (Community))
Rule name = readability-function-size

The “NestingThreshold” in red is the option I would like to activate.
To do that I have tried in Administration>Configuration>C(community)>Clang-Tidy custom rules, to put this :

But it dosen’t change anything when I run the analysis.

For your information I’m using:

  • SonarQube 7.7;
  • Sonar-scanner-cli-;
  • sonar-c-plugin-


Fabien Lafargue

Hi @FabienLafargue,

you are using the community C plugin, please refer to their support channel to get help.

Thanks for the redirection, bye

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.