UpdraftPlus_Backup D

Total Complexity 1,106
Dependencies 12
Dependents 1
Total lines 4,430
Lines of code 2,755
Logical lines of code 2,241
Comment lines 910
Methods 56
Properties 37

Methods 56

Method Rating Maintainability Complexity Lines of code
backup_db()
D
0
140 349
backup_table()
D
9
111 230
prune_retained_backups()
D
10
105 262
makezip_addfiles()
D
10
104 233
make_zipfile()
D
12
90 247
makezip_recursive_add()
D
22
69 135
backup_dirs()
D
26
51 118
create_zip()
D
27
40 116
cloud_backup()
D
30 40 86
__construct()
C
38 28 51
updraftplus_include_manifest()
C
38 27 56
backup_table_bindump()
C
35 24 72
backup_db_sorttables()
B
44 24 35
number_of_rows_to_fetch()
B
44 22 34
is_entity_excluded_by_wildcards()
A
50 17 22
populate_existing_files_list()
A
42 12 47
upload_cloud()
A
45 10 41
get_oversized_rows()
A
50 11 25
remove_backup_set_if_empty()
A
47 10 35
backup_db_header()
A
42 8 48
record_zip_error()
A
46 9 31
bump_index()
A
46 8 34
resumable_backup_of_files()
A
50 8 29
write_table_backup_beginning()
A
50 8 25
prune_file()
A
52 8 22
do_prune_standalone()
A
53 8 19
backup_exclude_jobdata()
S
56 8 15
find_existing_zips()
S
56 8 15
write_zip_manifest_from_zip()
S
49 6 29
get_site_name()
S
59 7 11
get_excluded_extensions()
S
57 6 16
encrypt_file()
S
49 5 28
write_zip_manifest_from_list()
S
52 5 22
unserialize_gz_cache_file()
S
55 5 18
backup_db_open()
S
56 5 17
basename()
S
58 4 15
get_excluded_wildcards()
S
59 4 13
hex2bin()
S
50 3 26
get_excluded_prefixes()
S
63 4 10
file_should_be_stored_without_compression()
S
65 4 8
is_entity_excluded_by_extension()
S
65 4 8
backup_exclude_file()
S
68 4 6
stow()
S
63 4 9
is_entity_excluded_by_prefix()
S
64 4 9
maybe_save_backup_history_and_reschedule()
S
62 3 11
get_rows_on_first_fetch()
S
64 3 10
log_expected_rows()
S
61 3 10
file_exists()
S
66 3 8
log_account_space()
S
63 3 9
log_with_db_occasionally()
S
62 2 11
backup_db_close()
S
78 2 3
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