VAPCart A

Total Complexity 66
Dependencies 3
Dependents 1
Total lines 523
Lines of code 207
Logical lines of code 94
Comment lines 216
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
bounds()
A
65 10 8
indexOf()
A
52 8 24
addItem()
A
54 8 21
isEmpty()
S
62 4 14
getInstance()
S
58 3 17
removeItem()
S
58 3 16
balance()
S
62 3 13
getTotalCost()
S
64 3 11
getCartRealLength()
S
64 3 11
getItemsList()
S
64 3 11
getFirstAvailableIndex()
S
63 3 11
setParams()
S
64 3 10
getItemAt()
S
68 3 7
__construct()
S
76 1 4
store()
S
76 1 4
setAppendValue()
S
76 1 4
setMaxSize()
S
76 1 4
setAllowAppointmentsSameTime()
S
76 1 4
emptyCart()
S
77 1 4
getCartLength()
S
80 1 3
toString()
S
81 1 3
__tostring()
S
77 1 3