GEEKYBOTwoocommerceModel D

Total Complexity 214
Dependencies 7
Dependents 1
Total lines 1,535
Lines of code 1,278
Logical lines of code 710
Comment lines 206
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
get_variation_id_by_attributes()
C
28
28 133
geekybotUpdateCartItemQuantity()
C
30 21 125
getProductAttributes()
B
30 19 128
geekybotAddToCart()
B
34 15 93
geekybot_viewCart()
A
32 8 125
geekybot_getProductsUnderPrice()
A
39 12 61
geekybot_getProductsAbovePrice()
A
39 12 61
getProductsButtonFromFallback()
A
39 11 63
applyThresholdOnWCFallbackProducts()
A
49 13 30
geekybot_getProductsBetweenPrice()
A
41 10 55
geekybot_readVariablesGetAttributes()
A
49 10 30
geekybotUpdateCartItemQty()
A
40 5 64
geekybot_searchProduct()
A
42 5 61
showProductsList()
S
45 6 40
getProductsButton()
S
46 5 38
is_product_in_cart()
S
57 6 16
geekybotRemoveCartItem()
S
50 5 29
geekybot_showAllProducts()
S
53 3 23
geekybot_checkOut()
S
56 3 19
geekybot_readVariablesGetProduct()
S
58 3 14
geekybotViewCart()
S
59 3 14
getSavedAttributesByProductId()
S
59 3 13
geekybotSynchronizeWooCommerceProducts()
S
57 2 16
saveProductAttributeToSession()
S
61 2 12
getMessagekey()
S
78 2 3
__construct()
S
64 1 9
geekybot_normalize_price_with_wc()
S
81 1 3