This is for iOS swift project, i have achieved code coverage and code smell details through slather, lizard and swiftlint.
my question is, we have code duplication but why sonarqube is not displaying the data in duplication block? its shows 0% . i have attached screenprint for reference. please address this.
If you check Project Settings → Background Tasks → [row dots menu] → Show Scanner Context for sonar.cpd.exclusions that should either confirm or rule out the theory.
The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.
i have attached analysis log here. i have made some changes which contain org details, but other details are same.
please help on this Ann…
we have android and iOS platform… android kotlin works perfectly with all these stat including duplication, code smell etc…
only for iOS swift projects, we are facing so much problems.
[02:15:53]: INFO: Analyzing on SonarQube server 8.9.6
I can’t help you.
Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:
we have 2 projects… we ran one another seperately to see its stat for duplication, we got duplication stat for 1 project and didnt get dupl block stat for another project.
strange