How to find full path of duplicated files

In SonarCloud, analysis report is pointing to location of duplicated lines of code. But because of screen size seems like file name is getting cropped…
Is there any other way to find full location of duplicated files…
I am attaching screenshot for better understanding.

Thanks

Hi all,
Any suggestions regarding this ??

Hey there.

Sure looks like a UI bug. I’ll flag this for attention. Meanwhile, higlighting the text (copy + paste) or inspecting the source code (browser dev tools) should reveal the full file name.

And, please don’t bump threads. We have weekends too. :slight_smile:

Hi @sumit1,

The cropped file name is expected, but usually, there is a link leading to the file or the lines of code.
It is strange that you don’t have both in the screenshot.

Is this a public or private project?
Are you the owner of this project?

Regards,
Ismail

Hi @ismail.cherri,
This is private project and i am not the owner of project.

Regards

Hi @sumit1,

I reached out to you privately so that I get more information about the issue.

Regards,
Ismail

Hi @sumit1,

After looking deeper into the issue, the behavior you see is the default behavior is you’re checking a Pull request code or a branch.
I need to get back to my team to know more about this decision and maybe fix it. I’ll keep you updated

Thanks for your report.

Regards,
Ismail

Hi @sumit1,

According to my team, this behavior works as intended.
As of now, SonarCloud only analyzes code related to pull requests, thus there is no way to be sure that the link will lead to the correct version of the file. Hence, it is not a link in case of a pull request.

Regards,
Ismail

Hi, @ismail.cherri ,
Thanks for updates…
My suggestion for such cases would be to let user know the file names instead of hyperlink. User will not be comfortable with copy+paste or inspecting source code workarounds.

Reagrds

Hi @sumit1

Thanks for the suggestion, I will bring it to the concerned team.

Regards,
Ismail