TRP_Upgrade D

Total Complexity 164
Dependencies 2
Dependents 1
Total lines 1,087
Lines of code 774
Logical lines of code 391
Comment lines 182
Methods 38
Properties 3

Methods 38

Method Rating Maintainability Complexity Lines of code
trp_update_database()
C
30 28 115
check_for_necessary_updates()
B
40 17 60
trp_replace_original_id_null()
A
43 11 48
trp_prepare_options_for_database_optimization()
A
47 9 37
show_admin_notice()
A
55 10 17
get_updates_details()
A
32 1 147
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
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
add_tp_block_index()
S
56 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
migrate_machine_translation_counter()
S
69 3 6
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
trp_updated_database_gettext_original_id_cleanup()
S
65 2 9
admin_notice_update_database()
S
62 1 10
stop_and_print_error()
S
64 1 9
trp_successfully_run_database_optimization()
S
77 1 4
call_create_menu_entries()
S
70 1 6
create_opposite_ls_option()
S
79 1 3
trp_update_database_page()
S
80 1 3
trp_admin_notice_error_database()
S
71 1 5
register_menu_page()
S
73 1 4
__construct()
S
74 1 5