GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 42.9% 3 / 2 / 9
Functions: 50.0% 1 / 0 / 2
Branches: 0.0% 0 / 0 / 2
Conditions: 0.0% 0 / 0 / 2

A/file3.cpp
Line Branch Condition Exec Source
1 int four_bar()
2 {
3 1 int x=1;
4 1 int y=2;
5 1 return x+y;
6 }
7
8 int four_bar_()
9 {
10 int x=1;
11 if (x)
12 return 2*x; /* This is a really long comment that confirms whether gcovr colors lines that exceed normal expectations. */
13 else
14 return x;
15 }
16