Overall list of functions
File
Lines
Branches
Functions
4 / 7
57.1%
-
1 / 2
50.0%
File
Lines
Branches
Functions
File
Lines
Branches
Functions
File
Lines
Branches
Functions
File
Lines
Branches
Functions
4 / 7
57.1%
-
1 / 2
50.0%
File
Lines
Branches
Functions
File
Lines
Branches
Functions
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
0 / 5
0.0%
Branches:
0 / 2
0.0%
Functions:
0 / 1
0.0%
A/C/D/File6.cpp
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
4 / 5
80.0%
Branches:
1 / 2
50.0%
Functions:
1 / 1
100.0%
A/C/file5.cpp
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
4 / 5
80.0%
Branches:
1 / 2
50.0%
Functions:
1 / 1
100.0%
A/File4.cpp
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
4 / 5
80.0%
Branches:
1 / 2
50.0%
Functions:
1 / 1
100.0%
A/file1.cpp
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
4 / 10
40.0%
Branches:
0 / 2
0.0%
Functions:
1 / 2
50.0%
A/file3.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | 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 |
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
0 / 2
0.0%
Branches:
-
-%
Functions:
0 / 1
0.0%
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
4 / 7
57.1%
Branches:
-
-%
Functions:
1 / 2
50.0%
A/subdir_0/subdir_1/subdir_2/subdir_3/subdir_4/subdir_5/subdir_6/subdir_7/subdir_8/subdir_9/File2.cpp
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
8 / 8
100.0%
Branches:
1 / 4
25.0%
Functions:
1 / 1
100.0%
B/main.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include <iostream> | ||
| 2 | #include <string.h> | ||
| 3 | |||
| 4 | extern int foo(int param); | ||
| 5 | extern int foobar(int param); | ||
| 6 | extern int bar(); | ||
| 7 | extern int four_bar(); | ||
| 8 | extern int foo5(int param); | ||
| 9 | extern int foo6(int param); | ||
| 10 | extern int uncovered(); | ||
| 11 | |||
| 12 | |||
| 13 | 1 | int main(int argc, char* argv[]) { | |
| 14 | 1 | foo(0); | |
| 15 | 1 | foobar(1); | |
| 16 | 1 | bar(); | |
| 17 | 1 | four_bar(); | |
| 18 | 1 | foo5(0); | |
| 19 | 1 | if (argc > 1) { for (int i = 0; i < strlen(argv[1]); ++i) { foo6(0); } } | |
| 20 | |||
| 21 | 1 | return 0; | |
| 22 | } | ||
| 23 |