lcov_ex v0.2.0 LcovEx.Formatter View Source

Formatter for lcov.info file.

See more information about lcov in https://manpages.debian.org/stretch/lcov/geninfo.1.en.html#FILES.

Link to this section Summary

Link to this section Types

Specs

coverage_info() :: {binary(), integer()}

Specs

mod() :: module()

Specs

path() :: binary()

Link to this section Functions

Link to this function

format_lcov(mod, path, functions_coverage, fnf, fnh, lines_coverage, lf, lh)

View Source

Specs

format_lcov(
  mod(),
  path(),
  [coverage_info(), ...],
  integer(),
  integer(),
  [coverage_info(), ...],
  integer(),
  integer()
) :: [binary()]

Create a lcov specification for a module.