-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for decision coverage metric in text report (#864)
Co-authored-by: Pascal Pieper <Pascal.Pieper@DLR.de> Co-authored-by: Michael Förderer <40258682+Spacetown@users.noreply.github.com>
- Loading branch information
1 parent
9037a2b
commit 77fdee0
Showing
31 changed files
with
149 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
gcovr/tests/decisions-neg-delta/reference/clang-10/coverage.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
------------------------------------------------------------------------------ | ||
GCC Code Coverage Report | ||
Directory: . | ||
------------------------------------------------------------------------------ | ||
File Decisions Taken Cover Missing | ||
------------------------------------------------------------------------------ | ||
main.cpp 4 3 75% 6 | ||
------------------------------------------------------------------------------ | ||
TOTAL 4 3 75% | ||
------------------------------------------------------------------------------ |
10 changes: 10 additions & 0 deletions
10
gcovr/tests/decisions-neg-delta/reference/gcc-5/coverage.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
------------------------------------------------------------------------------ | ||
GCC Code Coverage Report | ||
Directory: . | ||
------------------------------------------------------------------------------ | ||
File Decisions Taken Cover Missing | ||
------------------------------------------------------------------------------ | ||
main.cpp 4 3 75% 6 | ||
------------------------------------------------------------------------------ | ||
TOTAL 4 3 75% | ||
------------------------------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
------------------------------------------------------------------------------ | ||
GCC Code Coverage Report | ||
Directory: . | ||
------------------------------------------------------------------------------ | ||
File Decisions Taken Cover Missing | ||
------------------------------------------------------------------------------ | ||
main.cpp 65 33 50% 10,22,46,58,70,82,94,106,118,130,142,146,158,162,174,178,196,202,214,220,230,233,243,248,345 | ||
switch_test.cpp 0 0 --% | ||
switch_test.h 3 1 33% 18,19 | ||
------------------------------------------------------------------------------ | ||
TOTAL 68 34 50% | ||
------------------------------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
------------------------------------------------------------------------------ | ||
GCC Code Coverage Report | ||
Directory: . | ||
------------------------------------------------------------------------------ | ||
File Decisions Taken Cover Missing | ||
------------------------------------------------------------------------------ | ||
main.cpp 65 33 50% 10,22,46,58,70,82,94,106,118,130,142,146,158,162,174,178,196,202,214,220,230,233,243,248,345 | ||
------------------------------------------------------------------------------ | ||
TOTAL 65 33 50% | ||
------------------------------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
------------------------------------------------------------------------------ | ||
GCC Code Coverage Report | ||
Directory: . | ||
------------------------------------------------------------------------------ | ||
File Decisions Taken Cover Missing | ||
------------------------------------------------------------------------------ | ||
main.cpp 65 33 50% 10,22,46,58,70,82,94,106,118,130,142,146,158,162,174,178,196,202,214,220,230,233,243,248,345 | ||
switch_test.cpp 0 0 --% | ||
switch_test.h 3 1 33% 18,19 | ||
------------------------------------------------------------------------------ | ||
TOTAL 68 34 50% | ||
------------------------------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
------------------------------------------------------------------------------ | ||
GCC Code Coverage Report | ||
Directory: . | ||
------------------------------------------------------------------------------ | ||
File Decisions Taken Cover Missing | ||
------------------------------------------------------------------------------ | ||
main.cpp 65 33 50% 10,22,46,58,70,82,94,106,118,130,142,146,158,162,174,178,194,200,213,219,229,232,243,248,345 | ||
switch_test.cpp 0 0 --% | ||
switch_test.h 3 1 33% 18,19 | ||
------------------------------------------------------------------------------ | ||
TOTAL 68 34 50% | ||
------------------------------------------------------------------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.