GEEKYBOTwoocommerceModel D

Total Complexity 183
Dependencies 6
Dependents 1
Total lines 1,324
Lines of code 1,145
Logical lines of code 620
Comment lines 175
Methods 24
Properties 0

Methods 24

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_searchProduct()
A
36 12 87
geekybot_viewCart()
A
32 8 125
geekybot_getProductsBetweenPrice()
A
41 10 55
geekybot_readVariablesGetAttributes()
A
49 10 30
geekybot_getProductsUnderPrice()
A
41 8 54
geekybot_getProductsAbovePrice()
A
41 8 54
geekybotUpdateCartItemQty()
A
40 5 64
is_product_in_cart()
S
57 6 16
geekybotRemoveCartItem()
S
50 5 29
getProductsFromWcSecondFallback()
S
53 4 22
geekybot_showAllProducts()
S
52 3 23
getProductsFromWcFirstFallback()
S
54 3 20
geekybot_checkOut()
S
56 3 19
geekybot_readVariablesGetProduct()
S
58 3 14
geekybotViewCart()
S
59 3 14
getSavedAttributesByProductId()
S
59 3 13
saveProductAttributeToSession()
S
61 2 12
getMessagekey()
S
78 2 3
__construct()
S
64 1 9
geekybot_normalize_price_with_wc()
S
81 1 3