GEEKYBOTwoocommerceModel D

Total Complexity 145
Dependencies 6
Dependents 1
Total lines 1,086
Lines of code 937
Logical lines of code 508
Comment lines 127
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
get_variation_id_by_attributes()
C
30 23 123
getProductAttributes()
B
30 19 128
geekybotUpdateCartItemQuantity()
B
32 15 113
geekybotAddToCart()
B
34 15 93
geekybot_searchProduct()
A
38 13 75
geekybot_viewCart()
A
32 8 125
geekybot_readVariablesGetAttributes()
A
50 9 28
geekybotUpdateCartItemQty()
A
40 5 64
geekybotRemoveCartItem()
S
50 5 29
geekybot_showAllProducts()
S
48 4 32
is_product_in_cart()
S
57 5 16
getProductsFromWcSecondFallback()
S
57 4 16
geekybot_checkOut()
S
56 3 19
geekybot_readVariablesGetProduct()
S
58 3 14
getProductsFromWcFirstFallback()
S
59 3 14
geekybotViewCart()
S
59 3 14
getSavedAttributesByProductId()
S
59 3 13
saveProductAttributeToSession()
S
61 2 12
getMessagekey()
S
78 2 3
__construct()
S
69 1 6