Code Analysis: WordPress Amazon S3 - Wasabi Smart File Uploads 1.4.2

Function Rating Maintainability Complexity Lines of code
SSU_S3_Service::generate_metadata_for_image()
A
46 7 43
SSU_S3_Service::create_wasabi_read_presigned_url()
A
50 8 27
SSU_S3_Service::generate_metadata_for_pdf()
A
49 7 32
SSU_API::get_put_presigned_url()
S
51 7 24
SSU_Service_Woo::create_wasabi_signed_file_download_path()
S
54 7 19
ssu_get_s3_options()
S
51 6 28
SSU_API::get_signed_url()
S
53 6 21
SSU_S3_Service::create_read_presigned_url()
S
54 6 20
S3_Smart_Upload_Admin::enqueue_scripts()
S
49 5 29
SSU_Build_Service::get_build_status()
S
46 4 43
ssu_get_mime_type()
S
41 3 56
ssu_get_s3_new_options()
S
52 5 26
SSU_S3_Service::getS3Hostname()
S
57 5 16
S3_Smart_Upload_Admin::handle_delete_post_meta()
S
57 5 16
SSU_API::register_rest_routes()
S
44 2 57
SSU_API::get_plugin_info()
S
58 4 15
SSU_S3_Service::generate_attachment_metadata_for_s3_link()
S
59 4 15
SSU_API::add_file_to_media()
S
60 4 12
SSU_API::create_wp_media()
S
62 4 11
SSU_API::set_object_acl()
S
61 4 11
SSU_Build_Service::build_image_api_stack()
S
48 2 36
SSU_Shortcode::render_shortcode_ssu_s3()
S
49 2 35
SSU_S3_Service::config()
S
59 3 16
get_base_upload_url()
S
63 4 9
SSU_S3_Service::create_media_attachment()
S
50 2 30
S3_Smart_Upload_Delete_Async_Task::run_action()
S
64 4 9
get_attachment_sizes_file_name()
S
63 3 11
SSU_API_Gold::register_rest_routes()
S
54 2 23
S3_Smart_Upload_Activator::activate()
S
58 2 18
SSU_S3_Service::create_put_presigned_url()
S
58 2 16
S3_Smart_Upload::load_gold_dependencies()
S
66 3 8
SSU_API::list_objects()
S
59 2 15
S3_Smart_Upload_Loader::run()
S
66 3 8
ssu_is_folder_empty()
S
78 3 3
ssu_enable_restriction()
S
65 3 10
SSU_S3_Service::setup_wasabi()
S
60 2 14
SSU_S3_Service::is_object_existed()
S
60 2 13
SSU_S3_Service::setup_aws()
S
61 2 13
S3_Smart_Upload::__construct()
S
62 2 12
SSU_S3_Service::put_object_acl()
S
61 2 12
SSU_API_Gold::get_aws_options()
S
62 2 12
S3_Smart_Upload_Admin::ssu_image_srcset_meta()
S
61 2 12
SSU_S3_Service::create_media_attachment_from_s3_url()
S
56 1 17
S3_Smart_Upload::load_dependencies()
S
58 1 16
SSU_S3_Service::insert_sizes_to_link()
S
65 2 8
SSU_Shortcode::get_instance()
S
72 2 6
SSU_API::__construct()
S
72 2 6
SSU_S3_Service::__construct()
S
68 2 7
SSU_Service_Woo::get_instance()
S
72 2 6
ssu_get_capability()
S
79 2 3
S3_Smart_Upload_Admin::change_file_url_in_media()
S
70 2 6
S3_Smart_Upload_Admin::ssu_rest_api_init_cb()
S
68 2 8
SSU_API_Gold::__construct()
S
72 2 6
SSU_API::get_aws_options()
S
68 2 8
SSU_S3_Service::get_public_url()
S
66 2 8
SSU_Service_Dokan::__construct()
S
61 1 15
SSU_Service_Dokan::get_instance()
S
71 2 6
SSU_Service_Dokan::dokan_load_downloadable_template()
S
71 2 6
S3_Smart_Upload_Admin::enqueue_styles()
S
69 2 6
ssu_check_conflict_with_pda_s3()
S
78 2 3
SSU_S3_Service::get_file_key()
S
70 2 6
ssu_insert_size_to_link()
S
67 2 7
SSU_S3_Service::get_file_data()
S
63 2 10
S3_Smart_Upload_Admin::is_upload_to_s3()
S
68 2 7
SSU_S3_Service::create_presigned_url()
S
68 2 7
ssu_get_upload_dir()
S
64 2 9
S3_Smart_Upload::define_admin_hooks()
S
59 1 13
S3_Smart_Upload_Admin::s3_smart_upload_create_plugin_submenu()
S
61 1 13
ssu_get_messages()
S
60 1 13
SSU_Service_Dokan::dokan_add_script()
S
63 1 10
S3_Smart_Upload_Admin::handle_plugin_links()
S
68 1 6
get_file_name_from_url()
S
70 1 6
SSU_API_Gold::get_build_status()
S
81 1 3
S3_Smart_Upload::define_public_hooks()
S
75 1 4
SSU_API::get_build_status()
S
81 1 3
SSU_Service_Woo::__construct()
S
71 1 7
SSU_S3_Service::list_objects()
S
66 1 9
SSU_Shortcode::enqueue_script()
S
63 1 10
ssu_log_message()
S
79 1 3
S3_Smart_Upload_Admin::ssu_image_downsize()
S
82 1 3
get_build_info()
S
76 1 4
S3_Smart_Upload_Page::s3_smart_upload_setting_assets()
S
74 1 4
SSU_S3_Service::get_s3_buckets()
S
76 1 4
activate_s3_smart_upload()
S
76 1 4
S3_Smart_Upload::run()
S
82 1 3
SSU_Shortcode::__construct()
S
91 1 2
ssu_get_upload_folder()
S
80 1 3
SSU_API_Gold::delete_aws_options()
S
78 1 4
check_plugin_type()
S
74 1 4
run_s3_smart_upload()
S
77 1 4
S3_Smart_Upload::get_version()
S
82 1 3
S3_Smart_Upload_Public::__construct()
S
77 1 4
SSU_S3_Service::get_public_url_from_signed_url()
S
79 1 3
S3_Smart_Upload_Admin::__construct()
S
77 1 4
S3_Smart_Upload_Loader::add_action()
S
77 1 3
SSU_API::send_json()
S
65 1 10
SSU_API::is_s3_object_existed()
S
79 1 3
S3_Smart_Upload::get_loader()
S
82 1 3
S3_Smart_Upload_Deactivator::deactivate()
S
89 1 2
S3_Smart_Upload_Page::render_ui()
S
81 1 6
delete_aws_options()
S
81 1 3
SSU_API::build_api_stack_to_aws()
S
81 1 3
S3_Smart_Upload_Delete_Async_Task::prepare_data()
S
75 1 4
S3_Smart_Upload_Loader::add()
S
64 1 10
S3_Smart_Upload_Loader::__construct()
S
77 1 4
SSU_Shortcode::register()
S
79 1 3
SSU_API_Gold::create_wp_media()
S
78 1 3
get_s3_baseurl()
S
72 1 5
S3_Smart_Upload_i18n::load_plugin_textdomain()
S
69 1 7
S3_Smart_Upload::get_plugin_name()
S
82 1 3
deactivate_s3_smart_upload()
S
76 1 4
delete_build_options()
S
81 1 3
SSU_S3_Service::delete_attachment_file_on_s3()
S
66 1 8
SSU_S3_Service::delete_attachment_file_on_s3_link()
S
64 1 9
S3_Smart_Upload_Loader::add_filter()
S
77 1 3
SSU_S3_Service::get_options()
S
80 1 3
SSU_API_Gold::fetch_s3_buckets()
S
81 1 3
SSU_API::fetch_s3_buckets()
S
81 1 3
update_build_info()
S
69 1 7
S3_Smart_Upload::set_locale()
S
75 1 4
SSU_API::delete_aws_options()
S
78 1 4