Pull Analysis doesn’t check Overall Code

Hi everyone,

I came across this thread: Pull Requests and Conditions on Overall Code, which discusses how pull request analysis checks only “new code” conditions rather than “overall code” conditions.

This behavior seems to match what I’m experiencing in my projects. Specifically, I only set a coverage rule of 80% on overall code, but during pull request analysis, the quality gate passes—even though the actual overall coverage is far below the required threshold.

Is there a way to enforce or trigger checks on overall code during pull request analysis? If not, are there any workarounds or best practices to address this scenario?

Thanks in advance for your guidance!

Hi,

There isn’t a way to enforce overall conditions on pull requests. We limit analysis as much as possible to only what’s changed in the PR, so there’s no practical way to do that.

 
HTH,
Ann