6.0
版本发布时间: 2023-03-09 07:02:13
gcovr/gcovr最新发布版本:7.2(2024-02-26 04:22:56)
Breaking changes:
- Remove not allowed attributes
function-rate
,functions-covered
andfunctions-valid
from cobertura report. (#671) - Remove "noncode" entries in JSON reports. (#663)
- New option
--exclude-noncode-lines
to exclude noncode lines. Noncode lines are not excluded by default anymore. (#704, #705) - Changed option
--gcov-ignore-parse-errors
to accept list of errors to ignore. (#701) - Handling of
gcov
errors:- Do not ignore return code of
gcov
. (#653) - New option --gcov-ignore-errors to ignore
gcov
errors. Old behavior was to print a warning and continue. (#718)
- Do not ignore return code of
- The default filename for option
--cobertura
is 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-nested
for 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-base
to define a base bath used in JSON reports. (#656) - New option
--calls
to 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
--keep
when 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-size
feature. (#650) - Fix alphabetical sort of html report, for when there are symlinks. (#685)
- Handle option
--version
before 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
realpath
forDirectoryPrefixFilter
to support symlinks in root directory. (#712) - Fix deadlock if option
-j
is used and there are errors fromgcov
execution. (#721) - Fix problem in decision parser if case is not on a single line with the break statement. (#738)
- Do not use
realpath
forDirectoryPrefixFilter
to support symlinks in root directory. (#712)
Documentation:
- Add detailed reference for the JSON output format. (#663)
Internal changes:
- Select the option
--html-theme
using CSS classes. (#650) - Change and extend
cmake
tests. (#676) - Detect
gcc
version for running tests. (#686) - Use scrubbed data for option
--update_reference
option. (#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-14
in our test suite and improve startup performance of docker image. (#731) - Change docker image to be able to use it like the
nox
command 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
nox
command itself. (#734)