TRP_Translation_Manager B

Total Complexity 90
Dependencies 3
Dependents 16
Total lines 815
Lines of code 548
Logical lines of code 232
Comment lines 160
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
trp_view_as_user()
A
50 13 26
get_trp_editor_data()
A
37 7 71
save_editor_user_meta()
A
55 9 17
display_possible_db_errors()
S
56 7 17
localized_text()
S
38 3 67
conditions_met()
S
57 6 16
add_shortcut_to_translation_editor()
S
46 4 41
filter_the_date()
S
61 5 12
trp_add_shortcut_to_trp_editor_gutenberg()
S
52 3 22
has_bad_characters()
S
55 2 25
upsale_slugs_text()
S
48 1 37
output_noindex_tag()
S
73 3 5
display_notice_to_upgrade_gettext_in_editor()
S
58 2 14
get_help_panel_content()
S
52 1 26
get_editors_navigation()
S
56 1 19
editor_nonces()
S
55 1 19
enqueue_scripts_and_styles()
S
56 1 16
is_rest_api_request()
S
66 2 8
trp_sanitize_title()
S
64 2 9
enqueue_preview_scripts_and_styles()
S
69 2 6
hide_admin_bar_when_in_editor()
S
72 2 6
translation_editor()
S
71 2 6
add_language_to_body_class()
S
69 2 7
string_groups()
S
62 1 11
__construct()
S
81 1 3
add_styling_to_admin_bar_button()
S
71 1 10
is_ajax_on_frontend()
S
81 1 3
get_editor_user_meta()
S
72 1 5
get_default_editor_user_meta()
S
66 1 9
get_merge_rules()
S
61 1 9
strip_gettext_tags()
S
80 1 3
is_seo_pack_inactive()
S
80 1 3