StoreLinkrWooCommerceService D

Total Complexity 167
Dependencies 18
Dependents 1
Total lines 1,037
Lines of code 784
Logical lines of code 392
Comment lines 23
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
linkProductsAsVariant()
C
34 26 90
buildProductVariantOptions()
C
31 22 107
getOrders()
B
32 13 108
linkProductGalleryImages()
A
45 16 42
saveProduct()
A
41 13 58
mergeDuplicateAttributes()
A
42 12 55
upsertAttributeAndTerm()
A
44 11 50
mapProductFromDataArray()
A
49 10 30
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
createAttribute()
S
60 2 14
findProduct()
S
63 2 12
formatName()
S
54 1 25
buildAttributeSlug()
S
65 2 8
updateCategory()
S
71 1 6
findCategory()
S
80 1 3
rebuildLookupTableForProduct()
S
75 1 4
getWarnings()
S
82 1 3
logWarning()
S
76 1 4