summaryrefslogtreecommitdiff
path: root/check_xref
diff options
context:
space:
mode:
authorEmile Joubert <emile@rabbitmq.com>2013-10-31 17:30:28 +0000
committerEmile Joubert <emile@rabbitmq.com>2013-10-31 17:30:28 +0000
commit5a8c397387f27b9b3923662fc144a11963cdcf55 (patch)
tree2ed61b9db526800066c1bed14b9dc25cf4fad71e /check_xref
parent22664aff3de92f696398d31a2ce05ca6eb27c7f5 (diff)
parentc5644183a8329416b5a8f137ab8d409ad41ed273 (diff)
downloadrabbitmq-server-git-5a8c397387f27b9b3923662fc144a11963cdcf55.tar.gz
Merged bug25846 into stable
Diffstat (limited to 'check_xref')
-rwxr-xr-xcheck_xref20
1 files changed, 12 insertions, 8 deletions
diff --git a/check_xref b/check_xref
index 24307fdb60..21eb14b9ca 100755
--- a/check_xref
+++ b/check_xref
@@ -133,16 +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()},
+ 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