Module hank

The Erlang Dead Code Cleaner.

Description

The Erlang Dead Code Cleaner

Data Types

ms()

ms() = non_neg_integer()

parsing_style()

parsing_style() = parallel | sequential

stats()

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

Function Index

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

Function Details

analyze/5

analyze(Files::[file:filename()], IgnoreSpecsFromState::[hank_rule:ignore_spec()], Rules::[hank_rule:t()], ParsingStyle::parsing_style(), Context::hank_context:t()) -> #{results := [hank_rule:result()], unused_ignores := [hank_rule:ignore_spec()], 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