Duplicate issue

Good morning,
I have integrated sonarqube into my gitlab pipeline for a c++ project; the analysis is done for merge requests and for the master branch, the analysis is only done in the source files folder.

I opened an MR and in this MR I only changed my pipeline files, my pipeline file is in a folder not under sonarqube analysis.

In the MR, sonarqube tells me that the code duplication will go from 1.1% to 1.0%.

The question is: how does it predict this percentage change if my MR does not impact the source code?

Thank you


What version of SonarQube are you using? You can check the page footer if you’re not sure.

Would you mind sharing a screenshot of this?


here you are the version: Developer EditionVersion 9.8 (build 63668).
In attach you can find the screenshot


Thanks for the screenshots.

Your first screenshot shows 7.7k new lines. I think you should click through on that number to see what SonarQube thinks has changed. This may be about the SCM data being off.