BackWPup_Job D

Total Complexity 452
Dependencies 21
Dependents 32
Total lines 3,003
Lines of code 2,091
Logical lines of code 1,128
Comment lines 480
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
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
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
disable_caches()
S
64 3 10
get_pid()
S
66 3 9
init()
S
64 3 10
need_free_memory()
S
62 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
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
generate_db_dump_filename()
S
75 1 4
get_jobs()
S
79 1 3
setStepData()
S
79 1 3