Skip to content

v0.3: Intermediate gcov format and other improvements

Compare
Choose a tag to compare
@xaizek xaizek released this 25 Mar 16:04
· 130 commits to master since this release
v0.3
c613ee9

Core and CLI

  • Add new-gcovi subcommand that uses gcov's intermediate format and thus works faster than uncov-gcov.
  • Better normalization of relative paths.
  • Better parsing error messages for new subcommand.
  • More strict input parsing for new subcommand.
  • Make new subcommand accept reference with spaces.
  • Fix incorrect parsing of optional build ids in subcommands.

Web-UI

  • Add line numbers to diffs. Clicking on them opens corresponding files.
  • Add map of missed ranges for faster overview of what's not covered.
  • Add LSB header to the sample init script.
  • Put links in tables on first column instead of on whole row.
  • Disallow robots from bothering the site (it doesn't contain interesting stuff).
  • Highlight current line number.
  • Fix formatting of line number anchors (avoid separators).

uncov-gcov

The script is now deprecated in favour of new-gcovi subcommand.

  • Add "WIP on " prefix to captured builds.
  • Ignore }; lines.
  • Do not ignore lines starting with static_cast.
  • Account for possible * in count column of gcov-files produced by new gcov.
  • Fix uncov-gcov failing to restore untracked directory.

Vim-plugin

  • Make :Uncov command accept @-buildid.
  • Fix error on folding last lines of a buffer.
  • Fix coverage signs being offset by one.

Building

  • Build web object files from correct source files.
  • Build with -std={c=>gnu}++11 language option.
  • Try to avoid file-system races on parallel build.
  • Fix compiling tests against Boost 1.55.

AppImage

The name of the tool should be provided as the first argument. For convenience, rename the binary to uncov and access the tools as uncov builds, uncov web, etc. Alternatively, make symbolic links to the file named uncov, uncov-gcov and uncov-web (this works with tools, but not with subcommands).

Python interpreter isn't bundled, so you need to have it installed for uncov-gcov to work (or just use uncov new-gcovi).

The AppImage is signed with PGP key which has the following fingerprint:

2234 9CDB E522 7D21 08A5  6677 99DC 5E4D B05F 6BE2