TRP_Translation_Manager B

Total Complexity 97
Dependencies 3
Dependents 17
Total lines 872
Lines of code 594
Logical lines of code 260
Comment lines 168
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
trp_view_as_user()
A
50 13 26
get_trp_editor_data()
A
37 7 72
save_editor_user_meta()
A
55 9 17
get_license_notice_content()
A
46 7 38
display_possible_db_errors()
S
56 7 17
localized_text()
S
37 3 71
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
51 3 23
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
enqueue_preview_scripts_and_styles()
S
69 2 6
translation_editor()
S
71 2 6
hide_admin_bar_when_in_editor()
S
72 2 6
is_rest_api_request()
S
66 2 8
trp_sanitize_title()
S
64 2 9
add_language_to_body_class()
S
69 2 7
string_groups()
S
62 1 11
get_default_editor_user_meta()
S
64 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_merge_rules()
S
61 1 9
strip_gettext_tags()
S
80 1 3
is_seo_pack_inactive()
S
80 1 3