Updraft_Smush_Manager_Commands D

Total Complexity 129
Dependencies 4
Dependents 3
Total lines 770
Lines of code 446
Logical lines of code 299
Comment lines 185
Methods 24
Properties 4

Methods 24

Method Rating Maintainability Complexity Lines of code
compress_single_image()
B
41 19 48
mark_as_compressed()
A
45 13 38
mark_all_as_uncompressed()
A
43 12 48
update_smush_options()
A
51 12 22
get_ui_update()
A
45 10 34
update_webp_options()
A
44 9 47
get_smush_settings_form()
S
56 6 16
sanitize_images()
S
58 6 15
clear_pending_images()
S
57 5 16
convert_to_webp_format()
S
59 5 13
get_smush_logs()
S
53 4 23
restore_single_image()
S
56 4 17
get_smush_details()
S
62 4 11
reset_webp_serving_method()
S
58 3 16
process_bulk_smush()
S
65 3 8
check_server_status()
S
63 3 10
get_smush_media_column_content()
S
70 3 6
get_allowed_ajax_commands()
S
54 1 24
clear_smush_stats()
S
63 2 10
__construct()
S
80 1 3
process_bulk_smush_shutdown()
S
73 1 5
process_pending_images()
S
81 1 3
clean_all_backup_images()
S
66 1 8
image_not_found_response()
S
73 1 5