UpdraftPlus D

Total Complexity 1,698
Dependencies 29
Dependents 7
Total lines 6,424
Lines of code 4,029
Logical lines of code 3,073
Comment lines 1,496
Methods 172
Properties 31

Methods 172

Method Rating Maintainability Complexity Lines of code
analyse_db_file()
D
0
190 423
backup_resume()
D
0
144 383
boot_backup()
D
14
93 194
handle_url_actions()
D
26
63 94
find_working_bin_zip()
D
26
62 109
send_results_email()
D
20
57 164
backup_finish()
D
28
44 112
find_working_sqldump()
D
32 39 74
chunked_upload()
D
33 33 82
compile_folder_list_for_backup()
C
36 28 70
php_error_to_logline()
C
36 26 74
chunked_download()
C
36 24 66
log()
B
41 25 42
check_db_connection()
B
45 24 33
write_log_header()
B
38 22 50
backups_dir_location()
B
47 22 26
get_entity_row()
B
44 21 35
spool_file()
B
39 19 58
get_hosting_disk_quota_free()
B
50 20 21
uploaded_file()
B
47 19 29
__construct()
B
38 15 61
check_upload_completed()
B
47 17 31
potentially_remove_composer_autoloaders()
A
48 17 28
save_backup_to_history()
A
46 16 29
check_restore_progress()
A
55 16 15
get_url()
A
44 14 45
get_semaphore_lock()
A
48 15 28
plugins_loaded()
A
48 15 26
printfile()
A
45 14 33
get_outgoing_ip_address()
A
51 14 21
updraftplus_clone_backup_jobdata()
A
41 11 55
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
update_database_jobdata()
A
50 9 27
get_current_clean_url()
A
57 10 12
memory_check_current()
A
51 9 25
found_backup_complete_in_logfile()
A
52 9 21
max_packet_size()
A
56 9 15
wp_loaded_vault_disconnect()
A
49 8 29
get_total_backup_size()
A
57 9 14
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
close_browser_connection()
S
56 7 16
get_zip_object_name()
S
64 8 8
get_settings_keys()
S
35 1 104
list_active_features_requiring_phpseclib()
S
60 7 11
post_results_slack()
S
43 4 54
get_last_log_chunk()
S
53 6 21
backup_others_dirlist()
S
56 6 17
just_one_email()
S
62 7 10
mod_rewrite_unavailable()
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
ensure_phpseclib()
S
57 5 16
get_job_option()
S
66 6 7
schedule_backup()
S
57 5 15
get_backup_job_semaphore_lock()
S
58 5 15
get_canonical_service_list()
S
65 6 8
wordpress_55_updates_potential_migration()
S
66 6 7
if_cond()
S
58 5 15
get_backupable_file_entities()
S
50 4 28
get_similar_collate_related_to_charset()
S
60 5 13
schedule_backup_database()
S
60 5 12
autoload_phpseclib_class()
S
59 5 12
load_checkout_embed()
S
54 4 20
save_last_backup()
S
55 4 19
mitigate_guzzle_autoloader_conflicts()
S
65 5 8
just_one()
S
67 5 6
get_exclude()
S
62 5 10
jobdata_set()
S
65 5 8
jobdata_delete()
S
65 5 8
update_files_jobdata()
S
62 5 10
jobdata_get()
S
67 5 7
delete_local()
S
59 4 14
updraftplus_single_site_maintenance_init()
S
59 4 13
check_recent_modification()
S
64 4 9
is_ours_to_upload()
S
68 4 6
no_deprecation_warnings_on_php7()
S
66 4 8
is_uploaded()
S
72 4 4
verify_free_memory()
S
63 4 9
get_table_prefix()
S
64 4 9
maybe_log_phpseclib_warnings()
S
64 4 9
is_restricted_hosting()
S
64 4 9
storage_options_filter()
S
66 4 7
do_posix_functions_exist()
S
77 4 3
modify_http_options()
S
68 4 6
random_schedule_time()
S
59 3 13
list_days_of_the_week()
S
60 3 13
get_hosting_info()
S
58 2 18
siteid()
S
65 3 8
block_updates_during_restore_progress()
S
66 3 8
phpseclib_requirements_met()
S
68 3 6
detect_safe_mode()
S
76 3 3
enqueue_select2()
S
65 3 8
log_remove_warning()
S
65 3 9
http_api_curl()
S
70 3 6
backupnow_database()
S
73 3 4
backup_time_nonce()
S
64 3 9
wp_upload_dir()
S
66 3 9
updraftcentral_command_class_wanted()
S
68 3 7
maybe_auto_update_plugin()
S
70 3 5
incremental_backup_file_nonce()
S
74 3 4
get_initial_resume_interval()
S
64 3 9
updraftcentral_remotecontrol_command_classes()
S
72 3 5
backupnow_files()
S
73 3 4
restore_composer_autoloaders()
S
65 3 9
backup_all()
S
73 3 4
php_error()
S
68 3 6
use_unminified_scripts()
S
78 3 3
get_uploaded_jobdata_items()
S
64 3 9
mark_upload_complete()
S
64 3 10
log_permission_failure_message()
S
62 2 11
get_udrpc()
S
67 2 7
set_automatic_updates()
S
63 2 10
initiate_restore_job()
S
66 2 8
get_avatar_url()
S
75 2 4
replace_auto_updates_option()
S
65 2 8
itsec_scheduled_external_backup()
S
79 2 3
log_e()
S
64 2 10
get_updraftplus_rssfeed()
S
74 2 4
get_email_from_header()
S
65 2 9
option_filter_get()
S
70 2 5
jobdata_set_from_array()
S
74 2 4
get_updraftplus_clone()
S
74 2 4
get_updraftplus_file_version()
S
67 2 7
memory_check()
S
74 2 4
get_wordpress_version()
S
65 2 9
register_wp_http_option_hooks()
S
65 2 9
unserialize()
S
66 2 8
backup_uploads_dirlist()
S
65 2 8
php_specific_error_handler_data()
S
62 1 13
logfile_open()
S
67 1 7
parent_file()
S
75 1 4
log_restore_update()
S
78 1 3
warning_exists()
S
75 1 4
get_site_name()
S
77 1 3
remove_binzip_test_files()
S
67 1 8
get_phpseclib_warning_msg()
S
62 1 10
which_checksums()
S
79 1 3
get_logfile_name()
S
75 1 4
is_automatic_updating_enabled()
S
73 1 4
jobdata_getarray()
S
79 1 3
show_admin_warning_unreadablelog()
S
74 1 4
cb_get_name_base_type()
S
78 1 3
report_remotestorage_extrainfo()
S
77 1 3
cb_get_name_type()
S
77 1 3
server_configuration_file_list()
S
66 1 9
show_admin_warning_nolog()
S
74 1 4
show_admin_warning_unreadablefile()
S
74 1 4
backup_files()
S
80 1 3
backup_database()
S
80 1 3
updraftcentral_listener_post_udrpc_action()
S
81 1 3
updraftcentral_listener_pre_udrpc_action()
S
82 1 3
itsec_external_backup_link()
S
80 1 3
log_email_delivery_failure()
S
78 1 3
get_log_message_for_current_uid_and_gid()
S
71 1 5
attach_updraftcentral_host()
S
77 1 4
get_email_from_name_header()
S
78 1 3
cb_get_name()
S
80 1 3
jobdata_reset()
S
81 1 3