Total Complexity | 75 |
Dependencies | 2 |
Dependents | 0 |
Total lines | 315 |
Lines of code | 192 |
Logical lines of code | 117 |
Comment lines | 72 |
Methods | 15 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
check_languages_availability() | 49 | 12 | 26 | |
verify_request_parameters() | 57 | 12 | 16 | |
translate() | 49 | 11 | 27 | |
verify_request() | 58 | 10 | 14 | |
automatic_translate_error_check() | 46 | 8 | 40 | |
is_available() | 62 | 4 | 12 | |
__construct() | 63 | 3 | 11 | |
automatic_translation_svg_output() | 66 | 3 | 9 | |
get_referer() | 65 | 3 | 10 | |
get_last_checked_supported_languages() | 67 | 2 | 7 | |
is_crawler() | 68 | 2 | 6 | |
get_placeholders() | 68 | 2 | 7 | |
test_request() | 98 | 1 | 1 | |
get_api_key() | 82 | 1 | 3 | |
extra_request_validations() | 82 | 1 | 3 |