TRP_Machine_Translator B

Total Complexity 90
Dependencies 3
Dependents 0
Total lines 396
Lines of code 240
Logical lines of code 147
Comment lines 87
Methods 19
Properties 7

Methods 19

Method Rating Maintainability Complexity Lines of code
check_languages_availability()
A
47 16 31
verify_request_parameters()
A
57 12 16
automatic_translate_error_check()
A
45 10 46
translate()
A
48 11 28
verify_request()
A
58 10 14
is_available()
S
62 4 12
exclude_special_symbol_from_translation()
S
59 4 12
is_correct_api_key()
S
59 3 14
__construct()
S
58 3 14
get_referer()
S
65 3 10
automatic_translation_svg_output()
S
66 3 9
is_crawler()
S
68 2 6
get_placeholders()
S
68 2 7
get_last_checked_supported_languages()
S
67 2 7
sort_exclude_words_from_automatic_translation_array()
S
76 1 4
sort_array()
S
79 1 3
test_request()
S
98 1 1
get_api_key()
S
82 1 3
extra_request_validations()
S
82 1 3