WPTC_BackupController D

Total Complexity 166
Dependencies 8
Dependents 14
Total lines 1,007
Lines of code 677
Logical lines of code 496
Comment lines 36
Methods 38
Properties 17

Methods 38

Method Rating Maintainability Complexity Lines of code
backup_path()
D
26
33 141
execute()
A
39 11 59
is_skip()
A
52 11 25
backup_database()
A
47 9 35
get_hash_by_folders()
A
51 8 26
check_current_files_state()
S
55 6 22
do_meta_data_backup_related_works()
S
54 6 22
backup_now()
S
56 6 16
process_file()
S
51 5 25
allow_system_to_backup_meta_file()
S
53 5 24
get_hash_dir()
S
52 5 23
get_current_files_state()
S
54 5 21
iterate_files()
S
57 5 18
set_low_priority_updates()
S
59 5 14
add_backup_general_data()
S
54 4 21
stop()
S
57 4 16
current_state_skip_file()
S
65 5 9
proper_backup_force_complete_exit()
S
59 3 14
save_current_files_state()
S
62 3 11
__construct()
S
58 2 15
set_iterator_file_size()
S
67 3 8
create_current_state_file_if_not_exist()
S
64 3 9
clear_prev_repo_backup_files_record()
S
59 2 14
set_if_meta_data_backup()
S
72 2 6
complete_reset_backup_flags()
S
68 2 7
unlink_current_acc_and_backups()
S
59 1 14
add_completed_log()
S
62 1 11
get_folders()
S
74 1 5
write_status_of_file()
S
72 1 5
clear_current_backup()
S
71 1 6
add_iterator_file_size()
S
77 1 4
clean_up()
S
83 1 3
pre_check()
S
73 1 6
complete()
S
67 1 8
set_is_auto_backup()
S
79 1 3
init_db()
S
77 1 4
init_file_iterator()
S
74 1 4
construct()
S
80 1 3