VAPCart B

Total Complexity 88
Dependencies 8
Dependents 2
Total lines 838
Lines of code 315
Logical lines of code 161
Comment lines 368
Methods 31
Properties 4

Methods 31

Method Rating Maintainability Complexity Lines of code
indexOf()
A
50 10 26
getTotalsPerItem()
A
44 6 47
addItem()
S
57 7 16
removeDiscount()
S
61 7 11
prepareDiscounts()
S
53 6 25
getDiscount()
S
62 6 11
bounds()
S
71 6 5
getTotalDiscountPerOffer()
S
54 4 23
getTotalDiscount()
S
57 4 17
getInstance()
S
58 3 17
getItemAt()
S
68 3 7
removeItem()
S
61 2 12
setParams()
S
69 2 7
getTotalCost()
S
68 2 8
getTotalNet()
S
66 2 9
getTotalTax()
S
66 2 9
getTotalGross()
S
66 2 9
__construct()
S
76 1 4
store()
S
76 1 4
emptyCart()
S
74 1 5
isEmpty()
S
79 1 3
balance()
S
82 1 3
getCartLength()
S
80 1 3
getCartRealLength()
S
81 1 3
getItemsList()
S
82 1 3
addDiscount()
S
76 1 4
setDiscount()
S
73 1 5
getDiscounts()
S
82 1 3
getFirstAvailableIndex()
S
81 1 3
__tostring()
S
77 1 3
jsonSerialize()
S
64 1 10