Wptc_Backup_Before_Update D

Total Complexity 298
Dependencies 10
Dependents 0
Total lines 1,636
Lines of code 1,219
Logical lines of code 767
Comment lines 53
Methods 45
Properties 20

Methods 45

Method Rating Maintainability Complexity Lines of code
upgrade_core()
D
24
41 181
set_bbu_backup_name()
C
33 28 108
set_bbu_notice_view()
C
37 23 76
handle_iwp_update_request()
B
36 19 77
send_report_data()
B
40 15 63
upgrade_theme()
A
44 10 44
upgrade_plugin()
A
45 10 43
process_upgrade_response()
A
49 10 28
upgrade_translation()
A
46 9 37
do_single_upgrades()
A
53 8 21
do_bulk_upgrade_request()
A
49 7 32
do_upgrade()
A
49 7 31
parse_error_from_core_upgrade()
S
58 8 14
check_auto_update_failed_and_exclude_update()
S
54 7 20
parse_upgrade_response()
S
54 7 20
add_into_retry_list()
S
49 6 33
retry_failed_upgrades()
S
52 6 24
purify_update_req_data_wptc()
S
58 6 16
process_theme_upgrade_response()
S
50 5 27
process_plugin_upgrade_response()
S
51 5 25
parse_bulk_upgrade_response()
S
52 5 25
is_upgrade_response_contains_errors()
S
54 5 21
remove_a_item_from_update_list()
S
58 5 16
check_retry_limit()
S
55 4 20
process_translation_upgrade_response()
S
59 4 13
update_backup_name_wptc()
S
57 3 16
ithemes_updater_compatiblity()
S
64 4 10
__construct()
S
46 1 42
check_if_update_blocked_always_by_user_setting()
S
68 3 7
check_and_initiate_if_update_required_after_backup_wptc()
S
65 3 9
init()
S
70 3 6
process_core_upgrade_response()
S
58 2 14
do_theme_upgrade()
S
60 2 13
unset_a_plugin_theme_from_upgrade_list()
S
61 2 12
update_formated_single_upgrade_details()
S
62 2 11
do_plugin_upgrade()
S
58 1 16
bulk_update_request()
S
68 2 7
is_upgrade_failed()
S
67 2 7
verify_auto_update_plugin()
S
73 2 4
get_server_not_writable_arr()
S
74 1 5
check_site_alive_after_update()
S
69 1 7
is_switch_on()
S
82 1 3
split_bulk_into_single_upgrades()
S
67 1 7
map_update_results_with_backup()
S
75 1 4
finish_upgrade_process()
S
75 1 4