TRP_Upgrade C

Total Complexity 121
Dependencies 2
Dependents 1
Total lines 817
Lines of code 594
Logical lines of code 296
Comment lines 125
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
trp_update_database()
C
31 25 109
check_for_necessary_updates()
A
44 13 44
trp_prepare_options_for_database_optimization()
A
48 8 34
get_updates_details()
S
35 1 115
trp_clean_original_meta_table()
S
54 6 20
upgrade_machine_translation_settings()
S
55 5 19
trp_updated_database_full_trim_originals_140()
S
55 5 18
show_admin_notice()
S
59 5 13
show_admin_error_message()
S
59 5 13
show_notification_about_add_ons_removal()
S
51 4 25
trp_regenerate_original_meta_table()
S
57 4 16
add_iso_code_to_language_code()
S
61 4 12
check_if_gettext_tables_exist()
S
63 4 11
trp_updated_database_original_id_update_166()
S
61 3 12
add_full_text_index_to_tables()
S
61 3 12
trp_updated_database_original_id_insert_166()
S
61 3 12
trp_updated_database_gettext_empty_rows_145()
S
62 3 12
set_force_slash_at_end_of_links()
S
63 3 10
trp_remove_duplicate_original_strings()
S
61 2 13
enqueue_update_script()
S
62 2 11
trp_updated_database_original_id_cleanup_166()
S
67 2 8
trp_remove_duplicate_rows()
S
71 2 6
register_menu_page()
S
73 1 4
stop_and_print_error()
S
64 1 9
trp_update_database_page()
S
80 1 3
trp_admin_notice_error_database()
S
71 1 5
create_opposite_ls_option()
S
79 1 3
call_create_menu_entries()
S
70 1 6
trp_successfully_run_database_optimization()
S
77 1 4
admin_notice_update_database()
S
62 1 10
__construct()
S
74 1 5