UpdraftPlus D

Total Complexity 1,600
Dependencies 27
Dependents 5
Total lines 6,017
Lines of code 3,782
Logical lines of code 2,904
Comment lines 1,378
Methods 156
Properties 24

Methods 156

Method Rating Maintainability Complexity Lines of code
analyse_db_file()
D
0
189 417
backup_resume()
D
0
138 373
boot_backup()
D
14
91 191
find_working_bin_zip()
D
26
61 109
send_results_email()
D
21
54 153
handle_url_actions()
D
29
51 88
backup_finish()
D
31 37 95
find_working_sqldump()
D
32 38 74
chunked_upload()
D
33 33 82
compile_folder_list_for_backup()
C
36 28 70
chunked_download()
C
36 24 66
log()
B
41 25 42
check_db_connection()
B
45 24 33
php_error_to_logline()
B
39 22 62
write_log_header()
B
38 22 50
get_entity_row()
B
44 21 35
spool_file()
B
39 19 58
backups_dir_location()
B
48 21 24
uploaded_file()
B
47 19 29
get_hosting_disk_quota_free()
B
50 19 21
check_upload_completed()
B
47 17 31
save_backup_to_history()
A
47 16 29
check_restore_progress()
A
55 16 15
get_semaphore_lock()
A
48 15 28
__construct()
A
40 13 51
printfile()
A
45 14 33
get_url()
A
45 13 42
plugins_loaded()
A
48 14 26
get_outgoing_ip_address()
A
51 14 21
updraftplus_clone_backup_jobdata()
A
41 11 53
log_wp_error()
A
51 12 25
upgrader_source_selection()
A
59 13 10
schedule_event()
A
55 11 16
get_similar_collate_based_on_ocuurence_count()
A
51 10 27
get_database_tables()
A
47 9 34
updraftplus_clone_backup_options()
A
55 10 18
admin_menu()
A
54 10 18
update_database_jobdata()
A
50 9 27
get_current_clean_url()
A
57 10 12
memory_check_current()
A
51 9 25
ensure_phpseclib()
A
52 9 22
max_packet_size()
A
56 9 15
wp_loaded_vault_disconnect()
A
49 8 29
get_total_backup_size()
A
57 9 14
found_backup_complete_in_logfile()
A
53 8 21
list_errors()
A
55 8 17
jobdata_set_multi()
A
56 8 16
is_hosting_backup_limit_reached()
S
57 8 15
record_uploaded_chunk()
S
58 8 12
is_backup_running()
S
56 7 16
get_zip_object_name()
S
64 8 8
get_settings_keys()
S
36 1 100
post_results_slack()
S
43 4 54
get_last_log_chunk()
S
53 6 21
backup_others_dirlist()
S
56 6 17
mod_rewrite_unavailable()
S
62 7 10
error_count()
S
63 7 9
close_browser_connection()
S
57 6 15
just_one_email()
S
62 7 10
schedule_backup_increments()
S
59 6 12
phpmailer_init()
S
60 6 11
get_connection_charset()
S
61 6 11
last_modified_log()
S
55 5 20
output_to_browser()
S
55 5 19
delete_local()
S
56 5 18
get_canonical_service_list()
S
65 6 8
wordpress_55_updates_potential_migration()
S
66 6 7
if_cond()
S
58 5 15
schedule_backup()
S
57 5 15
get_backup_job_semaphore_lock()
S
58 5 15
get_job_option()
S
66 6 7
get_similar_collate_related_to_charset()
S
60 5 13
schedule_backup_database()
S
60 5 12
get_backupable_file_entities()
S
52 4 26
save_last_backup()
S
55 4 19
jobdata_get()
S
67 5 7
jobdata_delete()
S
65 5 8
jobdata_set()
S
65 5 8
update_files_jobdata()
S
62 5 10
just_one()
S
67 5 6
get_exclude()
S
62 5 10
updraftplus_single_site_maintenance_init()
S
59 4 13
do_posix_functions_exist()
S
77 4 3
storage_options_filter()
S
66 4 7
modify_http_options()
S
68 4 6
no_deprecation_warnings_on_php7()
S
66 4 8
is_uploaded()
S
72 4 4
is_restricted_hosting()
S
64 4 9
is_ours_to_upload()
S
68 4 6
get_table_prefix()
S
64 4 9
check_recent_modification()
S
64 4 9
verify_free_memory()
S
63 4 9
random_schedule_time()
S
59 3 13
list_days_of_the_week()
S
60 3 13
get_hosting_info()
S
58 2 18
backup_all()
S
73 3 4
updraftcentral_command_class_wanted()
S
68 3 7
log_remove_warning()
S
65 3 9
updraftcentral_remotecontrol_command_classes()
S
72 3 5
siteid()
S
65 3 8
detect_safe_mode()
S
76 3 3
wipe_state_data()
S
63 3 10
use_unminified_scripts()
S
78 3 3
php_error()
S
68 3 6
http_api_curl()
S
70 3 6
enqueue_select2()
S
65 3 8
block_updates_during_restore_progress()
S
66 3 8
wp_upload_dir()
S
66 3 9
mark_upload_complete()
S
64 3 10
maybe_auto_update_plugin()
S
70 3 5
get_uploaded_jobdata_items()
S
64 3 9
backupnow_files()
S
73 3 4
backupnow_database()
S
73 3 4
incremental_backup_file_nonce()
S
74 3 4
backup_time_nonce()
S
64 3 9
log_permission_failure_message()
S
62 2 11
get_udrpc()
S
68 2 6
itsec_scheduled_external_backup()
S
79 2 3
replace_auto_updates_option()
S
65 2 8
set_automatic_updates()
S
63 2 10
register_wp_http_option_hooks()
S
65 2 9
initiate_restore_job()
S
66 2 8
get_updraftplus_rssfeed()
S
74 2 4
set_sender_email_address()
S
64 2 8
get_wordpress_version()
S
65 2 9
log_e()
S
64 2 10
get_updraftplus_clone()
S
74 2 4
jobdata_set_from_array()
S
74 2 4
backup_uploads_dirlist()
S
65 2 8
option_filter_get()
S
70 2 5
memory_check()
S
74 2 4
get_updraftplus_file_version()
S
67 2 7
updraftcentral_listener_pre_udrpc_action()
S
82 1 3
jobdata_getarray()
S
79 1 3
report_remotestorage_extrainfo()
S
77 1 3
is_automatic_updating_enabled()
S
73 1 4
backup_database()
S
80 1 3
backup_files()
S
80 1 3
itsec_external_backup_link()
S
80 1 3
jobdata_reset()
S
81 1 3
logfile_open()
S
67 1 7
server_configuration_file_list()
S
66 1 9
get_logfile_name()
S
75 1 4
which_checksums()
S
79 1 3
show_admin_warning_unreadablefile()
S
74 1 4
warning_exists()
S
75 1 4
remove_binzip_test_files()
S
67 1 8
log_email_delivery_failure()
S
78 1 3
updraftcentral_listener_post_udrpc_action()
S
81 1 3
log_restore_update()
S
78 1 3
cb_get_name()
S
80 1 3
cb_get_name_type()
S
77 1 3
cb_get_name_base_type()
S
78 1 3
show_admin_warning_unreadablelog()
S
74 1 4
show_admin_warning_nolog()
S
74 1 4
get_log_message_for_current_uid_and_gid()
S
71 1 5