Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Choose a tag to compare

@Spacetown Spacetown released this 27 Sep 22:15
· 7 commits to main since this release
87771a8

Breaking changes:

  • Improve data model to have several coverage information per line. (#1069)
    • Option --merge-mode-conditions is removed.
    • Property function_name for a line in JSON report is now always set.
    • JSON report can now have several entries per line also with legacy text parser.
    • Cobertura and HTML report now contain function coverage also for older GCC versions.
  • Add excluded metrics to HTML report. The total numbers in the report contain now also
    the excluded elements. (#1153)

New features and notable changes:

  • Add support for Markdown output format. (#1072)
  • Add filename and line number in warning logs. (#1075)
    • Add option --markdown-file-link to link files in Markdown report. (#1079)
  • Abort on version mismatch between gcc/gcov instead of trying all working directories. (#1097)
  • Clean up temporary files generated by gcov tool when exception occurs. (#1106, #1134)
  • Add branch information to Coveralls report. (#1121)
  • Add support to define --exclude-lines-by-pattern and --exclude-branches-by-pattern
    more than once. (#1129)
  • Add --sonarqube-metric to define which metric is used as branch metric in report. (#1132)
  • Add --sonarqube-pretty to pretty print the report. (#1136)
  • If the value for -j is 0, the number of CPUs is used. If it is negative the it means "all but N CPUs". (#1148)
  • Add --warn-excluded-lines-with-hits to print a warning if a line which is excluded by comments has a hit counter != 0. (#1151)
  • Add comment to exclude branches without hit in addition to exclude all. (#1152)

Bug fixes and small improvements:

  • Fix warning Deprecated config key None used, please use 'txt-metric=branch' instead.
    if txt-metric="branch" is used in config file. (#1066)

  • Add excluded property for conditions and calls to the JSON report. (#1080)

  • Remove the fixed width of the HTML details which leads to text overflows. (#1086)

  • Fix duplicate constructors, destructors and wrong const overload functions in Cobertura report. (#1085)

  • Fix JaCoCo report to follow the DTD. (#1089)

  • Do not use option --calls as exclusion filter. (#1090)

  • Add support for reading gcov JSON data without source files. (#1094)

  • Add back references to the data model to get source location in error messages. (#1094)

  • Fix deprecation warning in standalone application. (#1115)

  • Improvements of development environment (#1118):

    • Add optional dependencies for development.
    • Add pre-commit hook to ensure quality checks.
    • All line endings, except for the git internal files, are preserved.
  • Update the reference data to the newest pygments version and extend the tests with clang-17,
    clang-18 and clang-19. (#1120)

  • Fix error when merging conditions (and branches) for the same line if they are reported different
    across GCOV data files. (#1092)

  • Improve branch details view if there are branches for several functions on same line. (#1128)

  • Do not add files without functions and lines from gcov JSON files to data model. (#1130)

  • Improve error message if regex pattern is wrong. (#1135)

    • The error message now contains the option name.
    • Align option names if it can be used multiple times. The key used for storing the option is always
      written in singular and the option always has a singular version, except the options
      --gcov-ignore-errors and --gcov-ignore-parse-errors.
  • Fix wrong handling of functions with specialization. (#1126)

  • Fix errors in Clover XML report. (#1138)

    • Remove optional attributes where information is not available:
      • loc contained the highest line number with coverage information instead of lines of the file.
      • ncloc contained the number of reportable lines instead of the lines of the file without comments.
    • statements and coveredstatements contain now the correct value instead of 0.
  • Add highlighting for exclusion markers in HTML report file details. (#1154)

  • Make <title> of HTML reports more informative. The title of a file's source listing page now includes the file path. (#1155)

Documentation:

  • Fix formatting of verbatim text included from external files. (#1093)

Internal changes:

  • Refactor internal data model:
    • Add merge functionality to coverage objects instead of an own file. (#1067)
    • Move data serialization and deserialization from JSON report to coverage classes. (#1078)
  • Update Windows runner to windows-2022 and windows-2025. (#1108)
  • Add trusted publishing. (#1114)
  • Restructure the line coverage data model and change the sort order in the reports. (#1137)
  • Improve creation of docker image and fix build warnings. (#1139)