TRP_Machine_Translator B

Total Complexity 85
Dependencies 3
Dependents 0
Total lines 376
Lines of code 223
Logical lines of code 136
Comment lines 87
Methods 18
Properties 7

Methods 18

Method Rating Maintainability Complexity Lines of code
check_languages_availability()
A
48 15 29
verify_request_parameters()
A
57 12 16
automatic_translate_error_check()
A
45 10 46
translate()
A
49 11 27
verify_request()
A
58 10 14
is_available()
S
62 4 12
is_correct_api_key()
S
59 3 14
__construct()
S
61 3 12
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