Displaying 2 results from an estimated 2 matches for "region0".
Did you mean:
region
2020 May 03
2
[EXTERNAL] How to get branch coverage by using 'source-based code coverage'
Hi, Alan
Really very excited to receive your email and sorry to be slow replying, it
has been exceptionally busy over the last few days ;(
Your explanation made the problem clear to me. So gcov branch coverage
should be called condition coverage and clang region coverage
is branch coverage in fact(also known as *decision/C1*), right?
And llvm/clang will support all the following coverage
2020 May 04
2
[EXTERNAL] How to get branch coverage by using 'source-based code coverage'
...;
> Hi Ted!
>
>
>
> I would not say that clang region coverage is branch coverage(‘aka
> decision coverage’). I would say that it may be possible to extrapolate
> branch decision coverage based on region coverage. For example, consider
> the following:
>
>
>
> [region0]
>
> if (decision) {
>
> [region1]
>
> }
>
>
>
> Region coverage will tell you that whether [region1] was executed, and
> this will be enough to tell you that the branch decision evaluated to True
> at least once. However, this will not tell you how many time...