| Conditions | 4 |
| Paths | 6 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | $(document).ready(function () { |
||
| 20 | $('.program-body__td--time').each(function (index, value) { |
||
| 21 | if (current_report !== null) { |
||
| 22 | prev_report = current_report; |
||
| 23 | } |
||
| 24 | current_report = $(this); |
||
| 25 | if (now_time < current_report.text()) { |
||
| 26 | if (prev_report !== null) { |
||
| 27 | scrollTo = prev_report; |
||
| 28 | } else { |
||
| 29 | scrollTo = current_report; |
||
| 30 | } |
||
| 31 | return false; |
||
| 32 | } |
||
| 33 | }); |
||
| 34 | if (scrollTo !== null) { |
||
| 54 | }); |
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.