MVVWB_Booking_Item_Base D

Total Complexity 200
Dependencies 8
Dependents 0
Total lines 767
Lines of code 577
Logical lines of code 350
Comment lines 24
Methods 29
Properties 12

Methods 29

Method Rating Maintainability Complexity Lines of code
__construct()
D
34 32 79
getResources()
B
37 23 63
checkResourcePerBlock()
B
36 22 74
checkMinMax()
B
39 18 67
checkResources()
B
44 18 40
checkBookingPerBlock()
A
44 14 41
getConfig()
A
45 9 39
getPriceByRules()
A
49 9 31
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
getTimeZone()
S
82 1 3
requireConfirmation()
S
80 1 3
getUnAvailableSlotes()
S
82 1 3
getUnit()
S
80 1 3
checkRules()
S
72 1 5
isFixed()
S
80 1 3