TRP_Machine_Translator D

Total Complexity 127
Dependencies 3
Dependents 0
Total lines 576
Lines of code 340
Logical lines of code 211
Comment lines 142
Methods 21
Properties 7

Methods 21

Method Rating Maintainability Complexity Lines of code
restore_translation_quotes()
C
37 27 69
check_languages_availability()
A
48 15 29
automatic_translate_error_check()
A
45 10 46
verify_request_parameters()
A
57 12 16
translate()
A
46 10 33
verify_request()
A
58 10 14
restore_punctuation_patterns()
A
52 9 23
is_available()
S
56 7 17
exclude_special_symbol_from_translation()
S
59 4 12
__construct()
S
58 3 14
is_correct_api_key()
S
59 3 14
automatic_translation_svg_output()
S
66 3 9
get_referer()
S
65 3 10
get_last_checked_supported_languages()
S
67 2 7
is_crawler()
S
68 2 6
get_placeholders()
S
68 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