KiotvietWcProduct D

Total Complexity 205
Dependencies 5
Dependents 2
Total lines 1,133
Lines of code 856
Logical lines of code 470
Comment lines 70
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
set_product_data()
B
37 21 75
set_variation_data()
A
43 15 46
get_attachment_id_from_url()
A
39 13 68
import_product()
A
42 14 48
check_attribute_parent()
A
41 13 60
transformProduct()
A
43 10 45
delete_product()
A
47 10 37
check_update_product_by_config()
A
53 8 24
getSalePrice()
A
54 8 23
getRegularPrice()
A
55 8 21
get_product_object()
S
49 7 30
get_variation_parent_attributes()
S
52 7 25
create_media()
S
48 6 32
get_attribute_taxonomy_id()
S
45 5 46
parse_categories_field()
S
54 6 22
getImages()
S
55 6 20
getStock()
S
57 6 18
getLowStock()
S
57 6 18
parse_tags_field()
S
58 6 16
set_image_data()
S
56 5 18
productVariation()
S
50 3 29
insertProductMap()
S
51 3 28
getAttributes()
S
60 3 14
updateStockProductParent()
S
63 3 11
productSimple()
S
55 2 18
productVariable()
S
55 2 18
getProductParentIdByKv()
S
58 2 17
set_meta_data()
S
68 3 7
getImageFromUrl()
S
68 2 7
__construct()
S
73 1 5
transformProductMaster()
S
63 1 10