Packages

A Rebar 3 plugin that reports on uncovered lines from tests

Current section

Files

Jump to
rebar3_uncovered rebar.config
Raw

rebar.config

{minimum_otp_vsn, "28"}.
{deps, [
{mapz, "2.4.0"},
{providers, "1.9.0"}
]}.
{erl_opts, [
debug_info,
warnings_as_errors,
warn_export_vars,
warn_unused_import,
warn_keywords
]}.
{project_plugins, [
{erlfmt, "1.8.0"},
{rebar3_hex, "7.1.0"},
{rebar3_lint, "4.2.3"},
{rebar3_hank, "1.6.0"}
]}.
{erlfmt, [
write,
{print_width, 80},
{files, [
"elvis.config",
"rebar.config{,.script}",
"src/**/*.{hrl,erl,app.src}",
"test/**/*.{hrl,erl}"
]}
]}.
{dialyzer, [
{plt_apps, all_deps},
{plt_extra_apps, [providers]},
incremental,
{warnings, [unmatched_returns, no_unknown]}
]}.
{profiles, [
{test, [
{deps, [
unite,
{eqwalizer_support,
{git_subdir, "https://github.com/whatsapp/eqwalizer.git",
{ref, "8aec22a"}, "eqwalizer_support"}}
]},
% Include test folder in static analysis
{extra_src_dirs, [{"test", [{recursive, true}]}]},
{xref_extra_paths, ["test"]},
{dialyzer, [{plt_extra_apps, [eunit]}]},
% Enable cover
{cover_enabled, true},
{cover_opts, [verbose, {precision, 3}]},
% Use unite for pretty-printing
{eunit_opts, [no_tty, {report, {unite_compact, []}}]}
]}
]}.
{xref_ignores, [
{rebar_api, abort, 2},
{rebar_api, console, 2},
{rebar_api, warn, 2},
{rebar_app_info, dir, 1},
{rebar_state, add_provider, 2},
{rebar_state, command_parsed_args, 1},
{rebar_state, project_apps, 1}
]}.