| Total Complexity | 5 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class distance extends similar_text |
||
| 16 | { |
||
| 17 | public static function jaroWinkler($a, $b, $round=2) |
||
| 18 | { |
||
| 19 | } |
||
| 20 | |||
| 21 | |||
| 22 | public static function hamming($a, $b) |
||
| 24 | } |
||
| 25 | |||
| 26 | public static function dice($a, $b, $round=2) |
||
| 28 | } |
||
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | public static function levenshtein($a, $b) |
||
| 34 | } |
||
| 35 | |||
| 36 | |||
| 37 | public static function levenshteinDamerau($a, $b) |
||
| 44 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.