BackWPup_Job D

Total Complexity 450
Dependencies 21
Dependents 31
Total lines 2,994
Lines of code 2,078
Logical lines of code 1,119
Comment lines 478
Methods 49
Properties 32

Methods 49

Method Rating Maintainability Complexity Lines of code
create()
D
11
66 348
log()
D
22
47 172
end()
D
25
31 175
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
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
init()
S
64 3 10
get_pid()
S
66 3 9
write_running_file()
S
63 3 9
need_free_memory()
S
62 3 10
disable_caches()
S
64 3 10
delete_job()
S
68 2 7
is_debug()
S
78 2 3
exception_handler()
S
63 1 12
schedule_job()
S
69 1 6
get_jobs()
S
79 1 3
rename_job()
S
79 1 3
__clone()
S
77 1 4
disable_job()
S
74 1 4
enable_job()
S
79 1 3
maybe_sql_dump()
S
64 1 9
generate_db_dump_filename()
S
75 1 4
setStepData()
S
79 1 3
getStepData()
S
79 1 3
is_job_enabled()
S
78 1 3