Updraft_Smush_Manager_Commands C

Total Complexity 103
Dependencies 4
Dependents 3
Total lines 714
Lines of code 417
Logical lines of code 281
Comment lines 168
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
compress_single_image()
A
43 14 42
mark_all_as_uncompressed()
A
43 12 48
mark_as_compressed()
A
46 11 37
update_webp_options()
A
44 8 47
get_ui_update()
A
46 8 33
update_smush_options()
A
52 8 22
get_smush_settings_form()
S
56 6 16
convert_to_webp_format()
S
59 5 13
get_smush_logs()
S
53 4 23
restore_single_image()
S
56 4 17
reset_webp_serving_method()
S
58 3 16
get_smush_details()
S
62 3 11
get_smush_media_column_content()
S
70 3 6
get_allowed_ajax_commands()
S
54 1 24
clear_pending_images()
S
63 2 10
check_server_status()
S
63 2 10
process_bulk_smush()
S
66 2 8
clear_smush_stats()
S
63 2 10
image_not_found_response()
S
73 1 5
__construct()
S
80 1 3
clean_all_backup_images()
S
66 1 8
process_bulk_smush_shutdown()
S
73 1 5
process_pending_images()
S
81 1 3