Total Complexity | 135 |
Dependencies | 9 |
Dependents | 0 |
Total lines | 912 |
Lines of code | 721 |
Logical lines of code | 319 |
Comment lines | 64 |
Methods | 24 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
admin_add_order_item() | 35 | 23 | 80 | |
ajax_add_to_cart() | 34 | 22 | 85 | |
check_room_available() | 43 | 10 | 51 | |
add_extra_to_cart() | 45 | 8 | 45 | |
load_order_item() | 45 | 5 | 42 | |
ajax_remove_item_cart() | 51 | 6 | 26 | |
admin_remove_order_items() | 52 | 6 | 23 | |
create_pages() | 48 | 5 | 32 | |
apply_coupon() | 50 | 5 | 28 | |
add_coupon_to_order() | 51 | 5 | 26 | |
__construct() | 48 | 4 | 37 | |
admin_remove_order_item() | 54 | 5 | 21 | |
load_room_ajax() | 53 | 4 | 23 | |
remove_coupon_on_order() | 53 | 4 | 23 | |
load_order_user() | 56 | 4 | 18 | |
load_coupon_ajax() | 50 | 3 | 30 | |
load_other_full_calendar() | 50 | 3 | 30 | |
fetch_customer_info() | 54 | 3 | 22 | |
load_room_type_galley() | 59 | 3 | 15 | |
dismiss_notice() | 63 | 2 | 12 | |
parse_search_params() | 55 | 1 | 21 | |
parse_booking_params() | 57 | 1 | 18 | |
remove_coupon() | 64 | 2 | 10 | |
place_order() | 82 | 1 | 3 |