WP_Optimize D

Total Complexity 435
Dependencies 21
Dependents 11
Total lines 2,422
Lines of code 1,405
Logical lines of code 802
Comment lines 611
Methods 114
Properties 12

Methods 114

Method Rating Maintainability Complexity Lines of code
wp_optimize_ajax_handler()
C
32 28 97
wpo_loggers()
B
40 20 58
plugins_loaded()
A
45 15 37
detect_active_plugins_and_themes_updates()
A
51 14 23
admin_init()
A
54 13 16
wpo_admin_bar()
A
46 10 37
cron_activate()
A
48 9 32
admin_menu()
A
55 10 16
display_admin_page()
A
48 9 28
output_database_optimize_tab()
A
57 9 13
admin_enqueue_scripts()
A
51 8 21
howmany_overdue_crons()
S
57 8 15
include_template()
S
49 7 29
output_cache_gzip_tab()
S
54 7 18
format_size()
S
56 7 17
get_max_packet_size()
S
58 7 15
output_database_tables_tab()
S
59 7 12
display_admin()
S
54 6 20
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
is_installed()
S
55 5 19
cache_admin_bar()
S
55 5 18
get_loggers_classes()
S
56 5 18
get_submenu_items()
S
40 1 75
wpo_js_translations()
S
44 3 42
tables_list_additional_column_data()
S
53 4 24
get_loggers_classes_info()
S
56 4 18
output_dashboard_settings_tab()
S
58 4 16
can_run_optimizations()
S
70 5 5
output_page_cache_advanced_tab()
S
59 4 14
return_bytes()
S
60 4 14
__construct()
S
49 3 28
get_stylesheet_headers()
S
60 4 13
register_admin_content()
S
52 3 23
get_tabs()
S
46 2 38
after_optimizations_logger_action()
S
64 4 10
get_webp_instance()
S
66 4 8
get_script_memory_limit()
S
64 4 10
is_premium()
S
67 4 7
wpo_cron_deactivate()
S
66 4 8
get_active_plugins()
S
63 3 11
delete_transients_and_semaphores()
S
55 2 21
output_page_cache_preload_tab()
S
55 2 19
admin_page_wpo_images_smush()
S
69 3 5
get_gzip_compression()
S
67 3 7
setup_loggers()
S
64 3 10
order_sort()
S
74 3 4
wp_normalize_path()
S
64 3 9
show_multisite_update_to_premium_notice()
S
73 3 4
can_manage_options()
S
74 3 4
get_browser_cache()
S
67 3 7
get_db_info()
S
68 3 7
get_sites()
S
64 3 9
get_notices()
S
67 3 7
wpo_render_output_messages()
S
67 3 8
wp_optimize_url()
S
63 3 10
get_options()
S
67 3 7
output_cloudflare_settings()
S
74 3 4
get_minify()
S
65 3 9
change_time_limit()
S
74 3 4
get_optimizer()
S
67 3 7
log_fatal_errors()
S
69 3 6
output_page_cache_tab()
S
59 2 14
output_cache_settings_tab()
S
58 2 14
plugin_settings_link()
S
59 2 13
get_install_or_update_notice()
S
68 2 7
is_multisite_mode()
S
79 2 3
show_admin_notice_premium()
S
73 2 4
maybe_add_affiliate_params()
S
67 2 7
is_IIS_server()
S
76 2 4
output_database_settings_tab()
S
70 2 7
schedule_plugin_cron_tasks()
S
69 2 6
cron_action()
S
65 2 9
instance()
S
71 2 6
get_memory_limit()
S
72 2 5
prevent_run_optimizations_message()
S
69 2 6
get_logger()
S
68 2 7
get_htaccess()
S
70 2 6
is_updraft_central_request()
S
79 2 3
init_page_cache()
S
73 2 5
get_page_cache()
S
74 2 4
can_purge_the_cache()
S
72 2 6
get_free_memory()
S
80 1 3
template_should_include_data()
S
79 1 3
load_modal_template()
S
81 1 3
prevent_manage_options_info()
S
77 1 3
admin_page_wpo_images_lazyload()
S
81 1 3
do_weekly_cron_tasks()
S
82 1 3
capability_required()
S
79 1 3
is_kinsta()
S
79 1 3
does_server_handles_cache()
S
81 1 3
does_server_allows_table_optimization()
S
80 1 3
does_server_allows_local_webp_conversion()
S
80 1 3
is_wpo_page()
S
75 1 4
get_task_manager()
S
64 1 10
is_apache_server()
S
78 1 4
filter_cache_tabs()
S
69 1 7
show_admin_notice_upgradead()
S
81 1 3
output_dashboard_support_tab()
S
81 1 3
format_date_time()
S
76 1 3
output_dashboard_other_plugins_tab()
S
81 1 3
is_cloudflare_site()
S
79 1 3
admin_page_wpo_images_unused()
S
81 1 3
display_footer_review_message()
S
68 1 8
cron_schedules()
S
66 1 7
run_updates()
S
76 1 4
show_admin_warning_overdue_crons()
S
68 1 6
get_templates_dir()
S
78 1 3
get_templates_url()
S
78 1 3
log()
S
80 1 3
robots_txt()
S
71 1 5