TRP_Machine_Translation_Tab S

Total Complexity 50
Dependencies 1
Dependents 1
Total lines 266
Lines of code 185
Logical lines of code 95
Comment lines 29
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
sanitize_settings()
B
42 17 51
display_unsupported_languages()
A
47 7 36
get_active_engine()
S
56 5 18
add_enable_auto_translate_slug_filter()
S
63 5 10
test_api_key()
S
55 2 20
admin_notices()
S
74 3 4
add_upsell_filter()
S
73 3 4
__construct()
S
69 1 6
add_tab_to_navigation()
S
65 1 9
add_submenu_page()
S
73 1 4
register_setting()
S
79 1 3
machine_translation_page_content()
S
68 1 7
test_api_page_content()
S
80 1 3
load_engines()
S
71 1 6
translation_engines_upsell()
S
74 1 4