BackWPup_Job D

Total Complexity 446
Dependencies 20
Dependents 31
Total lines 2,954
Lines of code 2,070
Logical lines of code 1,115
Comment lines 456
Methods 46
Properties 32

Methods 46

Method Rating Maintainability Complexity Lines of code
create()
D
11
66 349
log()
D
22
47 172
end()
D
25
30 172
run()
D
26
31 145
get_jobrun_url()
D
29
31 116
create_archive()
D
28
28 149
encrypt_archive()
B
33 17 99
get_files_in_folder()
B
38 18 72
shutdown()
A
47 16 32
create_manifest()
A
35 12 87
start_http()
A
42 13 45
do_restart()
A
45 13 37
signal_handler()
A
32 4 154
update_working_data()
A
47 12 33
start_cli()
A
47 8 36
clean_temp_folder()
A
51 8 24
read_logheader()
A
47 7 35
duplicate_job()
S
50 7 27
do_restart_time()
S
54 6 21
add_folders_to_backup()
S
57 6 16
generate_filename()
S
61 6 11
get_folders_to_backup()
S
55 5 18
get_working_data()
S
58 5 16
curl_read_callback()
S
59 5 13
data_storage()
S
59 4 14
user_abort()
S
60 4 13
convert_hr_to_bytes()
S
61 4 12
get_destination_path_replacement()
S
60 4 12
get_restart_time()
S
63 3 11
sanitize_file_name()
S
48 1 35
disable_caches()
S
64 3 10
write_running_file()
S
63 3 9
need_free_memory()
S
62 3 10
get_pid()
S
66 3 9
is_debug()
S
78 2 3
exception_handler()
S
63 1 12
generate_db_dump_filename()
S
75 1 4
getStepData()
S
79 1 3
setStepData()
S
79 1 3
maybe_sql_dump()
S
64 1 9
is_job_enabled()
S
78 1 3
enable_job()
S
79 1 3
disable_job()
S
74 1 4
schedule_job()
S
71 1 5
rename_job()
S
79 1 3
__clone()
S
77 1 4