Tranzly_Translator A

Total Complexity 64
Dependencies 2
Dependents 2
Total lines 472
Lines of code 303
Logical lines of code 162
Comment lines 101
Methods 24
Properties 7

Methods 24

Method Rating Maintainability Complexity Lines of code
get_generate_post()
A
41 9 60
get_translated_post()
A
42 9 58
generate_post()
A
49 8 29
get_translated_attributes()
S
52 6 25
check_languages()
S
55 5 21
get_translated()
S
54 4 19
translate_post()
S
58 4 14
get_deepl_query_args()
S
58 2 15
translate()
S
65 2 9
get_deepl_error_message()
S
76 1 4
deepl_error_codes()
S
65 1 9
__construct()
S
76 1 4
get_deepl_api_key()
S
82 1 3
set_translate_seo()
S
81 1 3
get_translate_slug()
S
82 1 3
set_translate_slug()
S
81 1 3
get_translate_attributes()
S
82 1 3
set_translate_attributes()
S
81 1 3
get_supported_languages()
S
82 1 3
get_target_lang()
S
82 1 3
set_target_lang()
S
81 1 3
get_source_lang()
S
82 1 3
set_source_lang()
S
81 1 3
get_translate_seo()
S
82 1 3