-
Home
-
StoreLinkr: all-in-one platform for webshops
-
2.7.5
-
Code
-
Classes
- StoreLinkrWooCommerceService
Total Complexity |
177 |
Dependencies |
15 |
Dependents |
1 |
Total lines |
986 |
Lines of code |
747 |
Logical lines of code |
357 |
Comment lines |
20 |
Methods |
24 |
Properties |
1 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
mapProductFromDataArray() |
D |
28 |
44 |
116 |
linkProductsAsVariant() |
C |
34 |
26 |
89 |
getOrders() |
B |
33 |
13 |
102 |
mergeDuplicateAttributes() |
A |
42 |
12 |
55 |
saveProduct() |
A |
41 |
12 |
55 |
linkProductGalleryImages() |
A |
49 |
13 |
33 |
upsertAttributeAndTerm() |
A |
44 |
11 |
50 |
saveProductImage() |
A |
42 |
8 |
51 |
createCategory() |
S |
48 |
6 |
33 |
findExistingAttribute() |
S |
54 |
5 |
22 |
getCategories() |
S |
56 |
4 |
19 |
findProductBySku() |
S |
56 |
3 |
18 |
upsertBrandName() |
S |
61 |
3 |
13 |
getCorrespondingCategoryIds() |
S |
65 |
3 |
9 |
findProduct() |
S |
63 |
2 |
12 |
createAttribute() |
S |
63 |
2 |
11 |
formatName() |
S |
54 |
1 |
25 |
formatPrice() |
S |
70 |
2 |
6 |
buildAttributeSlug() |
S |
65 |
2 |
8 |
rebuildLookupTableForProduct() |
S |
75 |
1 |
4 |
getWarnings() |
S |
82 |
1 |
3 |
findCategory() |
S |
80 |
1 |
3 |
updateCategory() |
S |
71 |
1 |
6 |
logWarning() |
S |
76 |
1 |
4 |