I have a boolean function which uses 'withCoverityEnv'. Inside that code block I have an if statement and when it returns false it does not exit the function, it only exits the withCoverityEnv block
echo " bad "
SomeMoreCode that is skipped
so even when 'someBadCondition' happens
my code ends up returning true
since that return false only exits the 'withCoverityEnv' block