ObjectiveC Cyclomatic complexity

Must-share information (formatted with Markdown):

  • SonarQube Server 7.9.1
    Issue-* ObjectiveC .m cyclomatic complexity isnt visible
  • under Administration-generalSettings-C/C++/ObjectiveC my file extension (.m,.h) is listed and Objective code exists under source root

Hi @alex1234,

what version of SonarCFamily C/C++ analyzer do you have installed? Could you please make sure you have version 6.4? In version 6.4 we fixed a bug related to complexity and Objective-C: CPP-2252.

1 Like

Thanks @mpaladin Not sure how to find my SonarCFamily analyzer version.
But from this URL it seems I have 6.4 since I am using 7.9+ on Server.
image
Sharing what I am aware of:
SonarQube Developer Edition Server 7.9.1
sonarScanner 4.0.0.1744

Hi @alex1234,

you can check the version you have installed on the Marketplace page of your instance.

It says that version 6.4 is available for 7.9+, not that it is shipped with version 7.9.

1 Like

Thanks and you are right. I have 6.3, looks like in need to update to 6.4
Any links for noobs :slight_smile:

Hi @alex1234,

you can update the SonarCFamily analyzer from the Marketplace page of your SonarQube instance.

thanks I was able to remove earlier zipfile and replace with 6.4 zip file and restarted SonarQube to get 6.4 analyzer

1 Like