-
Home
-
VikAppointments Services Booking Calendar
-
1.2.6
-
Code
-
Classes
- VAPCartPackages
Total Complexity |
67 |
Dependencies |
7 |
Dependents |
1 |
Total lines |
701 |
Lines of code |
255 |
Logical lines of code |
125 |
Comment lines |
311 |
Methods |
30 |
Properties |
4 |
Methods 30
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
removeDiscount() |
S |
61 |
7 |
11 |
getDiscount() |
S |
62 |
6 |
11 |
getTotalDiscountPerOffer() |
S |
54 |
4 |
23 |
prepareDiscounts() |
S |
57 |
4 |
18 |
addPackage() |
S |
58 |
4 |
16 |
getTotalsPerItem() |
S |
54 |
3 |
21 |
getInstance() |
S |
58 |
3 |
17 |
removePackage() |
S |
61 |
3 |
13 |
indexOf() |
S |
64 |
3 |
10 |
getPackageAt() |
S |
68 |
3 |
7 |
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 |
getTotalDiscount() |
S |
65 |
2 |
9 |
getPackagesInCart() |
S |
68 |
2 |
8 |
__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 |
getPackagesList() |
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 |
72 |
1 |
6 |