Why Master Branch analysis is showing 0 metrics for all condition in New Code?

Hello Team,

When I am doing the analysis for the long lived branches. The SonarCloud shows 0 metrics for New Code.
Please suggest necessary steps

Hey there.

This sounds like the expected behavior for the first analysis of a long-lived branch (which acts as the baseline for all new code that is then introduced). Does that match the behavior you’re experiencing?

Yes, we are getting 0 metrics results for the analysis. Even the Code coverage is showing 0.
What could be the resolution steps to follow ?
Please suggest

Hey there.

As I mentioned, it sounds like expected behavior until you introduce New Code.

Maybe it would be useful if you shared some screenshots that demonstrate the issue.