summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2013-10-28 17:21:02 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2013-10-28 17:21:02 +0000
commitf18c8ce55a50667885c323acb7bdc189694caa98 (patch)
tree9ea884daa6f54ad4296404fc3a5dfbe30a9a7c5e
parentcf185daa0923d2fa60fa4047bc7e8b208f3a22ed (diff)
downloadrabbitmq-server-f18c8ce55a50667885c323acb7bdc189694caa98.tar.gz
cosmetic
-rwxr-xr-xcheck_xref25
1 files changed, 11 insertions, 14 deletions
diff --git a/check_xref b/check_xref
index 7c22e5b1..21eb14b9 100755
--- a/check_xref
+++ b/check_xref
@@ -133,23 +133,20 @@ process_analysis(Query, Tag, Severity, Analysis) when is_list(Query) ->
checks() ->
[{"(XXL)(Lin) ((XC - UC) || (XU - X - B))",
"has call to undefined function(s)",
- 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) (L - LU)",
+ "has unused local function(s)",
+ error, filters()},
+ {"(E | \"(rabbit|amqp).*\":_/_ || \"gen_server2?\":call/2)",
+ "has 5 sec timeout in",
error, filters()},
{"(Lin) (LU * (X - XU))",
- "has exported function(s) only used locally",
- warning, filters()},
+ "has exported function(s) only used locally",
+ warning, filters()},
{"(Lin) (DF * (XU + LU))", "used deprecated function(s)",
- warning, filters()}].
-% {"(Lin) (X - XU)", "possibly unused export",
-% warning, fun filter_unused/1}].
+ warning, filters()}].
+%% {"(Lin) (X - XU)", "possibly unused export",
+%% warning, fun filter_unused/1}].
%%
%% noise filters (can be disabled with -X) - strip uninteresting analyses