UpdraftPlus_Backup D

Total Complexity 1,137
Dependencies 12
Dependents 1
Total lines 4,550
Lines of code 2,810
Logical lines of code 2,291
Comment lines 933
Methods 57
Properties 50

Methods 57

Method Rating Maintainability Complexity Lines of code
backup_db()
D
0
147 366
backup_table()
D
9
111 231
makezip_addfiles()
D
9
107 241
prune_retained_backups()
D
10
105 262
make_zipfile()
D
12
90 246
makezip_recursive_add()
D
22
69 137
backup_dirs()
D
26
53 118
create_zip()
D
26
44 119
cloud_backup()
D
30 41 86
backup_table_bindump()
C
33 27 78
__construct()
C
38 28 50
updraftplus_include_manifest()
C
38 27 56
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 11 42
get_oversized_rows()
A
50 11 25
remove_backup_set_if_empty()
A
47 10 35
backup_db_header()
A
42 8 48
maybe_cloud_backup()
A
54 10 17
record_zip_error()
A
46 9 31
bump_index()
A
45 8 35
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()
A
55 8 17
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
file_should_be_stored_without_compression()
S
65 4 8
backup_exclude_file()
S
68 4 6
is_entity_excluded_by_prefix()
S
64 4 9
is_entity_excluded_by_extension()
S
65 4 8
log_expected_rows()
S
61 4 10
get_excluded_prefixes()
S
63 4 10
stow()
S
63 4 9
maybe_save_backup_history_and_reschedule()
S
62 3 11
file_exists()
S
66 3 8
get_rows_on_first_fetch()
S
64 3 10
log_with_db_occasionally()
S
62 2 11
backup_db_close()
S
78 2 3
log_account_space()
S
64 2 8
get_backup_file_basename_from_time()
S
73 1 4
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