Updraft_Smush_Manager D

Total Complexity 276
Dependencies 10
Dependents 2
Total lines 1,730
Lines of code 1,042
Logical lines of code 633
Comment lines 398
Methods 58
Properties 5

Methods 58

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_media_smush_column_content()
B
42 18 42
get_uncompressed_images()
A
39 13 68
render_smush_metabox()
A
44 15 37
write_log_header()
A
43 11 41
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
48 3 29
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
smush_js_translations()
S
47 1 32
add_smush_metabox()
S
67 3 7
set_task_logger()
S
68 3 8
clear_failed_tasks()
S
66 3 8
unscheduled_original_file_deletion()
S
65 3 8
is_queue_processed()
S
72 3 5
clear_pending_images()
S
64 3 10
delete_transient()
S
70 2 7
instance()
S
71 2 6
get_features()
S
68 2 7
manage_media_custom_column()
S
75 2 4
update_smush_options()
S
70 2 6
get_wordpress_version()
S
65 2 9
clear_backup_images()
S
65 2 8
get_associated_task()
S
68 2 7
set_default_options()
S
60 1 14
clear_smush_stats()
S
69 1 7
get_pending_tasks()
S
80 1 3
is_multisite_mode()
S
81 1 3
is_compressed()
S
78 1 3
get_smush_details()
S
69 1 6
get_from_cache()
S
75 1 4
manage_media_columns()
S
76 1 4
delete_from_cache()
S
73 1 5
save_to_cache()
S
71 1 5
get_failed_task_count()
S
79 1 3
get_restore_image_tooltip_text()
S
70 1 6
get_default_webservice()
S
82 1 3
delete_log_files()
S
80 1 3
get_logfile_path()
S
80 1 3
get_allowed_services()
S
74 1 5
prune_smush_logs()
S
77 1 4