Packages

One-command installer for an Elixir static-analysis suite (credo, dialyxir, ex_dna, ex_slop, boundary, reach) plus a `mix harness.init` whole-codebase audit.

Current section

Files

Jump to
ex_harness lib ex_harness.ex
Raw

lib/ex_harness.ex

defmodule ExHarness do
@moduledoc """
ExHarness is a one-command installer for an Elixir/Phoenix
static-analysis suite plus a runnable whole-codebase audit.
It bundles the following tools and wires them together:
* `credo` — style / complexity / design lints
* `dialyxir` — success-typing analysis
* `ex_dna` — duplicate code detection
* `ex_slop` — file naming / docstring lints
* `boundary` — compile-time module boundary enforcement
* `reach` — Program Dependence Graph (taint / dead code / slices)
* `makeup` + `makeup_elixir` + `makeup_js` — syntax highlighting for reach reports
## Usage
Add ExHarness via Igniter and then install the suite:
mix igniter.install ex_harness
mix harness.install
Run the full-codebase audit (dialyzer + reach):
mix harness.init
See `Mix.Tasks.Harness.Install` and `Mix.Tasks.Harness.Init` for
details and options.
"""
end