VI_WOO_ALIDROPSHIP_DATA D

Total Complexity 390
Dependencies 8
Dependents 21
Total lines 1,859
Lines of code 1,550
Logical lines of code 747
Comment lines 198
Methods 55
Properties 9

Methods 55

Method Rating Maintainability Complexity Lines of code
create_product()
D
18
79 169
format_price()
D
33 39 81
process_price()
C
37 27 71
adjust_ali_freight()
B
36 19 77
get_freight_amount()
B
43 20 45
download_description()
B
45 17 35
product_get_id_by_aliexpress_id()
A
40 14 57
download_image()
A
44 14 40
get_country_freebase()
A
28
3 155
get_data()
A
44 10 46
get_ali_orders()
A
45 8 39
product_get_id_by_woo_id()
A
46 8 37
get_exchange_rate()
S
50 7 28
get_imported_products()
S
50 6 29
allow_html()
S
44 4 49
__construct()
S
38 2 78
product_get_woo_id_by_aliexpress_id()
S
49 5 29
find_and_replace_strings()
S
59 6 13
get_google_exchange_rate()
S
51 5 25
get_user_agent()
S
54 5 22
get_product_description_from_url()
S
56 5 18
get_shipping_companies()
S
44 3 44
ali_ds_get_sign()
S
51 4 26
get_id_by_image_id()
S
52 4 24
ali_request()
S
53 4 22
calculate_price_base_on_type()
S
58 4 17
get_states()
S
57 4 15
process_exchange_price()
S
61 4 13
wp_remote_get()
S
52 3 26
get_ali_tax()
S
49 2 31
process_variation_sku()
S
63 4 10
get_params()
S
63 4 10
sku_exists()
S
65 4 9
count_posts()
S
59 3 14
get_countries()
S
58 3 14
is_ald_table()
S
62 3 12
get_state()
S
60 3 12
set()
S
62 3 11
get_instance()
S
71 3 6
get_default()
S
65 3 9
get_domain_name()
S
63 3 10
get_domain_from_url()
S
61 2 12
strtolower()
S
78 2 3
get_overriding_product()
S
63 2 10
get_disable_wp_cron()
S
78 2 3
sanitize_taxonomy_name()
S
76 2 3
chrome_extension_buttons()
S
63 1 12
get_attribute_name_by_slug()
S
78 1 3
string_to_float()
S
78 1 3
get_aliexpress_product_url()
S
79 1 3
sanitize_phone_number()
S
78 1 3
get_accept_currencies()
S
80 1 3
get_shipping_cache_time()
S
78 1 3
wp_kses_post()
S
79 1 3
get_get_tracking_url()
S
66 1 8