Complexity Tab in sonarQube

  • I am using sonarQube Enterprise Edition version 8.9.2
  • For a particular branch/PR I want to check complexity (cyclometric, cognitive). But it is not visible under Project overview section in Measures tab. For some branches/PR it is visible and for some it is not.
  • I have tried raising PR, creating branch on different branches (Master, develop, feature) but in vain.


Welcome to the community!

Could we have an example of a PR without complexity metrics? Metrics are computed at the file level by individual language analyses and then aggregated at higher levels. If you don’t see those metrics, it’s likely that there were no relevant files on which to compute them. I.e. that the PR changes weren’t in “code” files. Does this make sense?