diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-10-24 12:12:00 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-10-24 12:12:00 +0100 |
commit | 765823e378b926f36bba15a101f3b9d290fd1cef (patch) | |
tree | 30cb7a14bc444a06245180150f8e037869659850 | |
parent | f3ab76656b09e6c34c6ebaf1c1f3b1b48aee9b1f (diff) | |
download | rabbitmq-server-765823e378b926f36bba15a101f3b9d290fd1cef.tar.gz |
Treat calls to gen_server:call/2 and gen_server2:call/2 as errors.
-rwxr-xr-x | check_xref | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -136,6 +136,14 @@ checks() -> error, filters()}, {"(Lin) (L - LU)", "has unused local function(s)", error, filters()}, + %% E - all edges (i.e. function calls) + %% | - calling from + %% || - calling to + %% "RE1" : "RE2" / "RE3" - regex MFA + {"(E | \"(rabbit|amqp).*\" : \".*\" / \".*\" || " + "\"gen_server2?\" : \"call\" / \"2\")", + "5 sec timeout in", + error, filters()}, {"(Lin) (LU * (X - XU))", "has exported function(s) only used locally", warning, filters()}, |