-
Home
-
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance
-
3.1.11
-
Code
-
Classes
- Updraft_Smush_Manager_Commands
Total Complexity |
72 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
460 |
Lines of code |
279 |
Logical lines of code |
195 |
Comment lines |
95 |
Methods |
16 |
Properties |
0 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
compress_single_image() |
A |
45 |
13 |
37 |
mark_all_as_uncompressed() |
A |
45 |
11 |
39 |
mark_as_compressed() |
A |
47 |
10 |
33 |
update_smush_options() |
A |
53 |
8 |
21 |
get_ui_update() |
S |
48 |
6 |
29 |
close_browser_connection() |
S |
57 |
5 |
15 |
restore_single_image() |
S |
57 |
4 |
16 |
get_smush_logs() |
S |
55 |
3 |
19 |
get_allowed_ajax_commands() |
S |
57 |
1 |
19 |
process_bulk_smush() |
S |
68 |
2 |
7 |
clear_smush_stats() |
S |
63 |
2 |
10 |
check_server_status() |
S |
63 |
2 |
10 |
clear_pending_images() |
S |
63 |
2 |
10 |
__construct() |
S |
80 |
1 |
3 |
process_pending_images() |
S |
82 |
1 |
3 |
clean_all_backup_images() |
S |
66 |
1 |
8 |