Ecwid_Api_V3 D

Total Complexity 227
Dependencies 8
Dependents 65
Total lines 1,384
Lines of code 1,000
Logical lines of code 540
Comment lines 11
Methods 61
Properties 11

Methods 61

Method Rating Maintainability Complexity Lines of code
get_categories()
B
39 18 60
get_store_profile()
A
42 15 49
create_store()
A
35 11 89
search_products()
A
43 13 49
get_category()
A
45 10 41
get_oauth_dialog_url()
A
51 10 23
check_api_status()
A
48 9 34
get_product()
A
48 8 35
is_store_feature_enabled()
S
54 7 22
build_request_url()
S
53 7 21
_sanitize_product_data()
S
55 7 20
get_products()
S
51 6 26
get_deleted_products()
S
52 6 26
get_store_update_stats()
S
52 6 25
build_static_pages_request_url()
S
53 6 24
_maybe_remember_all_products()
S
53 6 23
is_store_feature_available()
S
61 6 12
_load_token()
S
57 5 19
_do_post()
S
53 4 23
get_storefront_widget_page()
S
57 4 17
_do_put()
S
56 3 18
get_batch_status()
S
59 3 15
get_starter_site_info()
S
59 3 14
compose_batch_item()
S
61 3 13
does_store_exist()
S
56 2 20
get_static_page()
S
58 2 16
delete_products()
S
59 2 15
_sanitize_category_data()
S
64 3 10
update_store_profile()
S
64 3 9
get_token()
S
65 3 10
build_request_headers()
S
64 2 10
has_public_categories()
S
68 2 7
save_token()
S
64 2 10
set_api_status()
S
70 2 6
_get_response_message_from_wp_remote_results()
S
66 2 8
__construct()
S
59 1 13
batch_upload_product_gallery_image_async()
S
66 1 9
batch_upload_product_image_async()
S
66 1 9
batch_upload_category_image_async()
S
66 1 9
batch_delete_product()
S
68 1 8
batch_delete_all_gallery_image()
S
68 1 8
batch_update_product()
S
68 1 8
batch_create_product()
S
68 1 8
batch_upload_product_variation_image()
S
65 1 9
batch_create_product_variation()
S
68 1 8
get_api_status_list()
S
68 1 9
create_batch()
S
67 1 8
upload_product_variation_image()
S
68 1 6
upload_product_gallery_image()
S
69 1 6
upload_product_image()
S
69 1 6
upload_category_image()
S
69 1 6
update_category()
S
68 1 7
create_category()
S
68 1 7
update_product()
S
68 1 7
create_product()
S
68 1 7
format_time()
S
79 1 3
get_api_status()
S
80 1 3
reset_api_status()
S
80 1 3
connection_fails()
S
75 1 4
is_available()
S
76 1 4
create_product_variation()
S
69 1 6