GCC Code Coverage Report


../
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
4 / 5
80.0%
Branches:
1 / 2
50.0%
Functions:
1 / 1
100.0%

project/src/main.cpp
Line Branch Exec Source
1 bool no(bool);
2 int yes(int);
3
4 1 int main(int argc, char *argv[])
5 {
6
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
1 if (no(true)) {
7 ✗ return yes(7);
8 }
9 else {
10 1 return yes(10);
11 }
12 1 }
13