WP_Optimize D

Total Complexity 337
Dependencies 27
Dependents 10
Total lines 1,934
Lines of code 1,057
Logical lines of code 628
Comment lines 582
Methods 108
Properties 4

Methods 108

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
43 16 44
admin_init()
A
51 15 21
cron_activate()
A
45 10 39
wp_optimize_url()
A
50 8 26
wpo_js_translations()
A
37 5 70
howmany_overdue_crons()
S
57 8 15
include_template()
S
49 7 29
loader()
S
50 7 27
close_browser_connection()
S
55 7 19
format_size()
S
56 7 17
get_max_packet_size()
S
58 7 15
__construct()
S
44 5 42
is_apache_module_loaded()
S
58 6 16
is_active()
S
62 7 10
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
init_page_cache()
S
67 6 7
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_script_memory_limit()
S
64 4 10
after_optimizations_logger_action()
S
64 4 10
wpo_cron_deactivate()
S
66 4 8
is_premium()
S
67 4 7
get_active_plugins()
S
63 3 11
admin_enqueue_scripts()
S
50 2 24
delete_transients_and_semaphores()
S
54 2 22
frontend_enqueue_scripts()
S
68 3 6
can_manage_options()
S
74 3 4
change_time_limit()
S
74 3 4
wp_normalize_path()
S
64 3 9
log_fatal_errors()
S
69 3 6
get_enqueue_version()
S
77 3 3
get_min_or_not_string()
S
78 3 3
modify_wp_smush_conflict_check()
S
68 3 7
get_min_or_not_internal_string()
S
76 3 3
show_multisite_update_to_premium_notice()
S
73 3 4
setup_loggers()
S
64 3 10
get_sites()
S
64 3 9
plugin_settings_link()
S
59 2 13
show_admin_notice_premium()
S
73 2 4
cron_action()
S
63 2 10
deactivate_plugin()
S
70 2 6
is_updraft_central_request()
S
79 2 3
maybe_schedule_update_record_count_event()
S
72 2 5
admin_page_wpo_images_smush()
S
66 2 7
instance()
S
71 2 6
get_memory_limit()
S
72 2 5
is_multisite_mode()
S
79 2 3
maybe_add_affiliate_params()
S
67 2 7
schedule_plugin_cron_tasks()
S
68 2 7
is_external_url()
S
67 2 8
is_IIS_server()
S
76 2 4
get_install_or_update_notice()
S
70 2 6
get_class_directories()
S
64 1 12
get_init_page_cache_status()
S
82 1 3
load_admin()
S
82 1 3
get_minify()
S
81 1 3
load_compatibilities()
S
70 1 7
load_language_file()
S
77 1 3
get_free_memory()
S
80 1 3
get_optimizer()
S
81 1 3
capability_required()
S
79 1 3
show_admin_notice_upgraded()
S
73 1 5
get_admin_instance()
S
81 1 3
template_should_include_data()
S
79 1 3
attach_updraftcentral_host()
S
77 1 4
load_modal_template()
S
81 1 3
robots_txt()
S
67 1 7
die_minimum_requirement_not_met()
S
71 1 5
is_wp_smush_installed()
S
80 1 3
add_notice_minimum_requirements_not_met()
S
79 1 3
load_ajax_handler()
S
82 1 3
get_table_management()
S
81 1 3
get_404_detector()
S
81 1 3
get_php_version_notice_message()
S
78 1 3
get_options()
S
81 1 3
get_notices()
S
81 1 3
is_wpo_page()
S
75 1 4
log()
S
80 1 3
get_logger()
S
81 1 3
cron_schedules()
S
66 1 7
get_htaccess()
S
80 1 3
run_updates()
S
76 1 4
show_admin_warning_overdue_crons()
S
67 1 6
get_gzip_compression()
S
81 1 3
get_templates_dir()
S
78 1 3
get_templates_url()
S
78 1 3
get_db_info()
S
81 1 3
get_browser_cache()
S
81 1 3
does_server_allows_local_webp_conversion()
S
80 1 3
get_page_cache()
S
81 1 3
format_date_time()
S
76 1 3
get_task_manager()
S
64 1 10
is_apache_server()
S
78 1 4
do_weekly_cron_tasks()
S
82 1 3
does_server_allows_table_optimization()
S
80 1 3
filter_cache_tabs()
S
69 1 7
is_minimum_requirement_met()
S
79 1 3
does_server_handles_cache()
S
81 1 3
is_kinsta()
S
79 1 3
get_webp_instance()
S
81 1 3
output_php_version_notice()
S
73 1 7