WP_Optimize_Commands D

Total Complexity 164
Dependencies 9
Dependents 2
Total lines 1,077
Lines of code 641
Logical lines of code 349
Comment lines 276
Methods 49
Properties 3

Methods 49

Method Rating Maintainability Complexity Lines of code
handle_ajax_requests()
B
38 19 69
import_settings()
A
42 15 49
power_tweak()
A
47 13 33
do_optimization()
A
47 9 34
updraft_smush_ajax()
A
47 8 39
load_action_hooks_for_content()
A
48 8 31
preview()
A
49 7 31
get_optimization_info()
S
51 6 26
images_trash_command()
S
55 5 21
request_error()
S
55 4 19
get_posts_list()
S
61 4 13
get_optimizations_info()
S
61 4 11
get_section()
S
55 3 18
dismiss_install_or_update_notice()
S
64 4 9
get_optimization_blogs_filter()
S
65 4 9
get_smush_logs()
S
63 3 11
get_localized_variables()
S
53 2 25
get_table_list()
S
64 3 8
get_tab_contents()
S
58 2 15
get_settings_contents()
S
58 2 14
get_section_to_tab_name()
S
63 2 12
get_settings_auto_cleanup_contents()
S
76 2 3
download_csv()
S
70 2 6
get_database_tabs_info()
S
71 2 6
check_overdue_crons()
S
70 2 6
get_gzip_compression_status()
S
72 2 4
get_js_translation()
S
68 2 7
get_wp_optimize_contents()
S
63 2 10
output_dashboard_settings_tab()
S
68 2 8
get_wposmush()
S
68 2 7
save_settings()
S
62 1 11
enable_gzip_compression()
S
80 1 3
optimizations_done()
S
73 1 5
user_ignores_table_delete_warning()
S
73 1 5
__construct()
S
76 1 4
get_table_information_contents()
S
68 1 7
get_database_tabs()
S
77 1 3
save_site_settings()
S
79 1 3
save_auto_backup_option()
S
79 1 3
save_lazy_load_settings()
S
71 1 6
wipe_settings()
S
81 1 3
get_version()
S
82 1 3
process_bulk_smush()
S
69 1 7
get_optimizations_table()
S
78 1 3
get_logging_settings_contents()
S
78 1 3
get_status_box_contents()
S
78 1 3
save_manual_run_optimization_options()
S
80 1 3
enable_or_disable_feature()
S
70 1 6
export_csv()
S
72 1 6