| Directory: | ./ |
|---|---|
| File: | A/file3.cpp |
| Date: | 2020-07-30 19:46:29 |
| Exec | Total | Coverage | |
|---|---|---|---|
| Lines: | 4 | 9 | 44.4% |
| Branches: | 0 | 2 | 0.0% |
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | 1 | int fourbar() | |
| 2 | { | ||
| 3 | 1 | int x=1; | |
| 4 | 1 | int y=2; | |
| 5 | 1 | return x+y; | |
| 6 | } | ||
| 7 | |||
| 8 | ✗ | int fourbar_() | |
| 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 |