GEEKYBOTwoocommerceModel D

Total Complexity 147
Dependencies 6
Dependents 1
Total lines 1,088
Lines of code 939
Logical lines of code 509
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 16 113
geekybotAddToCart()
B
34 15 93
geekybot_searchProduct()
A
38 13 75
geekybot_viewCart()
A
32 8 125
geekybot_readVariablesGetAttributes()
A
49 10 30
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