Doubled bugs in the analyzed files

Hello,

we try to configure our SonarQube Developer for usage in a jenkins build chain.

Before we tried the build locally, in a different project.

Now, when we look in the results of the analysis, most of the bugs where doubled.
How can i disable this?

And why this happens although we use different projects on the server for the local analysis results and the results over the jenkins build server?

I have tried to delete the project and use a new on, but same effect.

Best regards

Volker

Hi @vokuit00,

what version of SonarCFamily C/C++ analyzer plugin do you have installed in your SonarQube?

Version 6.6.

Best regards

Volker

Hi @vokuit00,

the issues are on the same lines of code but probably on two different subexpressions, am I wrong? Could you please share that line of code?

Shure, your absolutely right:

*pu32PortValues = Message[1] << 16 | Message[3] << 8 | Message[5];

Thanks a lot for this hint.

Best regards

Volker

1 Like