How hard would it be to implement something equivalent for Elixir? Or is there already something like this for Elixir?
Nothing like this exists for Elixir, AFAIK.
We’ll need some different rules, tho.
How robust is this for detecting usage via things like apply/3?
So far, there is no rule to check function usage and therefore we didn’t need to consider that case.
We didn’t add rules like that because that’s already covered by xref.
Oh, very cool. I didn’t know xref could be used like that.
For reference: https://tech.nextroll.com/blog/dev/2018/10/09/remove-erlang-dead-code-xref.html