ExHarness (ex_harness v0.1.3)

Copy Markdown View Source

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.