Fixed code coverage when no instrumented code is executed

Added a validation for no execute code coverage if no instrumented code.