-
Home
-
KiotViet Sync
-
1.8.4 (latest)
-
Code
-
Classes
- KiotvietWcProduct
Total Complexity |
205 |
Dependencies |
5 |
Dependents |
2 |
Total lines |
1,105 |
Lines of code |
834 |
Logical lines of code |
469 |
Comment lines |
67 |
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 |
getLowStock() |
S |
57 |
6 |
18 |
getStock() |
S |
57 |
6 |
18 |
parse_tags_field() |
S |
58 |
6 |
16 |
set_image_data() |
S |
56 |
5 |
18 |
productVariation() |
S |
54 |
3 |
20 |
insertProductMap() |
S |
55 |
3 |
19 |
getAttributes() |
S |
60 |
3 |
14 |
updateStockProductParent() |
S |
63 |
3 |
11 |
productVariable() |
S |
55 |
2 |
18 |
productSimple() |
S |
55 |
2 |
18 |
set_meta_data() |
S |
68 |
3 |
7 |
getImageFromUrl() |
S |
61 |
2 |
12 |
getProductParentIdByKv() |
S |
65 |
2 |
8 |
transformProductMaster() |
S |
63 |
1 |
10 |
__construct() |
S |
73 |
1 |
5 |