I have a PR analysis done on a project in Azure pipeline and the analysis doesnt show up any issues in sonarUI for the code.
But when the PR is merged in to the branch and analysis is performed then the issues are generated for the same piece of code.
okay…I have realized PR analysis will only throw if particular commit had introduced it.
But it doesnt analyze the whole file in which commit had happened.
Is this existing behavior from 8.1 V? As I havent noticed this in 8.0 version.
IIRC, you’re only going to see in PR analysis the issues that are new on lines changed in the PR. Regarding 8.0, the behavior was probably tuned since then. We’re trying to strike the delicate balance between over- and under-reporting.