-
Home
-
Cab fare calculator
-
1.2.4 (latest)
-
Code
-
Classes
- BookingHelper
Total Complexity |
171 |
Dependencies |
4 |
Dependents |
8 |
Total lines |
949 |
Lines of code |
697 |
Logical lines of code |
373 |
Comment lines |
131 |
Methods |
32 |
Properties |
0 |
Methods 32
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
check_todays_availability() |
C |
34 |
29 |
84 |
update_order_status() |
B |
38 |
16 |
67 |
considerBase() |
B |
39 |
15 |
64 |
calculateDistance() |
A |
38 |
12 |
72 |
price_display() |
A |
48 |
10 |
34 |
check_car_previous_bookings() |
A |
46 |
9 |
38 |
date_format() |
A |
50 |
9 |
31 |
get_order_status_text() |
S |
52 |
7 |
25 |
get_order_car() |
S |
51 |
5 |
27 |
check_car_block_dates() |
S |
59 |
5 |
14 |
get_payment_details() |
S |
56 |
4 |
18 |
get_order_pickup_date() |
S |
59 |
4 |
15 |
config() |
S |
58 |
4 |
15 |
get_order_payment() |
S |
60 |
4 |
15 |
secondsToTime() |
S |
57 |
3 |
16 |
DateTimeHuman() |
S |
57 |
3 |
16 |
DateHuman() |
S |
61 |
3 |
12 |
TimeHuman() |
S |
63 |
3 |
10 |
distance_display() |
S |
63 |
3 |
10 |
isJSON() |
S |
77 |
3 |
3 |
round_price() |
S |
63 |
3 |
10 |
get_car_details() |
S |
61 |
2 |
13 |
get_order_by_order_number() |
S |
61 |
2 |
13 |
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_order_by_id() |
S |
64 |
1 |
10 |
getMaxSeatsData() |
S |
65 |
1 |
10 |
check_car_type() |
S |
81 |
1 |
3 |
clear_booking_data() |
S |
75 |
1 |
5 |