We are using SonarQube v10.1, but, despite what I can find on this page, SonarQube seems to be still unable to detect relocated files in Pull Requests.
Basically, all relocated code seems to be treated as new code.
Any ideas why?
If it can be useful, we are also getting the following error from our CI/CD (for ALL files in the PR, not only renamed ones):
INFO: SCM Publisher SCM provider for this project is: git
INFO: SCM Publisher 60 source files to be analyzed
WARN: Shallow clone detected, no blame information will be provided. You can convert to non-shallow with 'git fetch --unshallow'.
INFO: SCM Publisher 0/60 source files have been analyzed (done) | time=5ms
WARN: Missing blame information for the following files:
Despite the above error, SonarQube analysis is working OK for all files but renamed/relocated ones.