I use “Enterprise Edition 10.7” and We have the NEW CODE option configured by default (previous version) but in some projects it is not considered new code.
In the latest commits it has not detected new code, do you have any recommendations to do? attached print.
Next, Respect this question: Does this code show up at all under the Code tab of your project, or is it completely absent (rather than simply not being marked as new code)?
Yes, this code show up at all under the new Code.
Yes, if some blame data is missing, that can affect the detection of New Code. It’s very strange that if you’re running your pipeline in a CI/CD context (where all code is committed), you would run into “missing blame information.”
I have a feeling that the screenshot of the logs you’re sharing probably don’t come from the analysis when this new code was first analyzed.
Let’s try this another way – do you see blame data for the file in SonarQube?
By this I mean returning to the file under the Code tab in SonarQube and clicking on the space between the line number and the code, specifically for a line of code shared in the Bitbucket screenshot.