UpdraftPlus_Backup D

Total Complexity 1,159
Dependencies 12
Dependents 1
Total lines 4,656
Lines of code 2,883
Logical lines of code 2,338
Comment lines 940
Methods 56
Properties 57

Methods 56

Method Rating Maintainability Complexity Lines of code
backup_db()
D
0
147 370
makezip_addfiles()
D
8
115 255
backup_table()
D
9
113 235
prune_retained_backups()
D
9
108 272
make_zipfile()
D
12
91 247
makezip_recursive_add()
D
22
70 141
backup_dirs()
D
25
55 123
create_zip()
D
26
44 120
cloud_backup()
D
30 43 89
backup_table_bindump()
C
32 31 85
__construct()
C
37 32 52
updraftplus_include_manifest()
C
38 27 56
number_of_rows_to_fetch()
B
44 22 34
backup_db_header()
B
34 17 80
is_entity_excluded_by_wildcards()
A
50 17 22
prune_file()
A
44 14 38
populate_existing_files_list()
A
42 13 49
upload_cloud()
A
45 11 42
get_oversized_rows()
A
50 11 25
remove_backup_set_if_empty()
A
47 10 35
record_zip_error()
A
46 10 31
maybe_cloud_backup()
A
54 10 17
bump_index()
A
45 8 36
resumable_backup_of_files()
A
50 8 29
write_table_backup_beginning()
A
50 8 25
do_prune_standalone()
A
53 8 19
backup_exclude_jobdata()
A
55 8 17
write_zip_manifest_from_zip()
S
48 7 30
find_existing_zips()
S
56 8 15
encrypt_file()
S
48 6 29
get_site_name()
S
59 7 11
get_excluded_extensions()
S
57 6 16
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
log_expected_rows()
S
61 4 10
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
file_exists()
S
66 3 8
log_with_db_occasionally()
S
62 2 11
backup_db_close()
S
78 2 3
log_account_space()
S
64 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