WP_Optimize D

Total Complexity 330
Dependencies 22
Dependents 9
Total lines 1,881
Lines of code 1,010
Logical lines of code 614
Comment lines 576
Methods 103
Properties 4

Methods 103

Method Rating Maintainability Complexity Lines of code
wpo_loggers()
B
40 20 58
detect_active_plugins_and_themes_updates()
B
49 20 24
plugins_loaded()
A
44 15 38
admin_init()
A
53 14 18
cron_activate()
A
45 10 39
wp_optimize_url()
A
50 8 26
howmany_overdue_crons()
S
57 8 15
include_template()
S
49 7 29
close_browser_connection()
S
55 7 19
format_size()
S
56 7 17
get_max_packet_size()
S
58 7 15
is_apache_module_loaded()
S
58 6 16
is_active()
S
62 7 10
register_template_directories()
S
58 6 14
wpo_js_translations()
S
40 3 55
__construct()
S
45 4 39
is_installed()
S
55 5 19
cache_admin_bar()
S
55 5 18
get_loggers_classes()
S
56 5 18
init_page_cache()
S
67 6 7
get_stylesheet_headers()
S
59 5 13
tables_list_additional_column_data()
S
53 4 24
get_loggers_classes_info()
S
56 4 18
can_run_optimizations()
S
70 5 5
return_bytes()
S
60 4 14
is_premium()
S
67 4 7
after_optimizations_logger_action()
S
64 4 10
get_script_memory_limit()
S
64 4 10
wpo_cron_deactivate()
S
66 4 8
admin_enqueue_scripts()
S
49 2 27
get_active_plugins()
S
63 3 11
delete_transients_and_semaphores()
S
54 2 22
set_heartbeat_api_filters()
S
64 3 8
loader()
S
63 3 10
get_sites()
S
64 3 9
can_manage_options()
S
74 3 4
wp_normalize_path()
S
64 3 9
setup_loggers()
S
64 3 10
modify_wp_smush_conflict_check()
S
68 3 7
log_fatal_errors()
S
69 3 6
show_multisite_update_to_premium_notice()
S
73 3 4
get_min_or_not_string()
S
78 3 3
receive_heartbeat()
S
64 3 9
get_min_or_not_internal_string()
S
76 3 3
frontend_enqueue_scripts()
S
68 3 6
get_enqueue_version()
S
77 3 3
change_time_limit()
S
74 3 4
plugin_settings_link()
S
59 2 13
is_updraft_central_request()
S
79 2 3
get_install_or_update_notice()
S
70 2 6
schedule_plugin_cron_tasks()
S
69 2 6
cron_action()
S
63 2 10
maybe_add_affiliate_params()
S
67 2 7
instance()
S
71 2 6
maybe_schedule_update_record_count_event()
S
72 2 5
is_multisite_mode()
S
79 2 3
admin_page_wpo_images_smush()
S
67 2 6
show_admin_notice_premium()
S
73 2 4
is_IIS_server()
S
76 2 4
get_memory_limit()
S
72 2 5
is_external_url()
S
67 2 8
load_admin()
S
82 1 3
load_ajax_handler()
S
82 1 3
get_admin_instance()
S
81 1 3
set_heartbeat_time_interval()
S
76 1 4
get_class_directories()
S
66 1 10
get_free_memory()
S
80 1 3
robots_txt()
S
67 1 7
load_modal_template()
S
81 1 3
template_should_include_data()
S
79 1 3
get_browser_cache()
S
81 1 3
do_weekly_cron_tasks()
S
82 1 3
is_wp_smush_installed()
S
80 1 3
get_gzip_compression()
S
81 1 3
get_htaccess()
S
80 1 3
get_logger()
S
81 1 3
is_wpo_page()
S
75 1 4
get_task_manager()
S
64 1 10
is_apache_server()
S
78 1 4
does_server_allows_local_webp_conversion()
S
80 1 3
does_server_allows_table_optimization()
S
80 1 3
attach_updraftcentral_host()
S
77 1 4
filter_cache_tabs()
S
69 1 7
does_server_handles_cache()
S
81 1 3
is_kinsta()
S
79 1 3
get_webp_instance()
S
81 1 3
show_admin_notice_upgraded()
S
73 1 5
format_date_time()
S
76 1 3
capability_required()
S
79 1 3
get_page_cache()
S
81 1 3
get_notices()
S
81 1 3
get_init_page_cache_status()
S
82 1 3
get_options()
S
81 1 3
cron_schedules()
S
66 1 7
get_minify()
S
81 1 3
run_updates()
S
76 1 4
show_admin_warning_overdue_crons()
S
67 1 6
get_templates_dir()
S
78 1 3
get_db_info()
S
81 1 3
load_compatibilities()
S
70 1 7
get_optimizer()
S
81 1 3
log()
S
80 1 3
get_templates_url()
S
78 1 3