-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect excluded/noncode lines for aggregated branch coverage. (#611)
- Loading branch information
Showing
24 changed files
with
75 additions
and
937 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
2 changes: 1 addition & 1 deletion
2
gcovr/tests/exclude-throw-branches/reference/clang-10/coverage-excl-throw.xml
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE coverage SYSTEM 'http://cobertura.sourceforge.net/xml/coverage-04.dtd'> | ||
<coverage line-rate="0.9565217391304348" function-rate="1.0" branch-rate="0.4375" lines-covered="22" lines-valid="23" functions-covered="6" functions-valid="6" branches-covered="7" branches-valid="16" complexity="0.0" timestamp="1638647466" version="gcovr 5.0"><sources><source>.</source></sources><packages><package name="" line-rate="0.9565217391304348" function-rate="1.0" branch-rate="0.5" complexity="0.0"><classes><class name="main_cpp" filename="main.cpp" line-rate="0.9565217391304348" branch-rate="0.5" complexity="0.0"><methods/><lines><line number="3" hits="3" branch="false"/><line number="4" hits="3" branch="true" condition-coverage="100% (2/2)"><conditions><condition number="0" type="jump" coverage="100%"/></conditions></line><line number="5" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="7" hits="2" branch="false"/><line number="16" hits="1" branch="false"/><line number="17" hits="1" branch="false"/><line number="21" hits="1" branch="false"/><line number="22" hits="1" branch="false"/><line number="24" hits="1" branch="false"/><line number="25" hits="1" branch="false"/><line number="28" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="29" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="30" hits="1" branch="false"/><line number="31" hits="1" branch="false"/><line number="33" hits="1" branch="false"/><line number="36" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="37" hits="1" branch="true" condition-coverage="0% (0/2)"><conditions><condition number="0" type="jump" coverage="0%"/></conditions></line><line number="38" hits="0" branch="false"/><line number="41" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="43" hits="1" branch="false"/><line number="44" hits="2" branch="false"/><line number="47" hits="1" branch="false"/><line number="48" hits="1" branch="false"/></lines></class></classes></package></packages></coverage> | ||
<coverage line-rate="0.9565217391304348" function-rate="1.0" branch-rate="0.5" lines-covered="22" lines-valid="23" functions-covered="6" functions-valid="6" branches-covered="7" branches-valid="14" complexity="0.0" timestamp="1650136809" version="gcovr 5.1"><sources><source>.</source></sources><packages><package name="" line-rate="0.9565217391304348" function-rate="1.0" branch-rate="0.5" complexity="0.0"><classes><class name="main_cpp" filename="main.cpp" line-rate="0.9565217391304348" branch-rate="0.5" complexity="0.0"><methods/><lines><line number="3" hits="3" branch="false"/><line number="4" hits="3" branch="true" condition-coverage="100% (2/2)"><conditions><condition number="0" type="jump" coverage="100%"/></conditions></line><line number="5" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="7" hits="2" branch="false"/><line number="16" hits="1" branch="false"/><line number="17" hits="1" branch="false"/><line number="21" hits="1" branch="false"/><line number="22" hits="1" branch="false"/><line number="24" hits="1" branch="false"/><line number="25" hits="1" branch="false"/><line number="28" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="29" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="30" hits="1" branch="false"/><line number="31" hits="1" branch="false"/><line number="33" hits="1" branch="false"/><line number="36" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="37" hits="1" branch="true" condition-coverage="0% (0/2)"><conditions><condition number="0" type="jump" coverage="0%"/></conditions></line><line number="38" hits="0" branch="false"/><line number="41" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="43" hits="1" branch="false"/><line number="44" hits="2" branch="false"/><line number="47" hits="1" branch="false"/><line number="48" hits="1" branch="false"/></lines></class></classes></package></packages></coverage> |
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
2 changes: 1 addition & 1 deletion
2
gcovr/tests/exclude-throw-branches/reference/clang-10/coverage-throw.xml
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE coverage SYSTEM 'http://cobertura.sourceforge.net/xml/coverage-04.dtd'> | ||
<coverage line-rate="0.9565217391304348" function-rate="1.0" branch-rate="0.4375" lines-covered="22" lines-valid="23" functions-covered="6" functions-valid="6" branches-covered="7" branches-valid="16" complexity="0.0" timestamp="1638647466" version="gcovr 5.0"><sources><source>.</source></sources><packages><package name="" line-rate="0.9565217391304348" function-rate="1.0" branch-rate="0.5" complexity="0.0"><classes><class name="main_cpp" filename="main.cpp" line-rate="0.9565217391304348" branch-rate="0.5" complexity="0.0"><methods/><lines><line number="3" hits="3" branch="false"/><line number="4" hits="3" branch="true" condition-coverage="100% (2/2)"><conditions><condition number="0" type="jump" coverage="100%"/></conditions></line><line number="5" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="7" hits="2" branch="false"/><line number="16" hits="1" branch="false"/><line number="17" hits="1" branch="false"/><line number="21" hits="1" branch="false"/><line number="22" hits="1" branch="false"/><line number="24" hits="1" branch="false"/><line number="25" hits="1" branch="false"/><line number="28" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="29" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="30" hits="1" branch="false"/><line number="31" hits="1" branch="false"/><line number="33" hits="1" branch="false"/><line number="36" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="37" hits="1" branch="true" condition-coverage="0% (0/2)"><conditions><condition number="0" type="jump" coverage="0%"/></conditions></line><line number="38" hits="0" branch="false"/><line number="41" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="43" hits="1" branch="false"/><line number="44" hits="2" branch="false"/><line number="47" hits="1" branch="false"/><line number="48" hits="1" branch="false"/></lines></class></classes></package></packages></coverage> | ||
<coverage line-rate="0.9565217391304348" function-rate="1.0" branch-rate="0.5" lines-covered="22" lines-valid="23" functions-covered="6" functions-valid="6" branches-covered="7" branches-valid="14" complexity="0.0" timestamp="1650136809" version="gcovr 5.1"><sources><source>.</source></sources><packages><package name="" line-rate="0.9565217391304348" function-rate="1.0" branch-rate="0.5" complexity="0.0"><classes><class name="main_cpp" filename="main.cpp" line-rate="0.9565217391304348" branch-rate="0.5" complexity="0.0"><methods/><lines><line number="3" hits="3" branch="false"/><line number="4" hits="3" branch="true" condition-coverage="100% (2/2)"><conditions><condition number="0" type="jump" coverage="100%"/></conditions></line><line number="5" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="7" hits="2" branch="false"/><line number="16" hits="1" branch="false"/><line number="17" hits="1" branch="false"/><line number="21" hits="1" branch="false"/><line number="22" hits="1" branch="false"/><line number="24" hits="1" branch="false"/><line number="25" hits="1" branch="false"/><line number="28" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="29" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="30" hits="1" branch="false"/><line number="31" hits="1" branch="false"/><line number="33" hits="1" branch="false"/><line number="36" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="37" hits="1" branch="true" condition-coverage="0% (0/2)"><conditions><condition number="0" type="jump" coverage="0%"/></conditions></line><line number="38" hits="0" branch="false"/><line number="41" hits="1" branch="true" condition-coverage="50% (1/2)"><conditions><condition number="0" type="jump" coverage="50%"/></conditions></line><line number="43" hits="1" branch="false"/><line number="44" hits="2" branch="false"/><line number="47" hits="1" branch="false"/><line number="48" hits="1" branch="false"/></lines></class></classes></package></packages></coverage> |
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.