WPvivid D

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