diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2013-10-28 17:21:02 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-10-28 17:21:02 +0000 |
| commit | af209b9d55c9e9dff7a63372c129e39ce8efeb73 (patch) | |
| tree | 9ea884daa6f54ad4296404fc3a5dfbe30a9a7c5e /check_xref | |
| parent | 148713418492bb03737cba1c5a5bd45ab4033844 (diff) | |
| download | rabbitmq-server-git-af209b9d55c9e9dff7a63372c129e39ce8efeb73.tar.gz | |
cosmetic
Diffstat (limited to 'check_xref')
| -rwxr-xr-x | check_xref | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/check_xref b/check_xref index 7c22e5b1d9..21eb14b9ca 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 |
