WP_Optimize D

Total Complexity 340
Dependencies 20
Dependents 11
Total lines 1,850
Lines of code 1,029
Logical lines of code 630
Comment lines 514
Methods 94
Properties 12

Methods 94

Method Rating Maintainability Complexity Lines of code
wp_optimize_ajax_handler()
C
33 24 93
wpo_loggers()
B
40 20 58
detect_active_plugins_and_themes_updates()
B
50 19 24
plugins_loaded()
A
46 14 34
admin_init()
A
52 14 19
cron_activate()
A
45 10 39
admin_enqueue_scripts()
A
51 8 21
howmany_overdue_crons()
S
57 8 15
include_template()
S
49 7 29
format_size()
S
56 7 17
get_max_packet_size()
S
58 7 15
close_browser_connection()
S
56 6 17
is_apache_module_loaded()
S
58 6 16
is_active()
S
62 7 10
frontend_enqueue_scripts()
S
66 7 6
register_template_directories()
S
58 6 14
__construct()
S
45 4 38
is_installed()
S
55 5 19
get_loggers_classes()
S
56 5 18
cache_admin_bar()
S
55 5 18
wpo_js_translations()
S
44 3 42
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
get_stylesheet_headers()
S
60 4 13
get_script_memory_limit()
S
64 4 10
is_premium()
S
67 4 7
after_optimizations_logger_action()
S
64 4 10
wpo_cron_deactivate()
S
66 4 8
get_active_plugins()
S
63 3 11
delete_transients_and_semaphores()
S
55 2 21
admin_page_wpo_images_smush()
S
69 3 5
loader()
S
63 3 10
wp_optimize_url()
S
63 3 10
setup_loggers()
S
64 3 10
modify_wp_smush_conflict_check()
S
68 3 7
wp_normalize_path()
S
64 3 9
show_multisite_update_to_premium_notice()
S
73 3 4
log_fatal_errors()
S
69 3 6
change_time_limit()
S
74 3 4
get_sites()
S
64 3 9
can_manage_options()
S
74 3 4
plugin_settings_link()
S
59 2 13
maybe_add_affiliate_params()
S
67 2 7
can_purge_the_cache()
S
72 2 6
schedule_plugin_cron_tasks()
S
69 2 6
maybe_schedule_update_record_count_event()
S
72 2 5
get_memory_limit()
S
72 2 5
is_multisite_mode()
S
79 2 3
cron_action()
S
63 2 10
get_gzip_compression()
S
71 2 6
is_updraft_central_request()
S
79 2 3
instance()
S
71 2 6
get_optimizer()
S
71 2 6
get_db_info()
S
71 2 6
is_IIS_server()
S
76 2 4
get_options()
S
71 2 6
show_admin_notice_premium()
S
73 2 4
get_install_or_update_notice()
S
70 2 6
get_browser_cache()
S
71 2 6
init_page_cache()
S
73 2 5
get_notices()
S
71 2 6
get_logger()
S
71 2 6
get_minify()
S
71 2 6
is_wpo_page()
S
75 1 4
template_should_include_data()
S
79 1 3
does_server_allows_table_optimization()
S
80 1 3
get_class_directories()
S
68 1 9
does_server_allows_local_webp_conversion()
S
80 1 3
load_modal_template()
S
81 1 3
get_task_manager()
S
64 1 10
load_admin()
S
82 1 3
is_apache_server()
S
78 1 4
get_htaccess()
S
80 1 3
get_free_memory()
S
80 1 3
show_admin_warning_overdue_crons()
S
68 1 6
get_webp_instance()
S
81 1 3
does_server_handles_cache()
S
81 1 3
filter_cache_tabs()
S
69 1 7
is_kinsta()
S
79 1 3
run_updates()
S
76 1 4
get_admin_instance()
S
81 1 3
get_page_cache()
S
81 1 3
is_wp_smush_installed()
S
80 1 3
show_admin_notice_upgradead()
S
81 1 3
capability_required()
S
79 1 3
do_weekly_cron_tasks()
S
82 1 3
format_date_time()
S
76 1 3
log()
S
80 1 3
cron_schedules()
S
66 1 7
get_templates_url()
S
78 1 3
get_templates_dir()
S
78 1 3
robots_txt()
S
68 1 6