6.0
Breaking changes:
- Remove not allowed attributes
function-rate,functions-coveredandfunctions-validfrom cobertura report. (#671) - Remove "noncode" entries in JSON reports. (#663)
- New option
--exclude-noncode-linesto exclude noncode lines. Noncode lines are not excluded by default anymore. (#704, #705) - Changed option
--gcov-ignore-parse-errorsto accept list of errors to ignore. (#701) - Handling of
gcoverrors: - The default filename for option
--coberturais changed from coverage.xml to cobertura.xml (#721) - Revert changes from #623 and add documentation entry
Support of Keil uVision format. (#727)
New features and notable changes:
- New option
--html-nestedfor reports that summarize subdirectories with aggregated statistics per directory. (#687) - Accept
NAN %which is used in GCOV 7.5.0 instead of an invalid value. (#651) - New option
--json-baseto define a base bath used in JSON reports. (#656) - New option
--callsto report call coverage: function calls invoked/total (#666) - New nox session to generate a portable application with pyinstaller. (#661)
- Print a warning if root directory contains symlinks. (#652)
- Change option
--keepwhen calling gcov internaly. (#703) - Allow annotations for never executed branches. (#711)
- Add function merge mode for same function defined in different lines. (#700)
- Update link to gcovr documentation in HTML report to point to the documentation of the used version. (#723)
- Add environment SOURCE_DATE_EPOCH to set default for option
--timestamp. (#729)
Bug fixes and small improvements:
- Fix option
--html-tab-sizefeature. (#650) - Fix alphabetical sort of html report, for when there are symlinks. (#685)
- Handle option
--versionbefore parsing the configuration file. (#696) - Fix reports of excluded coverage. (#409, #503, #663)
- Fix handling for nonexistent source code for HTML-details and Coveralls reports. (#663)
- Exclude functions with
Exclusion markers. (#713) - Fix problem in decision parser if open block brace is on same line. (#681)
- Add Python 3.11 to test matrix. (#717)
- Fix casing of files if filesystem is case insensitive. (#694)
- Do not use
realpathforDirectoryPrefixFilterto support symlinks in root directory. (#712) - Fix deadlock if option
-jis used and there are errors fromgcovexecution. (#721) - Fix problem in decision parser if case is not on a single line with the break statement. (#738)
- Do not use
realpathforDirectoryPrefixFilterto support symlinks in root directory. (#712)
Documentation:
- Add detailed reference for the JSON output format. (#663)
Internal changes:
- Select the option
--html-themeusing CSS classes. (#650) - Change and extend
cmaketests. (#676) - Detect
gccversion for running tests. (#686) - Use scrubbed data for option
--update_referenceoption. (#698) - Install ninja with package manager instead of GitHub action. (#699)
- Rename the reference files coverage.xml to cobertura.xml and the test from xml to cobertura. (#719)
- Add support for
clang-14in our test suite and improve startup performance of docker image. (#731) - Change docker image to be able to use it like the
noxcommand itself. (#734) - Split HTML templates into one file for each part of the page. (#735)
- Change docker image to be able to use it like the
noxcommand itself. (#734)