How to get more information about Code Duplication

Template for a good new topic, formatted with Markdown:

  • ALM used: Bitbucket
  • CI system used: Bitbucket
  • Languages of the repository: Swift
  • Error observed: 1 duplicated blocks of code must be removed.

How can I get more information about a code duplication error? It’s not clear to me why one line of code in this file is being marked as a duplicate. Is there an area of the UI that gives a detailed explanation besides just highlighting the line? The “Why is this an issue?” button only says:

Source files should not have any duplicated blocks
An issue is created on a file as soon as there is at least one block of duplicated code on this file

But the line of code isn’t actually duplicated anywhere in the file.

And welcome to the community!

When you are viewing your code you should be able to click in the gutter of the duplicated line to see details about duplicated blocks like this: