UpdraftPlus_Backup D

Total Complexity 1,033
Dependencies 12
Dependents 1
Total lines 4,117
Lines of code 2,576
Logical lines of code 2,099
Comment lines 824
Methods 50
Properties 35

Methods 50

Method Rating Maintainability Complexity Lines of code
backup_db()
D
0
138 344
prune_retained_backups()
D
10
105 262
backup_table()
D
11
104 217
makezip_addfiles()
D
10
103 231
make_zipfile()
D
11
93 262
makezip_recursive_add()
D
24
61 126
backup_dirs()
D
26
51 118
create_zip()
D
27
40 116
cloud_backup()
D
31 39 81
__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()
A
50 12 24
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
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
backup_exclude_jobdata()
S
56 8 15
find_existing_zips()
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
56 5 17
basename()
S
58 4 15
hex2bin()
S
50 3 26
stow()
S
63 4 9
file_should_be_stored_without_compression()
S
65 4 8
get_excluded_prefixes()
S
63 4 10
is_entity_excluded_by_extension()
S
65 4 8
is_entity_excluded_by_prefix()
S
64 4 9
backup_exclude_file()
S
68 4 6
maybe_save_backup_history_and_reschedule()
S
62 3 11
get_rows_on_first_fetch()
S
64 3 10
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
group_backups()
S
78 1 3
get_backup_file_basename_from_time()
S
73 1 4
cb_get_name_base_type()
S
78 1 3
cb_get_name_type()
S
77 1 3
cb_get_name()
S
80 1 3