B2WL_Woocommerce D

Total Complexity 618
Dependencies 13
Dependents 7
Total lines 1,931
Lines of code 1,508
Logical lines of code 1,002
Comment lines 68
Methods 29
Properties 4

Methods 29

Method Rating Maintainability Complexity Lines of code
add_variation()
D
0
225 517
add_product()
D
10
102 239
upd_product()
D
14
87 205
get_product_by_post_id()
D
29
42 107
set_images()
C
40 27 49
prepare_product_images()
B
45 20 39
build_description()
B
42 17 42
update_price()
A
44 12 48
save_tracking_code()
A
47 11 35
build_steps()
A
49 11 29
set_attributes()
A
48 8 32
get_sorted_products_ids()
A
53 8 21
build_categories()
A
55 8 18
need_import_variations()
S
65 7 7
update_order()
S
62 6 10
build_categories_tree()
S
59 4 14
get_product_external_id()
S
61 4 12
is_woocommerce_installed()
S
64 4 9
get_product_tags()
S
61 3 12
get_products_ids()
S
57 2 18
get_categories()
S
63 2 10
get_fulfilled_orders_data()
S
72 1 5
get_fulfilled_orders_count()
S
72 1 5
is_product_exist()
S
74 1 4
get_products_count()
S
75 1 4
get_woocommerce_manage_stock()
S
75 1 4
get_product_id_by_external_id()
S
74 1 4
get_product_id_by_import_id()
S
74 1 4
__construct()
S
73 1 5