Pure functions that render an audit report from dialyzer + reach results.
The renderer never touches the file system. Mix tasks pass the collected results in and write the returned string.
Summary
Types
@type metadata() :: %{ :root => String.t(), :timestamp => DateTime.t(), optional(:elixir) => String.t(), optional(:otp) => String.t(), optional(:lock_digest) => String.t() | nil }
Functions
@spec render(metadata(), dialyzer_result(), reach_result()) :: String.t()
Renders the audit report as Markdown.
@spec to_json(metadata(), dialyzer_result(), reach_result()) :: map()
Renders the audit report as JSON-serialisable map.