UpdraftPlus D

Total Complexity 1,634
Dependencies 27
Dependents 5
Total lines 6,168
Lines of code 3,870
Logical lines of code 2,973
Comment lines 1,415
Methods 161
Properties 31

Methods 161

Method Rating Maintainability Complexity Lines of code
analyse_db_file()
D
0
191 422
backup_resume()
D
0
144 383
boot_backup()
D
14
89 188
find_working_bin_zip()
D
26
61 109
send_results_email()
D
21
55 160
handle_url_actions()
D
29
51 88
backup_finish()
D
31 37 96
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
potentially_remove_composer_autoloaders()
A
48 17 28
save_backup_to_history()
A
47 16 29
__construct()
A
39 14 56
check_restore_progress()
A
55 16 15
get_semaphore_lock()
A
48 15 28
printfile()
A
45 14 33
get_url()
A
45 13 42
get_outgoing_ip_address()
A
51 14 21
updraftplus_clone_backup_jobdata()
A
41 11 55
plugins_loaded()
A
49 13 24
log_wp_error()
A
51 12 25
upgrader_source_selection()
A
59 13 10
updraftplus_clone_backup_options()
A
55 11 19
schedule_event()
A
55 11 16
get_similar_collate_based_on_ocuurence_count()
A
51 10 27
get_database_tables()
A
47 9 34
admin_menu()
A
54 10 18
get_current_clean_url()
A
57 10 12
update_database_jobdata()
A
50 9 27
memory_check_current()
A
51 9 25
ensure_phpseclib()
A
52 9 22
found_backup_complete_in_logfile()
A
52 9 21
max_packet_size()
A
56 9 15
get_total_backup_size()
A
57 9 14
wp_loaded_vault_disconnect()
A
49 8 29
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
close_browser_connection()
S
57 6 15
mod_rewrite_unavailable()
S
62 7 10
just_one_email()
S
62 7 10
error_count()
S
63 7 9
schedule_backup_increments()
S
59 6 12
get_connection_charset()
S
61 6 11
wipe_state_data()
S
51 5 25
last_modified_log()
S
55 5 20
output_to_browser()
S
55 5 19
if_cond()
S
58 5 15
get_backup_job_semaphore_lock()
S
58 5 15
get_canonical_service_list()
S
65 6 8
get_job_option()
S
66 6 7
schedule_backup()
S
57 5 15
wordpress_55_updates_potential_migration()
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
51 4 26
save_last_backup()
S
55 4 19
jobdata_get()
S
67 5 7
update_files_jobdata()
S
62 5 10
mitigate_guzzle_autoloader_conflicts()
S
65 5 8
get_exclude()
S
62 5 10
jobdata_delete()
S
65 5 8
jobdata_set()
S
65 5 8
just_one()
S
67 5 6
delete_local()
S
59 4 14
updraftplus_single_site_maintenance_init()
S
59 4 13
is_restricted_hosting()
S
64 4 9
storage_options_filter()
S
66 4 7
do_posix_functions_exist()
S
77 4 3
no_deprecation_warnings_on_php7()
S
66 4 8
modify_http_options()
S
68 4 6
is_uploaded()
S
72 4 4
is_ours_to_upload()
S
68 4 6
check_recent_modification()
S
64 4 9
get_table_prefix()
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
backupnow_files()
S
73 3 4
enqueue_select2()
S
65 3 8
backup_time_nonce()
S
64 3 9
log_remove_warning()
S
65 3 9
updraftcentral_command_class_wanted()
S
68 3 7
updraftcentral_remotecontrol_command_classes()
S
72 3 5
detect_safe_mode()
S
76 3 3
restore_composer_autoloaders()
S
65 3 9
siteid()
S
65 3 8
php_error()
S
68 3 6
use_unminified_scripts()
S
78 3 3
http_api_curl()
S
70 3 6
block_updates_during_restore_progress()
S
66 3 8
wp_upload_dir()
S
66 3 9
maybe_auto_update_plugin()
S
70 3 5
get_initial_resume_interval()
S
64 3 9
incremental_backup_file_nonce()
S
74 3 4
get_uploaded_jobdata_items()
S
64 3 9
backupnow_database()
S
73 3 4
mark_upload_complete()
S
64 3 10
backup_all()
S
73 3 4
log_permission_failure_message()
S
62 2 11
get_email_from_header()
S
64 2 9
register_wp_http_option_hooks()
S
65 2 9
replace_auto_updates_option()
S
65 2 8
itsec_scheduled_external_backup()
S
79 2 3
get_udrpc()
S
68 2 6
get_wordpress_version()
S
65 2 9
set_automatic_updates()
S
63 2 10
initiate_restore_job()
S
66 2 8
get_updraftplus_rssfeed()
S
74 2 4
memory_check()
S
74 2 4
option_filter_get()
S
70 2 5
log_e()
S
64 2 10
jobdata_set_from_array()
S
74 2 4
backup_uploads_dirlist()
S
65 2 8
get_updraftplus_clone()
S
74 2 4
get_updraftplus_file_version()
S
67 2 7
backup_files()
S
80 1 3
itsec_external_backup_link()
S
80 1 3
backup_database()
S
80 1 3
log_email_delivery_failure()
S
78 1 3
server_configuration_file_list()
S
66 1 9
jobdata_reset()
S
81 1 3
is_automatic_updating_enabled()
S
73 1 4
report_remotestorage_extrainfo()
S
77 1 3
jobdata_getarray()
S
79 1 3
which_checksums()
S
79 1 3
show_admin_warning_nolog()
S
74 1 4
show_admin_warning_unreadablelog()
S
74 1 4
remove_binzip_test_files()
S
67 1 8
get_log_message_for_current_uid_and_gid()
S
71 1 5
show_admin_warning_unreadablefile()
S
74 1 4
cb_get_name()
S
80 1 3
cb_get_name_type()
S
77 1 3
cb_get_name_base_type()
S
78 1 3
attach_updraftcentral_host()
S
77 1 4
updraftcentral_listener_pre_udrpc_action()
S
82 1 3
updraftcentral_listener_post_udrpc_action()
S
81 1 3
log_restore_update()
S
78 1 3
warning_exists()
S
75 1 4
get_logfile_name()
S
75 1 4
logfile_open()
S
67 1 7
get_email_from_name_header()
S
76 1 3