-
Home
-
KiotViet Sync
-
1.6.79
-
Code
-
Classes
- KiotvietWcProduct
| Total Complexity |
204 |
| Dependencies |
5 |
| Dependents |
2 |
| Total lines |
1,096 |
| Lines of code |
825 |
| Logical lines of code |
463 |
| 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 |
45 |
| 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 |
59 |
4 |
14 |
| productVariation() |
S |
54 |
3 |
20 |
| insertProductMap() |
S |
55 |
3 |
19 |
| getAttributes() |
S |
60 |
3 |
14 |
| updateStockProductParent() |
S |
63 |
3 |
11 |
| productSimple() |
S |
57 |
2 |
16 |
| productVariable() |
S |
57 |
2 |
16 |
| set_meta_data() |
S |
68 |
3 |
7 |
| getImageFromUrl() |
S |
61 |
2 |
12 |
| getProductParentIdByKv() |
S |
65 |
2 |
8 |
| __construct() |
S |
73 |
1 |
5 |
| transformProductMaster() |
S |
63 |
1 |
10 |