TRP_Machine_Translator D

Total Complexity 136
Dependencies 3
Dependents 1
Total lines 636
Lines of code 370
Logical lines of code 231
Comment lines 158
Methods 22
Properties 7

Methods 22

Method Rating Maintainability Complexity Lines of code
restore_translation_quotes()
C
37 27 69
translate()
A
42 14 49
check_languages_availability()
A
48 15 29
automatic_translate_error_check()
A
45 10 46
verify_request_parameters()
A
57 12 16
verify_request()
A
58 10 14
restore_punctuation_patterns()
A
52 9 23
is_available()
S
56 7 17
should_translate_string()
S
58 5 15
exclude_special_symbol_from_translation()
S
59 4 12
is_correct_api_key()
S
59 3 14
__construct()
S
59 3 13
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