Sonar detecting old code smells as new on PR decoration

Hi Christian,

PR analysis isn’t actually based on the New Code Definition, but on what’s new in the PR. I suspect this is a problem with the SCM data available to analysis. What’s your fetch-depth when you check out?

Can you share your analysis log?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Ann