-
Home
-
Booking Addon for WooCommerce
-
4.2.1
-
Code
-
Classes
- MVVWB_Booking_Item_Base
Total Complexity |
316 |
Dependencies |
6 |
Dependents |
0 |
Total lines |
1,115 |
Lines of code |
871 |
Logical lines of code |
564 |
Comment lines |
67 |
Methods |
31 |
Properties |
12 |
Methods 31
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
checkRules() |
D |
16 |
86 |
214 |
getPriceByRules() |
D |
29 |
37 |
121 |
__construct() |
D |
34 |
32 |
79 |
getResources() |
B |
37 |
23 |
63 |
checkResourcePerBlock() |
B |
36 |
22 |
74 |
checkMinMax() |
A |
42 |
15 |
55 |
checkResources() |
A |
44 |
15 |
40 |
checkBookingPerBlock() |
A |
44 |
14 |
41 |
updateCostBasedOnRule() |
A |
56 |
9 |
17 |
evalRule() |
A |
52 |
8 |
26 |
checkBookings() |
S |
49 |
7 |
28 |
personsCount() |
S |
59 |
7 |
14 |
getMaxCountPerDay() |
S |
56 |
4 |
17 |
getPrice() |
S |
63 |
4 |
10 |
isDateRangeEnabled() |
S |
69 |
4 |
6 |
isUnitType() |
S |
64 |
4 |
10 |
haveResources() |
S |
68 |
3 |
7 |
get_cancel_limit() |
S |
63 |
3 |
9 |
getPerBlockMinutes() |
S |
72 |
3 |
4 |
can_be_cancelled() |
S |
77 |
2 |
3 |
isPersonsAsBooking() |
S |
78 |
2 |
3 |
isQuantityEnabled() |
S |
77 |
2 |
3 |
isPersonsTypeEnabled() |
S |
78 |
2 |
3 |
isVariable() |
S |
82 |
1 |
3 |
isPersonsEnabled() |
S |
80 |
1 |
3 |
getConfig() |
S |
82 |
1 |
3 |
getTimeZone() |
S |
82 |
1 |
3 |
requireConfirmation() |
S |
80 |
1 |
3 |
getUnAvailableSlotes() |
S |
82 |
1 |
3 |
getUnit() |
S |
80 |
1 |
3 |
isFixed() |
S |
80 |
1 |
3 |