| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | /* |
||
| 24 | getAll: function () { |
||
| 25 | if (API.promise) { |
||
| 26 | return API.api.notifications.getAll(details); |
||
| 27 | } |
||
| 28 | else { |
||
| 29 | return new C_Promise(function () { |
||
| 30 | API.api.notifications.getAll(details, (function (notifications) { |
||
| 31 | this.call_then(notifications); |
||
| 32 | }).bind(this)); |
||
| 33 | }); |
||
| 34 | } |
||
| 35 | }, |
||
| 36 | /** |
||
| 42 | }; |
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.