UpdraftPlus_Backup D

Total Complexity 972
Dependencies 12
Dependents 1
Total lines 3,912
Lines of code 2,463
Logical lines of code 1,989
Comment lines 777
Methods 49
Properties 35

Methods 49

Method Rating Maintainability Complexity Lines of code
backup_db()
D
2
127 328
prune_retained_backups()
D
10
105 262
makezip_addfiles()
D
12
98 220
make_zipfile()
D
11
93 262
backup_table()
D
16
84 173
makezip_recursive_add()
D
24
61 130
backup_dirs()
D
26
51 118
create_zip()
D
27
38 116
cloud_backup()
D
31 38 81
__construct()
C
38 28 51
updraftplus_include_manifest()
C
38 27 56
backup_db_sorttables()
B
44 24 35
backup_table_bindump()
A
40 15 51
number_of_rows_to_fetch()
A
50 12 24
upload_cloud()
A
45 10 41
remove_backup_set_if_empty()
A
47 10 35
backup_db_header()
A
42 8 47
record_zip_error()
A
46 9 31
resumable_backup_of_files()
A
50 8 29
write_table_backup_beginning()
A
50 8 25
do_prune_standalone()
A
53 8 19
bump_index()
A
47 7 32
find_existing_zips()
A
55 8 17
backup_exclude_jobdata()
S
56 8 15
encrypt_file()
S
49 7 28
prune_file()
S
55 7 17
get_site_name()
S
59 7 11
get_excluded_extensions()
S
57 6 16
unserialize_gz_cache_file()
S
55 5 18
backup_db_open()
S
57 4 16
basename()
S
58 4 15
hex2bin()
S
50 3 26
stow()
S
62 4 11
file_should_be_stored_without_compression()
S
65 4 8
is_entity_excluded_by_prefix()
S
64 4 9
backup_exclude_file()
S
68 4 6
is_entity_excluded_by_extension()
S
65 4 8
get_excluded_prefixes()
S
63 4 10
maybe_save_backup_history_and_reschedule()
S
62 3 11
log_account_space()
S
63 3 9
file_exists()
S
66 3 8
log_with_db_occasionally()
S
62 2 11
backup_db_close()
S
78 2 3
get_rows_on_first_fetch()
S
67 2 8
group_backups()
S
78 1 3
cb_get_name_base_type()
S
78 1 3
cb_get_name_type()
S
77 1 3
cb_get_name()
S
80 1 3
get_backup_file_basename_from_time()
S
73 1 4