Use xref on your code!
It's very helpful to run xref:
rebar xref skip_deps=true
with every build/test it's very good at finding typos in function module names.
Also for those unused exports you know you want i.e. start_link/0 just put in:
-ignore_xref([start_link/0]).
I personally like to put it before tests in the makefile.
Written by Heinz N. Gies
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Erlang
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#