-
Home
-
Cab fare calculator
-
1.0.6
-
Code
-
Classes
- BookingHelper
Total Complexity |
174 |
Dependencies |
4 |
Dependents |
8 |
Total lines |
1,018 |
Lines of code |
741 |
Logical lines of code |
394 |
Comment lines |
133 |
Methods |
32 |
Properties |
0 |
Methods 32
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check_todays_availability() |
C |
33 |
28 |
101 |
calculateDistance() |
B |
38 |
17 |
63 |
update_order_status() |
B |
37 |
16 |
74 |
considerBase() |
B |
38 |
15 |
74 |
price_display() |
A |
46 |
10 |
40 |
check_car_previous_bookings() |
A |
46 |
9 |
39 |
date_format() |
A |
48 |
9 |
35 |
get_order_status_text() |
S |
51 |
7 |
29 |
check_car_block_dates() |
S |
58 |
5 |
15 |
get_order_car() |
S |
53 |
4 |
23 |
get_order_pickup_date() |
S |
57 |
4 |
18 |
config() |
S |
56 |
4 |
18 |
get_order_payment() |
S |
58 |
4 |
18 |
get_payment_details() |
S |
57 |
4 |
17 |
DateTimeHuman() |
S |
57 |
3 |
16 |
secondsToTime() |
S |
57 |
3 |
16 |
DateHuman() |
S |
61 |
3 |
12 |
round_price() |
S |
61 |
3 |
12 |
distance_display() |
S |
62 |
3 |
11 |
isJSON() |
S |
77 |
3 |
3 |
TimeHuman() |
S |
63 |
3 |
10 |
get_order_by_order_number() |
S |
61 |
2 |
13 |
cancel_car_bookings() |
S |
62 |
2 |
12 |
get_car_details() |
S |
63 |
2 |
11 |
calculate_time_difference() |
S |
62 |
2 |
11 |
roundUpToAny() |
S |
76 |
2 |
3 |
calculate_charge_per_min() |
S |
65 |
2 |
9 |
getInitialDebugArray() |
S |
61 |
1 |
13 |
get_order_by_id() |
S |
65 |
1 |
9 |
getMaxSeatsData() |
S |
68 |
1 |
8 |
check_car_type() |
S |
81 |
1 |
3 |
clear_booking_data() |
S |
75 |
1 |
5 |