WP_Optimize_Commands D

Total Complexity 291
Dependencies 13
Dependents 3
Total lines 2,145
Lines of code 1,392
Logical lines of code 734
Comment lines 421
Methods 70
Properties 3

Methods 70

Method Rating Maintainability Complexity Lines of code
get_wp_optimize_schedule_cleanup_settings_data()
D
23
34 189
get_wp_optimize_logging_settings_data()
B
34 19 90
handle_ajax_requests()
B
38 19 69
import_settings()
A
42 14 49
get_all_status_data()
A
40 12 59
power_tweak()
A
47 13 33
get_system_overview_data()
A
45 11 41
get_wp_optimize_data()
A
46 9 33
updraft_smush_ajax()
A
47 8 39
get_status_data()
A
46 8 38
load_action_hooks_for_content()
A
48 8 31
do_optimization()
A
48 7 34
get_table_list_data()
A
37 4 77
preview()
S
49 6 31
get_table_list()
S
57 6 15
get_widgets_data()
S
58 6 14
save_images_dimension_option()
S
58 5 14
get_optimization_info()
S
52 4 26
generate_logs_zip()
S
52 4 26
images_trash_command()
S
55 4 21
request_error()
S
55 4 19
get_posts_list()
S
61 4 13
truncate_404_logs()
S
55 3 19
get_wp_optimize_trackback_toggle_settings_data()
S
56 3 19
get_wp_optimize_comments_toggle_settings_data()
S
56 3 19
get_section()
S
55 3 18
get_js_translation()
S
59 3 15
get_optimization_blogs_filter()
S
65 4 9
dismiss_install_or_update_notice()
S
64 4 9
get_smush_logs()
S
63 3 11
get_optimizations_info()
S
61 3 11
get_is_premium_data()
S
52 2 26
get_localized_variables()
S
53 2 25
get_settings_contents()
S
54 2 19
get_tab_contents()
S
58 2 15
get_section_to_tab_name()
S
63 2 12
get_wp_optimize_contents()
S
60 2 12
output_dashboard_settings_tab()
S
62 2 11
get_settings_auto_cleanup_contents()
S
73 2 4
download_csv()
S
70 2 6
get_database_tabs_info()
S
71 2 6
get_wposmush()
S
68 2 7
save_site_settings()
S
70 2 6
check_overdue_crons()
S
69 2 7
get_gzip_compression_status()
S
72 2 4
get_wp_optimize_general_settings_data()
S
61 1 12
save_settings()
S
62 1 11
generate_status_report()
S
63 1 11
__construct()
S
76 1 4
get_version()
S
82 1 3
enable_or_disable_feature()
S
70 1 6
save_manual_run_optimization_options()
S
80 1 3
get_status_box_contents()
S
75 1 4
get_logging_settings_contents()
S
74 1 4
get_optimizations_table()
S
75 1 4
process_bulk_smush()
S
69 1 7
get_table_information_contents()
S
65 1 8
wipe_settings()
S
81 1 3
save_lazy_load_settings()
S
71 1 6
save_auto_backup_option()
S
79 1 3
get_database_tabs()
S
77 1 3
optimizations_done()
S
73 1 5
enable_gzip_compression()
S
80 1 3
user_ignores_table_deletion_warning()
S
73 1 5
user_ignores_post_meta_deletion_warning()
S
73 1 5
user_ignores_orphaned_relationship_data_deletion_warning()
S
73 1 5
export_csv()
S
72 1 6
get_wp_optimize_top_nav_data()
S
68 1 7
get_wp_optimize_settings_top_nav_data()
S
68 1 7
get_wp_optimize_status_report_data()
S
70 1 6