| 1 | <?php |
||
| 20 | class Utils |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Depending on the size of the prefix assigned to this pool, this method |
||
| 24 | * will return the number of OpenVPN processes backing that range, each |
||
| 25 | * pool range is split in #processCount number of OpenVPN processes. |
||
| 26 | */ |
||
| 27 | public static function getProcessCount($prefix) |
||
| 47 | } |
||
| 48 |
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.