A badge status is computed based on the statuses of the analyses that belong to the latestvalid build. A build is valid if its result is complete, meaning that the build has not been canceled nor it is queued/running.
There are 3 possible statuses:
All of the analyses in the latest valid build have the status "No undefined behavior".
At least one analysis in the latest valid build does not have the status "No undefined behavior" so it should be fixed.