WP_Optimize_Preloader C

Total Complexity 102
Dependencies 2
Dependents 0
Total lines 608
Lines of code 296
Logical lines of code 190
Comment lines 194
Methods 35
Properties 1

Methods 35

Method Rating Maintainability Complexity Lines of code
get_sitemap_urls()
A
46 15 35
run()
A
45 13 38
get_post_urls()
A
42 10 48
get_status_info()
A
47 11 30
schedule_preload_continue_action()
S
68 5 6
get_mapped_domain()
S
58 3 14
process_tasks_queue()
S
63 3 11
log()
S
69 3 7
maybe_interrupt_queue()
S
66 3 8
is_domain_mapping_enabled()
S
73 3 4
get_schedule_interval()
S
66 3 8
preload_amp()
S
59 2 13
get_site_urls()
S
61 2 11
get_local_sitemap_file()
S
68 2 7
is_semaphore_locked()
S
68 2 8
is_running()
S
74 2 4
is_busy()
S
78 2 3
preload_desktop()
S
62 1 11
get_option_disabled_error()
S
100 1 0
get_preload_already_running_error()
S
100 1 0
create_tasks_for_preload_site_urls()
S
100 1 0
get_preload_data()
S
100 1 0
get_preloading_message()
S
100 1 0
get_last_preload_message()
S
100 1 0
get_preload_success_message()
S
100 1 0
__construct()
S
67 1 7
get_sitemap_filename()
S
79 1 3
is_option_active()
S
100 1 0
is_cancelled()
S
78 1 3
delete_cancel_flag()
S
79 1 3
set_cancel_flag()
S
78 1 3
cancel_preload()
S
74 1 5
delete_preload_continue_action()
S
79 1 3
get_continue_preload_cron_interval()
S
78 1 3
get_preload_progress_message()
S
100 1 0