Updraft_Restorer D

Total Complexity 1,093
Dependencies 17
Dependents 1
Total lines 4,060
Lines of code 2,635
Logical lines of code 2,101
Comment lines 798
Methods 62
Properties 41

Methods 62

Method Rating Maintainability Complexity Lines of code
restore_backup_db()
D
0
253 575
prepare_create_table()
D
14
89 209
restore_backup()
D
18
73 176
move_backup_in()
D
23
66 124
sql_exec()
D
23
63 126
ensure_restore_files_present()
D
29 44 96
restored_table()
D
27
42 113
unpack_package_archive()
D
28
42 106
perform_restore()
C
32 27 86
move_existing_to_old()
C
38 28 56
pre_restore_backup()
C
39 27 46
__construct()
C
38 26 54
unpack_package_database()
C
36 25 69
post_restore_clean_up()
B
39 21 54
table_should_be_skipped()
B
48 19 27
updraftplus_logline()
A
45 13 38
copy_files_in()
A
46 13 34
adjust_wordfencewaf_root_path()
A
44 12 44
tar_wrote()
A
45 12 37
adjust_auto_prepend_directive()
A
47 11 33
incremental_restore_scan_dir()
A
47 11 32
set_log_bin_trust_function_creators()
A
49 11 28
get_first_directory()
A
50 11 27
get_wp_filesystem_dir()
A
51 10 26
check_active_plugins()
A
48 9 29
restore_this_table()
A
47 8 38
search_for_folder()
A
58 9 14
lock_table()
A
54 8 21
chmod_if_needed()
S
56 7 17
flush_rewrite_rules()
S
56 7 16
on_shutdown()
S
61 7 11
use_wpdb()
S
61 7 11
deactivate_missing_plugins()
S
57 6 15
clear_cache_wpsupercache()
S
60 6 12
get_entities_to_download()
S
60 6 12
incremental_restore_prune_files()
S
54 5 19
setup_database_objects()
S
57 5 16
calculate_additive_chmod_oct()
S
57 5 15
save_configuration_bundle()
S
60 5 12
pre_sql_actions()
S
56 4 17
updraftplus_restore_table_prefix_dummy()
S
64 4 9
restore_database_connection()
S
63 3 10
restore_configuration_bundle()
S
64 3 9
unpack_package()
S
65 3 8
unlock_tables()
S
64 3 10
clear_cache()
S
65 3 8
get_current_chmod()
S
66 3 7
backup_strings()
S
52 1 22
maintenance_mode()
S
72 2 5
drop_tables()
S
76 2 3
restore_log_permission_failure_message()
S
68 2 7
unzip_progress_restore_info()
S
67 1 6
option_filter_stylesheet_root()
S
76 1 4
option_filter_rewrite_rules()
S
76 1 4
option_filter_template_root()
S
76 1 4
option_filter_stylesheet()
S
76 1 4
option_filter_template()
S
76 1 4
option_filter_permalink_structure()
S
76 1 4
get_db_object()
S
82 1 3
option_filter_page_on_front()
S
76 1 4
log_oversized_packet()
S
67 1 6
ud_get_skin()
S
82 1 3