Updraft_Smush_Manager_Commands B

Total Complexity 93
Dependencies 5
Dependents 3
Total lines 659
Lines of code 388
Logical lines of code 263
Comment lines 154
Methods 21
Properties 4

Methods 21

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