VAPCartItem B

Total Complexity 90
Dependencies 10
Dependents 2
Total lines 1,128
Lines of code 396
Logical lines of code 195
Comment lines 532
Methods 48
Properties 12

Methods 48

Method Rating Maintainability Complexity Lines of code
getDiscountedPrice()
A
50 8 30
formatDate()
A
51 7 31
getDetails()
S
50 5 28
getEmployeeName()
S
58 3 17
getPriceNet()
S
58 3 16
getPriceTax()
S
58 3 16
getPriceGross()
S
58 3 16
removeOption()
S
61 3 13
getDuration()
S
64 3 11
toArray()
S
54 2 22
indexOf()
S
64 3 10
getOptionAt()
S
68 3 7
getServiceName()
S
62 2 13
setFactor()
S
62 2 12
addOption()
S
62 2 12
getPrice()
S
70 2 7
getTotalCost()
S
68 2 8
getTotalNet()
S
67 2 8
getTotalTax()
S
67 2 8
getTotalGross()
S
67 2 8
__construct()
S
64 1 10
getID()
S
81 1 3
getServiceID()
S
82 1 3
getID2()
S
81 1 3
getEmployeeID()
S
82 1 3
getName()
S
81 1 3
getName2()
S
81 1 3
setPrice()
S
66 1 8
setDuration()
S
76 1 4
getCheckinTimestamp()
S
80 1 3
getCheckinDate()
S
79 1 3
getCheckoutTimestamp()
S
72 1 5
getCheckoutDate()
S
71 1 5
getPeople()
S
82 1 3
isDiscounted()
S
82 1 3
setDiscounted()
S
76 1 4
getFactor()
S
82 1 3
isActive()
S
82 1 3
active()
S
82 1 3
remove()
S
82 1 3
getOptionsLength()
S
80 1 3
emptyOptions()
S
77 1 4
isEmpty()
S
79 1 3
balance()
S
82 1 3
getOptionsList()
S
82 1 3
getFirstAvailableIndex()
S
81 1 3
__tostring()
S
78 1 3
jsonSerialize()
S
81 1 3