Code Analysis: Sync QCloud COS 2.6.3

Function Rating Maintainability Complexity Lines of code
cos_setting_page()
D
12
71 351
cos_ci_image_slim_page()
B
34 19 101
cos_document_page()
A
40 14 58
cos_ci_image_slim_setting()
A
42 14 50
cos_setting_content_ci()
A
46 13 35
cos_delete_remote_attachment()
A
43 12 46
cos_upload_thumbs()
A
44 10 43
cos_ci_text_page()
A
42 5 68
cos_setting_post_thumbnail_ci()
A
55 8 18
cos_file_upload()
S
51 7 27
cos_ci_text_setting()
S
51 7 24
cos_add_suffix_to_attachment()
S
56 7 19
cos_check_bucket()
S
52 6 24
cos_process_comments()
S
53 6 23
SyncQcloudCos\Composer::removeUnusedModels()
S
53 6 20
cos_custom_image_srcset()
S
58 6 14
cos_read_dir_queue()
S
53 5 23
COS_CLI_Commands::upload()
S
52 5 23
COS_CLI_Commands::upload_file()
S
55 5 19
cos_get_regional()
S
47 4 32
cos_get_bucket_name()
S
58 5 15
cos_sync_setting_form()
S
45 2 59
cos_request_txt_check()
S
59 5 12
SyncQcloudCos\CI\FilePreview::isFileExtensionSupported()
S
54 4 16
cos_append_ci_style()
S
66 5 7
cos_local2remote()
S
64 5 8
cos_get_url_scheme()
S
69 5 5
cos_validate_configuration()
S
67 5 7
cos_wp_prepare_attachment_for_js()
S
58 4 14
cos_delete_local_file()
S
62 4 13
cos_get_current_tab()
S
62 4 11
SyncQcloudCos\Monitor\DataPoints::buildParams()
S
53 3 25
cos_upload_attachments()
S
53 3 23
SyncQcloudCos\CI\Audit::comment()
S
53 3 21
SyncQcloudCos\Monitor\Charts::generateChartScript()
S
48 1 50
cos_delete_cos_files()
S
59 3 12
cos_replace_client_region()
S
61 3 12
cos_sanitize_file_name()
S
61 3 11
SyncQcloudCos\Monitor\DataPoints::__construct()
S
62 3 11
cos_ci_attachment_preview_setting()
S
62 3 11
cos_get_client()
S
58 2 15
cos_get_default_options()
S
53 1 25
cos_contact_page()
S
63 1 24
SyncQcloudCos\Monitor\DataPoints::getTraffic()
S
56 1 18
SyncQcloudCos\CI\Service::checkStatus()
S
66 2 8
cos_add_suffix_for_media_send_to_editor()
S
71 2 6
SyncQcloudCos\Monitor\DataPoints::formatTime()
S
67 2 7
SyncQcloudCos\Monitor\DataPoints::getDocumentHtmlRequests()
S
58 1 15
SyncQcloudCos\Monitor\DataPoints::getTextAuditing()
S
58 1 15
SyncQcloudCos\Object\Head::getContentLength()
S
66 2 8
SyncQcloudCos\Monitor\DataPoints::request()
S
63 2 10
cos_delete_cos_file()
S
64 2 9
SyncQcloudCos\Monitor\DataPoints::getTimezone()
S
78 2 3
cos_add_setting_page()
S
67 2 7
cos_update_config_parameters()
S
70 2 6
cos_get_user_roles()
S
67 2 8
cos_plugin_action_links()
S
68 2 7
cos_add_suffix_to_attachment_url()
S
72 2 6
SyncQcloudCos\CI\OriginProtect::checkStatus()
S
66 2 8
SyncQcloudCos\CI\FilePreview::checkStatus()
S
64 2 9
SyncQcloudCos\Monitor\DataPoints::getCITraffic()
S
61 1 12
SyncQcloudCos\Monitor\DataPoints::getRequests()
S
61 1 12
cos_append_options()
S
61 1 12
cos_setting_page_tabs()
S
63 1 11
cos_save_image_editor_file()
S
76 1 4
SyncQcloudCos\Monitor\Charts::ciTextAuditing()
S
65 1 8
SyncQcloudCos\Monitor\DataPoints::getImageBasicsRequests()
S
65 1 9
SyncQcloudCos\CI\ImageSlim::checkStatus()
S
78 1 3
cos_set_options()
S
79 1 3
SyncQcloudCos\Monitor\Charts::ciDocumentHtml()
S
65 1 8
SyncQcloudCos\Monitor\Charts::setColors()
S
80 1 3
cos_sync_image_slim_config()
S
66 1 8
SyncQcloudCos\Monitor\DataPoints::bytes2MB()
S
78 1 3
cos_modify_img_url()
S
78 1 3
SyncQcloudCos\Monitor\DataPoints::getObjectNumber()
S
65 1 9
cos_get_user_color_scheme()
S
69 1 7
SyncQcloudCos\Monitor\Charts::objectNumber()
S
69 1 6
SyncQcloudCos\Monitor\Charts::ciTraffic()
S
67 1 7
cos_is_delete_local_file()
S
74 1 4
cos_is_image_type()
S
79 1 3
cos_image_editor_file_do()
S
81 1 3
SyncQcloudCos\CI\ImageSlim::close()
S
78 1 3
COS_CLI_Commands::delete_file()
S
72 1 5
SyncQcloudCos\Monitor\DataPoints::getStorage()
S
65 1 9
SyncQcloudCos\Monitor\Charts::storage()
S
69 1 6
SyncQcloudCos\Monitor\DataPoints::genStartEndTime()
S
69 1 6
SyncQcloudCos\Monitor\Charts::ciStyle()
S
69 1 6
SyncQcloudCos\Monitor\Charts::traffic()
S
64 1 9
SyncQcloudCos\CI\ImageSlim::open()
S
71 1 5
cos_get_option()
S
80 1 3
SyncQcloudCos\Monitor\Charts::requests()
S
67 1 7
cos_get_image_style()
S
75 1 4