Updraft_Smush_Manager D

Total Complexity 267
Dependencies 10
Dependents 2
Total lines 1,683
Lines of code 1,014
Logical lines of code 624
Comment lines 387
Methods 56
Properties 5

Methods 56

Method Rating Maintainability Complexity Lines of code
restore_single_image()
B
39 20 59
clear_backup_images_directory()
B
42 21 44
bulk_restore_compressed_images()
B
37 18 75
get_uncompressed_images()
A
39 13 68
render_smush_metabox()
A
45 15 34
write_log_header()
A
43 11 41
get_smush_details()
A
46 11 34
record_stats()
A
44 10 44
autosmush_create_task()
A
46 9 34
__construct()
A
43 8 47
memory_check_current()
A
51 9 25
process_bulk_smush()
A
46 8 35
is_image_compressed_by_another_plugin()
A
54 9 17
updraft_smush_ajax()
A
48 8 31
add_compress_button_to_media_modal()
S
55 6 17
clear_cached_data()
S
55 5 20
process_smush_tasks()
S
59 5 15
task_exists()
S
59 5 14
get_session_stats()
S
59 5 13
get_admin_urls()
S
57 4 17
admin_enqueue_scripts()
S
49 3 28
compress_single_image()
S
59 4 12
get_uncompressed_images_meta_query()
S
47 1 51
get_smush_options()
S
56 3 18
ewww_image_optimizer_compressed_images_args()
S
60 3 13
check_server_online()
S
62 3 11
set_task_logger()
S
68 3 8
add_smush_metabox()
S
67 3 7
is_queue_processed()
S
72 3 5
clear_failed_tasks()
S
66 3 8
unscheduled_original_file_deletion()
S
65 3 8
clear_pending_images()
S
64 3 10
smush_js_translations()
S
49 1 28
get_associated_task()
S
68 2 7
delete_transient()
S
70 2 7
get_features()
S
68 2 7
clear_backup_images()
S
65 2 8
update_smush_options()
S
70 2 6
get_wordpress_version()
S
65 2 9
instance()
S
71 2 6
manage_media_custom_column()
S
75 2 4
set_default_options()
S
60 1 14
is_multisite_mode()
S
81 1 3
is_compressed()
S
78 1 3
prune_smush_logs()
S
77 1 4
delete_from_cache()
S
73 1 5
get_from_cache()
S
75 1 4
save_to_cache()
S
71 1 5
delete_log_files()
S
80 1 3
get_logfile_path()
S
80 1 3
get_allowed_services()
S
74 1 5
get_default_webservice()
S
82 1 3
clear_smush_stats()
S
69 1 7
manage_media_columns()
S
76 1 4
get_pending_tasks()
S
80 1 3
get_failed_task_count()
S
79 1 3