~/talk

Detecting Oxbow Code in Erlang Codebases with the Highest Degree of Certainty

Talkat Erlang 2021 · on Thursday, 2021-08-26· [elixir-and-erlang]
slides:none on file

A rebar3 plugin called hank statically scans Erlang ASTs to detect specific unused macros, unused record fields and unused header files, plus unused config keys (heuristic: atom occurrence), function arguments, callbacks and NIFs. Each rule is configurable and designed to avoid false positives — if hank flags something it is safe to remove. Running it on OTP (~2M LOC), Kazoo and a carefully maintained project surfaces many surprising removals and validates the approach.

AI-written summary · about

  1. 0:00Start
  2. 0:53A Simple Ticket...
  3. 3:43A seemingly simple change...
  4. 8:47Why don't we delete everything?
  5. 12:15Hank Rules
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.