WPvivid D

Total Complexity 1,261
Dependencies 39
Dependents 1
Total lines 7,544
Lines of code 6,286
Logical lines of code 4,180
Comment lines 488
Methods 168
Properties 16

Methods 168

Method Rating Maintainability Complexity Lines of code
check_setting_option()
D
19
66 225
get_website_info()
C
28
24 136
task_monitor_ex()
C
31 25 117
clean_local_storage()
C
31 25 108
get_log_list_ex()
C
33 25 105
deal_shutdown_error()
C
31 24 118
wpvivid_add_backup_list()
C
28
23 131
wpvivid_add_backup_list_output()
C
30 22 128
get_download_page_ex()
C
33 22 95
init_download_page()
B
34 21 90
restore()
B
32 19 115
_junk_files_info_ex()
B
33 19 110
init_restore_page()
B
33 19 93
download_backup()
B
35 19 77
download_backup_mainwp()
B
36 19 76
task_monitor()
B
36 18 88
edit_remote()
B
37 17 71
view_log()
B
37 15 75
wpvivid_check_add_litespeed_server()
B
41 16 56
init_remote_option()
B
36 13 98
wpvivid_check_clear_litespeed_rule()
B
42 16 52
get_download_progress()
A
35 13 88
check_backup()
A
36 13 87
create_debug_package()
A
38 14 67
get_dir_files()
A
43 15 48
export_setting()
A
38 14 62
get_wpvivid_backup_size()
A
43 14 52
download_restore_file()
A
41 14 51
_list_tasks()
A
34 11 94
add_remote()
A
39 13 63
prepare_download_backup()
A
39 13 60
write_litespeed_rule()
A
46 14 40
check_backup_completeness()
A
47 14 37
prepare_backup()
A
38 11 69
wpvivid_handle_backup_failed()
A
40 11 64
view_backup_log()
A
40 11 60
regex_match()
A
49 12 41
view_backup_task_log()
A
41 11 54
import_setting()
A
45 12 38
download_restore_progress()
A
40 10 61
get_restore_file_is_migrate()
A
44 11 41
need_review()
A
45 11 39
get_general_setting()
A
43 10 47
read_last_backup_log()
A
43 10 47
get_restore_progress()
A
43 10 45
check_backup_options_valid()
A
47 10 40
retrieve_remote()
A
45 10 37
get_setting()
A
46 10 37
delete_remote()
A
42 9 48
test_remote_connection()
A
47 10 31
delete_backup()
A
48 10 31
set_schedule()
A
45 9 43
set_security_lock()
A
49 10 28
test_send_mail()
A
46 9 37
main_schedule()
A
41 7 58
set_general_setting()
A
45 8 41
wpvivid_send_debug_info()
A
45 8 37
set_default_remote_storage()
A
42 7 52
backup()
A
43 7 51
backup_now()
A
46 8 35
delete_backup_array()
A
47 8 34
prepare_restore()
A
47 8 32
update_setting()
A
49 8 28
download_check_has_zero_date()
A
46 7 38
get_dir()
A
45 7 38
deal_prepare_download_shutdown_error()
A
46 7 37
list_tasks()
A
46 7 37
wpvivid_schedule_add_remote_pic()
A
48 7 32
wpvivid_get_log_list()
S
44 6 44
flush()
S
50 7 29
check_remote_alias_exist()
S
50 7 28
wpvivid_get_log_list_output()
S
46 6 40
delete_task()
S
51 7 24
wpvivid_handle_backup_succeed()
S
49 6 31
deal_prepare_shutdown_error()
S
48 6 31
resume_schedule()
S
51 6 30
clean_backing_up_data_event()
S
51 6 27
wpvivid_add_remote_storage_list()
S
46 5 39
check_schedule_option()
S
55 6 20
wpvivid_set_general_setting()
S
44 4 47
deal_restore_shutdown_error()
S
49 5 32
check_max_allow_packet_ex()
S
57 6 16
clean_out_of_date_backup()
S
49 5 30
wpvivid_analysis_backup()
S
54 5 22
check_backup_file_json()
S
53 5 22
list_remote()
S
47 4 35
check_backup_size()
S
57 5 19
finish_backup_task()
S
51 4 27
delete_backup_by_id()
S
52 4 27
add_clean_backup_record_event()
S
52 4 26
get_out_of_date_info()
S
50 4 26
GetDirectorySize()
S
62 5 11
add_clean_backing_up_data_event()
S
52 4 26
add_resume_event()
S
52 4 26
get_backup_list()
S
51 4 25
get_log_list()
S
51 4 24
check_file_is_a_wpvivid_backup()
S
54 4 24
__construct()
S
47 3 39
get_schedule()
S
51 4 24
init_download()
S
54 4 23
get_last_backup()
S
53 4 22
delete_last_restore_data()
S
53 4 22
delete_ready_task()
S
53 4 21
get_default_remote_storage()
S
53 4 21
junk_files_info()
S
53 4 21
load_ajax_hook_for_admin()
S
39 1 66
backup_cancel()
S
54 4 20
amazons3_notice()
S
54 4 20
get_ini_memory_limit()
S
54 4 20
check_cancel_backup()
S
56 4 19
upload()
S
49 3 32
wpvivid_schedule_local_remote()
S
50 3 32
delete_local_backup()
S
59 4 16
load_admin()
S
41 1 57
scan_last_restore()
S
53 3 23
wpvivid_get_last_backup_message_output()
S
55 3 22
_enable_maintenance_mode()
S
48 2 37
load_dependencies()
S
48 2 36
wpvivid_get_last_backup_message()
S
55 3 20
sort_list()
S
58 3 18
get_backup_path()
S
58 3 17
get_backup_url()
S
57 3 17
pre_backup()
S
58 3 16
wpvivid_deal_upload_succeed()
S
57 3 16
wpvivid_get_remote_directory()
S
58 3 16
set_time_limit()
S
58 3 16
add_monitor_event()
S
59 3 15
wpvivid_check_staging_pro_active()
S
61 3 14
hide_wp_cron_notice()
S
60 3 13
hide_mainwp_tab_page()
S
60 3 13
clean_oldest_backup()
S
62 3 12
get_oldest_backup_ids()
S
60 2 16
check_is_a_wpvivid_backup()
S
65 3 9
ajax_check_security()
S
65 3 9
wpvivid_add_remote_notice()
S
61 2 14
get_mainwp_sync_data()
S
50 1 29
wpvivid_handle_remote_storage_error()
S
61 2 12
wpvivid_switch_domain_to_folder()
S
61 2 12
clean_backup_record_event()
S
62 2 12
get_backup_folder()
S
63 2 11
set_mail_body()
S
70 2 6
set_mail_subject()
S
70 2 6
wpvivid_remote_storage()
S
67 2 8
_disable_maintenance_mode()
S
66 2 9
formatBytes()
S
64 2 8
wpvivid_check_type_database()
S
71 2 6
init_pclzip_tmp_folder()
S
71 2 6
init_filesystem()
S
66 2 8
wpvivid_handle_mainwp_action()
S
73 1 5
get_zip_object_class()
S
82 1 3
init_cron()
S
64 1 9
clean_cache()
S
72 1 6
pre_add_remote()
S
76 1 4
wpvivid_check_zip_valid()
S
82 1 3
update_last_backup_task()
S
80 1 3
load_remote_storage()
S
76 1 4
update_last_backup_time()
S
80 1 3
set_locale()
S
72 1 5
_get_out_of_date_info()
S
63 1 10
wpjam_pre_update_option_cache()
S
71 1 6
get_plugin_name()
S
82 1 3
get_version()
S
82 1 3
check_backup_option()
S
69 1 6
deal_restore_error()
S
70 1 5
wpvivid_mark_task()
S
80 1 3
deal_task_error()
S
65 1 7
get_default_remote_storage_ex()
S
73 1 5
wpvivid_handle_restore_error()
S
69 1 7