Total Complexity | 42 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 431 |
Lines of code | 260 |
Logical lines of code | 97 |
Comment lines | 109 |
Methods | 14 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
delete_booking() | 53 | 7 | 23 | |
print_booking_status_select() | 54 | 6 | 22 | |
update_booking_status() | 56 | 6 | 19 | |
load_cpts() | 43 | 2 | 52 | |
set_booking_statuses() | 49 | 3 | 34 | |
add_cancelled_status() | 57 | 3 | 16 | |
add_payment_failed_status() | 52 | 2 | 26 | |
show_pending_count() | 58 | 2 | 18 | |
add_arrived_status() | 57 | 2 | 16 | |
is_valid_booking_post_object() | 77 | 3 | 3 | |
is_valid_booking_status() | 78 | 2 | 3 | |
maybe_update_pending_count() | 74 | 2 | 5 | |
update_pending_count() | 61 | 1 | 12 | |
__construct() | 62 | 1 | 11 |