IWP_MMB_Backup_Core D

Total Complexity 1,494
Dependencies 16
Dependents 3
Total lines 5,139
Lines of code 3,758
Logical lines of code 2,924
Comment lines 556
Methods 142
Properties 25

Methods 142

Method Rating Maintainability Complexity Lines of code
backup_resume()
D
6
114 296
rebuild_backup_history()
D
14
100 196
analyse_db_file()
D
15
89 181
boot_backup()
D
21
66 141
find_working_bin_zip()
D
26
58 112
do_iwp_download_backup()
D
21
50 181
delete_backup()
D
27
50 111
clean_temporary_files()
D
38 39 49
getCloudBackupSize()
C
32 28 100
chunked_upload()
C
35 30 70
set_backup_task_option()
C
29 26 121
backup_finish()
C
33 26 84
find_working_sqldump()
C
37 25 59
compile_folder_list_for_backup()
C
39 25 55
printfile()
C
40 25 46
chunked_download()
B
37 23 63
check_db_connection()
B
45 24 33
log()
B
41 23 42
createCloudInstance()
B
36 20 78
decrypt()
B
38 19 64
php_error_to_logline()
B
47 21 27
gzopen_for_read()
B
40 18 53
write_log_header()
B
39 18 48
get_remote_file()
B
40 16 54
get_hosting_disk_quota_free()
B
51 18 19
getRunningBackupStatus()
A
41 15 51
uploaded_file()
A
47 16 29
set_cloud_upload_setting()
A
38 12 72
get_storage_objects_and_ids()
A
48 13 29
log_wp_error()
A
51 12 25
save_backup_history()
A
48 11 28
schedule_event()
A
55 11 16
fetch_log()
A
45 9 39
activejobs_delete()
A
51 10 22
ensure_phpseclib_old()
A
54 10 19
increase_resume_and_reschedule()
A
55 10 16
memory_check_current()
A
51 9 25
ensure_phpseclib()
A
52 9 22
backupable_file_entities_final()
A
48 8 32
get_cron_data()
A
57 9 15
get_cron()
A
57 9 15
update_remote_storage_options_format()
A
53 8 20
backups_dir_location()
A
54 8 19
list_errors()
A
55 8 17
record_uploaded_chunk()
S
58 8 12
logfile_open()
S
51 7 25
something_useful_happened()
S
51 7 24
last_backup_staus()
S
56 7 18
remove_local_directory()
S
57 7 15
get_mime_type_from_filename()
S
57 7 15
get_max_packet_size()
S
56 7 15
backup_others_dirlist()
S
56 6 17
just_one_email()
S
62 7 10
jobdata_get()
S
64 7 9
error_count()
S
66 7 7
plugins_loaded()
S
68 7 6
mod_rewrite_unavailable()
S
62 7 10
dropbox_modpath()
S
50 5 28
ensure_semaphore_exists()
S
51 5 26
last_modified_log()
S
55 5 20
backquote()
S
59 5 15
schedule_backup_database()
S
60 5 12
download_file()
S
50 4 27
schedule_backup()
S
60 5 12
get_backupable_file_entities()
S
52 4 26
spool_crypted_file()
S
54 4 20
max_time_passed()
S
57 4 16
terminate_due_to_activity()
S
62 5 8
get_exclude()
S
62 5 10
get_job_option()
S
66 5 7
just_one()
S
67 5 6
delete_backup_by_id()
S
63 5 9
jobdata_delete()
S
65 5 8
jobdata_set()
S
65 5 8
prune_iwp_dir_prefix()
S
63 5 9
delete_local()
S
59 4 14
get_timestamp_by_label()
S
61 4 13
convert_numeric_size_to_text()
S
62 4 11
remove_backup_set_cleanup()
S
56 3 16
modify_http_options()
S
68 4 6
s3_sanitise()
S
68 4 6
ftp_sanitise()
S
68 4 6
get_table_prefix()
S
64 4 9
verify_free_memory()
S
63 4 9
instance_ids_sort()
S
68 4 7
reschedule_if_needed()
S
65 4 9
get_backup_history()
S
64 4 10
no_deprecation_warnings_on_php7()
S
66 4 8
toBytes()
S
62 4 10
remove_empties()
S
68 4 7
jobdata_set_multi()
S
62 4 10
check_recent_modification()
S
64 4 9
record_still_alive()
S
58 3 14
get_backup_stats()
S
61 3 13
parse_filename()
S
60 3 12
backup_more_dirlist()
S
60 3 12
iwp_pheonix_backup_cron_do_action()
S
61 3 12
createBackupMetaFile()
S
50 2 27
is_cron_do_action_need()
S
66 3 8
restore_loop_break()
S
64 3 9
detect_safe_mode()
S
76 3 3
wp_upload_dir()
S
66 3 9
php_error()
S
68 3 6
backup_all()
S
73 3 4
backupnow_files()
S
73 3 4
backupnow_database()
S
73 3 4
is_uploaded()
S
72 3 4
really_is_writable()
S
62 3 10
reschedule()
S
63 3 9
siteid()
S
65 3 8
http_api_curl()
S
70 3 6
save_last_backup()
S
62 2 11
kill_new_backup()
S
57 1 17
get_wordpress_version()
S
65 2 9
filter_IWP_backup_history()
S
68 2 6
memory_check()
S
74 2 4
log_e()
S
64 2 10
jobdata_set_from_array()
S
74 2 4
str_replace_once()
S
73 2 4
str_lreplace()
S
71 2 5
log_removewarning()
S
68 2 7
backup_uploads_dirlist()
S
65 2 8
wrap_remote_storage_options()
S
72 2 5
register_wp_http_option_hooks()
S
65 2 9
option_filter_get()
S
70 2 5
backup_time_nonce()
S
67 2 7
retain_range()
S
74 2 4
__construct()
S
59 1 13
which_checksums()
S
79 1 3
remove_binzip_test_files()
S
67 1 8
get_requested_task()
S
69 1 6
save_history()
S
79 1 3
jobdata_getarray()
S
79 1 3
backup_files()
S
80 1 3
backup_database()
S
80 1 3
strip_dirslash()
S
79 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
get_settings_keys()
S
65 1 5
is_db_encrypted()
S
79 1 3
jobdata_reset()
S
81 1 3