Project failing with 0% coverage

Hello Team,
The current pull request of one of the project is failing due to 0% code coverage.
the trunk previously had 0% coverage as well but passed without issues.
Nothing has changed in the repository.

May i know the reason and possible solution behind for a project to fail with 0% code coverage.
How it passed in trunk branch, and why its failing in pull request?

Sonarqube enterprise version 2025.1.2LTA

I can’t determine what happened in the past, but generally, if the Quality Gate is set up to fail when new code coverage drops below a certain percentage—and that’s the situation you’re seeing—then SonarQube is operating as intended!

If you encounter future instances where a Quality Gate passes when it shouldn’t, please report them so we can investigate further!