Duplicate Code analysis for java

SonarQube Version: 6.7.6 (build 38781)

Duplicate Code analysis goes beyond scope.
It should not count the annotations of the next method

Plugin version: sonar-java-plugin-5.11.0.17289.jar

Hello Peter,

Do you reproduce the problem with the latest version of SonarQube (7.7 was just released, can you try it)?

If the answer is yes, can you provide a reproducer that we can compile/scan on our side?

Thanks

Hello Peter,

I know you tried to send a ZIP of your reproducer and he was discarded. The best to share a reproducer is still to upload the code on a GitHub or Bitbucket repo and share the link.

Thanks

Our policies do not allow this method of transfer.

Archiving this topic due a lack of activity. If you have a similar problem please start a new topic. Thank you.