Module hank

The Erlang Dead Code Cleaner.

Description

The Erlang Dead Code Cleaner

Data Types

ms()

ms() = non_neg_integer()

stats()

stats() = #{ignored := non_neg_integer(), parsing := ms(), analyzing => ms(), total => ms()}

Function Index

analyze/4Runs a list of rules over a list of files and returns all the dead code pieces it can find.

Function Details

analyze/4

analyze(Files::[file:filename()], IgnoredSpecsFromState::[hank_rule:ignore_spec()], Rules::[hank_rule:t()], Context::hank_context:t()) -> #{results => [hank_rule:result()], stats => stats()}

Runs a list of rules over a list of files and returns all the dead code pieces it can find.


Generated by EDoc