Brujo Benavides
Erlang Developer and Trainer. Working at Baxter. Member of the Education WG @ The EEF. …long distant walker, amateur table tennis player and proud father!
Brujo Benavides
Inaka / Erlang Solutions
The Ultimate Code-Checking Machine
+warn_unused_vars +warn_export_all
+warn_shadow_vars +warn_unused_import
+warn_unused_function +warn_exported_vars
+warn_bif_clash +warn_unused_record
+warn_deprecated_function +warn_export_vars
+strict_validation +warn_obsolete_guard
+warn_missing_spec +warn_untyped_record
{ok, Xref} = xref:start(),
ok =
xref:set_library_path(
Xref, code:get_path()),
{ok, _Modules} =
xref:add_directory(Xref, "ebin"),
{ok, Results} =
xref:analyze(
Xref, undefined_function_calls),
stopped = xref:stop(Xref),
Results.
elbrujohalcon@inaka.net
elbrujohalcon
@elbrujohalcon
By Brujo Benavides
The Ultimate Code-Checking Machine
Erlang Developer and Trainer. Working at Baxter. Member of the Education WG @ The EEF. …long distant walker, amateur table tennis player and proud father!