|
@@ -16,12 +16,14 @@
|
|
|
{xref_checks,[undefined_function_calls,undefined_functions,locals_not_used,
|
|
{xref_checks,[undefined_function_calls,undefined_functions,locals_not_used,
|
|
|
deprecated_function_calls,warnings_as_errors,deprecated_functions]}.
|
|
deprecated_function_calls,warnings_as_errors,deprecated_functions]}.
|
|
|
|
|
|
|
|
-%% Check for the mnesia calls forbidden by Ekka:
|
|
|
|
|
|
|
+%% Check the forbidden mnesia calls:
|
|
|
{xref_queries,
|
|
{xref_queries,
|
|
|
[ {"E || \"mnesia\":\"dirty_delete.*\"/\".*\" : Fun", []}
|
|
[ {"E || \"mnesia\":\"dirty_delete.*\"/\".*\" : Fun", []}
|
|
|
, {"E || \"mnesia\":\"transaction\"/\".*\" : Fun", []}
|
|
, {"E || \"mnesia\":\"transaction\"/\".*\" : Fun", []}
|
|
|
, {"E || \"mnesia\":\"async_dirty\"/\".*\" : Fun", []}
|
|
, {"E || \"mnesia\":\"async_dirty\"/\".*\" : Fun", []}
|
|
|
, {"E || \"mnesia\":\"clear_table\"/\".*\" : Fun", []}
|
|
, {"E || \"mnesia\":\"clear_table\"/\".*\" : Fun", []}
|
|
|
|
|
+ , {"E || \"mnesia\":\"create_table\"/\".*\" : Fun", []}
|
|
|
|
|
+ , {"E || \"mnesia\":\"delete_table\"/\".*\" : Fun", []}
|
|
|
]}.
|
|
]}.
|
|
|
|
|
|
|
|
{dialyzer, [
|
|
{dialyzer, [
|