BackWPup_Job D

Total Complexity 454
Dependencies 21
Dependents 29
Total lines 3,037
Lines of code 2,093
Logical lines of code 1,131
Comment lines 499
Methods 49
Properties 32

Methods 49

Method Rating Maintainability Complexity Lines of code
create()
D
11
66 349
log()
D
22
47 172
run()
D
25
34 152
end()
D
24
32 181
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 88
do_restart()
A
45 13 37
start_http()
A
45 12 38
signal_handler()
A
32 4 154
update_working_data()
A
47 12 33
clean_temp_folder()
A
51 8 24
read_logheader()
A
47 7 35
start_cli()
S
50 7 29
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
curl_read_callback()
S
59 5 13
get_working_data()
S
59 4 15
data_storage()
S
59 4 14
user_abort()
S
60 4 13
get_destination_path_replacement()
S
60 4 12
convert_hr_to_bytes()
S
61 4 12
get_restart_time()
S
63 3 11
sanitize_file_name()
S
48 1 35
write_running_file()
S
63 3 9
get_pid()
S
66 3 9
need_free_memory()
S
62 3 10
disable_caches()
S
64 3 10
init()
S
64 3 10
is_debug()
S
78 2 3
delete_job()
S
68 2 7
exception_handler()
S
63 1 12
getStepData()
S
79 1 3
setStepData()
S
79 1 3
generate_db_dump_filename()
S
75 1 4
__clone()
S
77 1 4
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
69 1 6
rename_job()
S
79 1 3
get_jobs()
S
79 1 3