8.5
Breaking changes:
- The option
--lcov-test-namedoesn't accept values with spaces anymore. (#1196) - The option
--lcov-format-1.xis deprecated and mapped to--lcov-format-version=1.x. (#1212) - Changes to HTML templates:
- The file overview table in the default theme now uses a grid layout. (#1216)
- The function lists table in both themes are changed to a grid layout. (#1216)
- Add a common template folder where the common templates for the themes are stored. It contains the function content and source page navigation templates. (#1216)
- Restructure the the summary and move some data to the footer. (#1217)
- Add sorting by clicking on the headers of the file overview table and the function table. (#1219)
- Add common stylesheet for all themes. (#1220)
- Add navigation links to source details. (#1220)
- Add buttons to toggle line background color in source details view. (#1221)
- Add a document overview with all active lines in source details view. (#1222)
- Added
--html-static-reportand remove argument from--html-single-page. (#1224)
New features and notable changes:
-
Due to added support for LLVM source based code coverage format some configuration file keys got changed. The old
gcovnamed options are still supported but they also affect the LLVM toolchain. (#1188)gcov-exclude-directoryis changed toexclude-directory.keep-gcov-filesis changed tokeep-intermediate-files.delete-gcov-filesis changed todelete-input-files.
Bug fixes and small improvements:
- Fix coveralls report if there are several coverage elements per line. (#1165)
- Fix not excluded conditions if branches are excluded by comments. (#1171)
- Fix reported excluded branches in
LCOVreport. (#1171) - Fix exclusion filter
--gcov-exclude. (#1176) - Add
--json-trace-data-sourceto include the trace data source in the JSON report independent from--verbose. (#1178) - Remove generated gcov files on error and catch additional gcov error message. (#1182)
- Change default HTML theme excluded line color. (#1179)
- Move theme colors to a separate CSS file so they can be overridden with a simple
--html-template-dirdirectory with only the style.colors.css file (#1179) - Fix regular expression for detecting a version mismatch between
gccandgcov. (#1187) - Improve logging messages for GCOV execution errors to not print information twice and add trace messages for gcov execution. (#1187)
- Fix handling of lines after function specialization. (#1189)
- Improve performance by changing logging messages (level and lazy interpolation). (#1191)
- Fix text report for covered decisions. (#1192)
- Fix runtime problem introduced with 8.4. (#1194)
- Fix wrong entries in data source attribute of JSON report. (#1194)
- Fix nested HTML report without coverage data. (#1197)
- Add warning if coverage data is empty. (#1200)
- Add warning if function lines are missing in external generated GCOV files. (#1199)
- Extend support for zipped reports. If last suffix is
.xzthen LZMA is used to compress the report. (#1201) - Fix function exclusion in report generation. (#1206)
- Do not ignore lines without functions, e.g. from inlined code. (#1204)
- Ignore all whitespaces instead of only spaces for detection of noncode lines. (#1210)
- Add support for temporary merging line coverage objects without modifying the data model. (#1213)
- Change internal behavior of
--exclude-function-linesto exclude the line of function definition instead of removing it completely. (#1214) - Ensure that all functions have a line coverage element in LCOV report. (#1212)
Internal changes:
- Rewrite test suite to use python files instead of Makefiles. (#1170)
- Replaced
_with-in the options controlling the test suite:--generate_referenceis now--generate-reference--update_referenceis now--update-reference--archive_differencesis now--archive-differences--skip_cleanis now--skip-clean
- Remove test with MacOs 13 because image was retired.
- Add markers to tests for the different report formats. (#1223)
- Replaced
- Activate parallel test execution by default and improve IDE support. (#1174)
- Add
--trace-includeand--trace-excludeto get additional output from parsing of included gcov files. (#1175) - Add
gcc-7,gcc-15,clang-11,clang-12andclang-20to the test suite. (#1177) - Use pyenv to install python independent from OS version in docker image for testing. (#1181)
- Reorganize docker images. Create one image per OS which contains several compiler versions to improve image build time and build cache size on local and CI systems. (#1184, #1186)
- Do not run
mypyonPyPyimplementation of python. (#1209) - Add test with
ccache. (#1211)