WPvivid_Staging_Task D

Total Complexity 177
Dependencies 7
Dependents 4
Total lines 1,115
Lines of code 913
Logical lines of code 522
Comment lines 19
Methods 62
Properties 1

Methods 62

Method Rating Maintainability Complexity Lines of code
setup_task()
D
26
26 188
get_progress()
A
49 12 30
do_task()
A
43 8 53
finished_task()
A
45 8 42
get_start()
S
57 6 18
check_timeout()
S
47 4 39
is_tables_exclude()
S
54 5 22
finished_task_with_error()
S
47 3 43
update_calc_db_finish_size()
S
60 5 13
flush()
S
54 4 23
get_doing_task()
S
55 4 23
get_start_next_task()
S
62 4 12
__construct()
S
56 3 20
get_site_db_instance()
S
57 3 18
update_calc_db_size()
S
63 4 10
get_job_option()
S
63 3 11
get_mu_sites()
S
55 2 20
update_task()
S
59 2 16
cancel_staging()
S
68 3 7
set_time_limit()
S
62 2 12
get_home_url()
S
64 2 11
get_site_url()
S
64 2 11
get_db_prefix()
S
64 2 11
get_path()
S
64 2 11
get_error()
S
64 2 11
get_status()
S
63 2 11
create_new_task()
S
56 1 18
get_site_prefix()
S
71 2 6
set_push_staging_history()
S
64 2 9
get_files_copy_count()
S
68 2 7
get_site_db_connect()
S
71 2 6
get_site_path()
S
71 2 6
get_site_mu_single_site_id()
S
70 2 6
get_site_mu_single()
S
70 2 6
set_memory_limit()
S
68 2 7
get_db_insert_count()
S
68 2 7
get_db_replace_count()
S
68 2 7
get_mu_single_site_id()
S
70 2 6
get_temp_prefix()
S
69 2 7
get_exclude_file_size()
S
66 2 9
get_mu_main_site_id()
S
66 2 10
get_mu_option()
S
66 2 10
get_mu_path_current_site()
S
66 2 10
is_mu_single()
S
70 2 6
get_mu_single_upload()
S
70 2 6
is_copy()
S
80 1 3
is_restore()
S
80 1 3
update_tables()
S
72 1 5
set_error()
S
70 1 6
update_table_finished()
S
69 1 6
update_table()
S
72 1 5
get_id()
S
80 1 3
get_tables()
S
75 1 4
update_job_finished()
S
66 1 8
get_db_connect()
S
76 1 4
update_start()
S
72 1 5
get_is_overwrite_permalink_structure()
S
76 1 4
get_permalink_structure()
S
76 1 4
update_action_time()
S
73 1 5
get_task()
S
70 1 6
get_log_file_name()
S
80 1 3
get_push_staging_history()
S
76 1 4