TRP_Translation_Manager D

Total Complexity 217
Dependencies 5
Dependents 16
Total lines 1,376
Lines of code 884
Logical lines of code 432
Comment lines 265
Methods 46
Properties 8

Methods 46

Method Rating Maintainability Complexity Lines of code
process_gettext_strings()
D
23
50 162
trp_view_as_user()
A
50 13 26
machine_translate_gettext()
A
48 10 34
is_ajax_on_frontend()
A
49 10 26
get_trp_editor_data()
A
38 7 67
handle_date_i18n_function_for_gettext()
A
43 8 44
verify_locale_of_loaded_textdomain()
A
52 9 23
set_vars_in_frontend_ajax_request()
A
52 9 22
save_editor_user_meta()
A
55 9 17
display_possible_db_errors()
S
56 7 17
processing_gettext_is_needed()
S
61 7 11
create_gettext_translated_global()
S
54 6 21
localized_text()
S
39 3 61
conditions_met()
S
57 6 16
add_shortcut_to_translation_editor()
S
46 4 41
initialize_gettext_processing()
S
61 6 11
filter_the_date()
S
61 5 13
is_domain_loaded_in_locale()
S
59 4 14
strip_gettext_tags()
S
62 3 11
has_bad_characters()
S
55 2 25
get_help_panel_content()
S
52 1 26
get_editors_navigation()
S
56 1 19
enqueue_scripts_and_styles()
S
56 1 16
editor_nonces()
S
57 1 16
trp_strip_gettext_tags_from_esc_url()
S
68 2 7
process_ngettext_strings()
S
68 2 7
trp_sanitize_title()
S
64 2 9
woocommerce_process_ngettext_strings_with_context()
S
70 2 6
add_language_to_body_class()
S
69 2 7
woocommerce_process_ngettext_strings()
S
70 2 6
call_gettext_filters()
S
63 2 9
woocommerce_process_gettext_strings_with_context()
S
70 2 6
woocommerce_process_gettext_strings()
S
71 2 6
apply_gettext_filter()
S
70 2 6
hide_admin_bar_when_in_editor()
S
72 2 6
enqueue_preview_scripts_and_styles()
S
69 2 6
translation_editor()
S
71 2 6
string_groups()
S
62 1 11
process_gettext_strings_with_context()
S
76 1 4
process_ngettext_strings_with_context()
S
75 1 4
apply_woocommerce_gettext_filter()
S
81 1 3
add_styling_to_admin_bar_button()
S
71 1 10
get_editor_user_meta()
S
72 1 5
get_default_editor_user_meta()
S
66 1 9
get_merge_rules()
S
61 1 9
__construct()
S
81 1 3