Certitudo.Coverage.Runtime (certitudo v0.1.0)

Copy Markdown View Source

Runtime access to Erlang :cover data for snapshot construction.

Summary

Functions

import_coverdata!(coverdata_path, prefixes, ignore_modules, beam_dirs)

@spec import_coverdata!(binary(), [binary()], [module() | Regex.t() | binary()], [
  binary()
]) ::
  {[module()], [{module(), integer(), non_neg_integer()}]}

keep_module?(mod, prefixes, ignore_modules)

@spec keep_module?(module(), [binary()], [module() | Regex.t() | binary()]) ::
  boolean()