-
Home
-
Booking Addon for WooCommerce
-
4.1.0
-
Code
-
Classes
- MVVWB_Booking_Item
Total Complexity |
257 |
Dependencies |
8 |
Dependents |
5 |
Total lines |
1,156 |
Lines of code |
955 |
Logical lines of code |
607 |
Comment lines |
48 |
Methods |
15 |
Properties |
2 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
prepareData() |
D |
22 |
55 |
177 |
calculateCost() |
D |
25 |
48 |
144 |
getSlotsByResource() |
D |
26 |
35 |
147 |
getTimeSlotsByResource() |
C |
29 |
27 |
123 |
getSlotes() |
C |
31 |
22 |
110 |
getTimeSlots() |
B |
33 |
18 |
93 |
updateBooking() |
B |
39 |
18 |
57 |
setBookingData() |
A |
53 |
11 |
21 |
checkAvailability() |
A |
52 |
10 |
25 |
addBooking() |
S |
50 |
3 |
28 |
__construct() |
S |
67 |
3 |
9 |
getBookingData() |
S |
79 |
2 |
3 |
getCartData() |
S |
66 |
2 |
8 |
clearTrans() |
S |
68 |
2 |
7 |
requiresConfirmation() |
S |
80 |
1 |
3 |