Home>

https://stackoverflow.com/questions/48697040/why-complexity-function-was-removed-in-sonar-6-7
According to v6.7, the complexity of the function function_complexity is calculated but hidden.
How to display this hidden function_complexity

  • Answer # 1

    Currently only two selectors were found.

    Add Complexity in functions in the Metric column of Quality Gate, and point out a function with high complexity as an error or warning

    Revert to SonarQube v6.6. (Complexity in functions was removed in v6.7)