Updraft_Smush_Manager_Commands B

Total Complexity 85
Dependencies 5
Dependents 1
Total lines 568
Lines of code 348
Logical lines of code 238
Comment lines 118
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
compress_single_image()
A
43 14 41
mark_all_as_uncompressed()
A
45 11 39
mark_as_compressed()
A
47 10 33
update_webp_options()
A
45 8 44
update_smush_options()
A
52 8 22
get_ui_update()
S
48 6 29
convert_to_webp_format()
S
59 5 13
restore_single_image()
S
57 4 16
get_smush_logs()
S
55 3 19
reset_webp_serving_method()
S
59 3 14
get_allowed_ajax_commands()
S
55 1 22
check_server_status()
S
63 2 10
process_bulk_smush()
S
68 2 7
clear_smush_stats()
S
63 2 10
clear_pending_images()
S
63 2 10
__construct()
S
80 1 3
clean_all_backup_images()
S
66 1 8
process_pending_images()
S
82 1 3
image_not_found_response()
S
73 1 5