TRP_Upgrade D

Total Complexity 138
Dependencies 2
Dependents 1
Total lines 951
Lines of code 680
Logical lines of code 337
Comment lines 162
Methods 35
Properties 3

Methods 35

Method Rating Maintainability Complexity Lines of code
trp_update_database()
C
30 27 112
check_for_necessary_updates()
A
41 15 54
get_updates_details()
A
33 1 139
trp_prepare_options_for_database_optimization()
A
49 8 33
trp_clean_original_meta_table()
S
54 6 20
show_admin_notice()
S
58 6 14
upgrade_machine_translation_settings()
S
55 5 19
trp_updated_database_full_trim_originals_140()
S
55 5 18
migrate_auto_translate_slug_to_automatic_translation()
S
60 5 13
show_notification_about_add_ons_removal()
S
51 4 25
trp_regenerate_original_meta_table()
S
57 4 16
check_if_gettext_tables_exist()
S
59 4 14
add_iso_code_to_language_code()
S
61 4 12
show_admin_error_message()
S
62 4 10
trp_updated_database_gettext_original_id_insert()
S
59 3 14
trp_updated_database_gettext_original_id_update()
S
60 3 13
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
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_gettext_original_id_cleanup()
S
65 2 9
trp_updated_database_original_id_cleanup_166()
S
67 2 8
trp_remove_duplicate_rows()
S
71 2 6
create_opposite_ls_option()
S
79 1 3
call_create_menu_entries()
S
70 1 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
trp_successfully_run_database_optimization()
S
77 1 4
admin_notice_update_database()
S
62 1 10
__construct()
S
74 1 5