TRP_Upgrade C

Total Complexity 110
Dependencies 2
Dependents 1
Total lines 737
Lines of code 530
Logical lines of code 273
Comment lines 124
Methods 27
Properties 3

Methods 27

Method Rating Maintainability Complexity Lines of code
trp_update_database()
C
31 23 109
check_for_necessary_updates()
A
44 13 44
trp_remove_duplicate_rows()
A
53 8 22
trp_clean_original_meta_table()
S
54 6 20
get_updates_details()
S
38 1 90
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_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_gettext_empty_rows_145()
S
62 3 12
trp_updated_database_original_id_insert_166()
S
61 3 12
trp_updated_database_original_id_update_166()
S
61 3 12
add_full_text_index_to_tables()
S
61 3 12
set_force_slash_at_end_of_links()
S
63 3 10
trp_remove_duplicate_original_strings()
S
59 2 14
enqueue_update_script()
S
62 2 11
trp_updated_database_original_id_cleanup_166()
S
67 2 8
register_menu_page()
S
73 1 4
create_opposite_ls_option()
S
79 1 3
call_create_menu_entries()
S
70 1 6
stop_and_print_error()
S
64 1 9
trp_update_database_page()
S
80 1 3
admin_notice_update_database()
S
62 1 10
__construct()
S
74 1 5