BookingHelper D

Total Complexity 174
Dependencies 4
Dependents 8
Total lines 922
Lines of code 670
Logical lines of code 394
Comment lines 130
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
check_todays_availability()
C
34 28 84
calculateDistance()
B
38 17 60
update_order_status()
B
38 16 67
considerBase()
B
39 15 64
price_display()
A
48 10 34
check_car_previous_bookings()
A
46 9 38
date_format()
A
49 9 32
get_order_status_text()
S
52 7 25
check_car_block_dates()
S
59 5 14
get_order_car()
S
55 4 19
get_payment_details()
S
58 4 15
get_order_pickup_date()
S
59 4 15
config()
S
58 4 15
get_order_payment()
S
60 4 15
DateTimeHuman()
S
57 3 16
secondsToTime()
S
57 3 16
DateHuman()
S
61 3 12
distance_display()
S
63 3 10
round_price()
S
63 3 10
isJSON()
S
77 3 3
TimeHuman()
S
63 3 10
get_order_by_order_number()
S
62 2 12
cancel_car_bookings()
S
63 2 11
roundUpToAny()
S
76 2 3
calculate_charge_per_min()
S
66 2 8
getInitialDebugArray()
S
59 1 15
calculate_time_difference()
S
63 2 10
get_car_details()
S
64 2 10
get_order_by_id()
S
65 1 9
getMaxSeatsData()
S
65 1 10
check_car_type()
S
81 1 3
clear_booking_data()
S
75 1 5