Open gibarrola-mdt opened 5 months ago
@zuevmaxim, locally reproduced
@shanshin For the last inlined call, the compiler replaced previously used IFEQ
with IFNE
instruction, so the coverage agent tracks the first branch as covered twice, and the second one as not covered at all.
Kover 0.8.1 and previous versions are incorrectly calculating the branch % for some reified extensions. Below is a snippet on how to reproduce the observed error:
Internal Function:
Unit Test - results in partial "Branch, %" coverage although the "Instruction, %" is 100%:
Environment