GCC Code Coverage Report


.
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
3 / 3
100.0%
Branches:
1 / 2
50.0%
Functions:
1 / 1, 1 excl
100.0%

main.cpp
Line Branch Exec Source
1
2 inline int foo(int x) __attribute__((always_inline));
3 inline int foo(int x) {
4
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 return x ? 1 : 0;
5 }
6
7 1 int main() {
8 1 return foo(0);
9 }
10