-
Home
-
WP Hotel Booking
-
2.1.0
-
Code
-
Classes
- WPHB_Ajax
Total Complexity |
140 |
Dependencies |
9 |
Dependents |
0 |
Total lines |
921 |
Lines of code |
730 |
Logical lines of code |
323 |
Comment lines |
64 |
Methods |
24 |
Properties |
1 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
admin_add_order_item() |
C |
35 |
23 |
80 |
ajax_add_to_cart() |
B |
34 |
22 |
85 |
check_room_available() |
A |
43 |
10 |
51 |
add_extra_to_cart() |
A |
45 |
8 |
45 |
apply_coupon() |
S |
49 |
6 |
29 |
load_order_item() |
S |
45 |
5 |
42 |
ajax_remove_item_cart() |
S |
51 |
6 |
26 |
admin_remove_order_items() |
S |
52 |
6 |
23 |
create_pages() |
S |
48 |
5 |
32 |
add_coupon_to_order() |
S |
51 |
5 |
26 |
fetch_customer_info() |
S |
51 |
5 |
26 |
__construct() |
S |
48 |
4 |
37 |
admin_remove_order_item() |
S |
54 |
5 |
21 |
load_room_ajax() |
S |
53 |
4 |
23 |
remove_coupon_on_order() |
S |
53 |
4 |
23 |
load_order_user() |
S |
56 |
4 |
18 |
dismiss_notice() |
S |
58 |
4 |
16 |
load_coupon_ajax() |
S |
50 |
3 |
30 |
load_other_full_calendar() |
S |
50 |
3 |
30 |
load_room_type_galley() |
S |
59 |
3 |
15 |
parse_search_params() |
S |
55 |
1 |
21 |
parse_booking_params() |
S |
57 |
1 |
18 |
remove_coupon() |
S |
64 |
2 |
10 |
place_order() |
S |
82 |
1 |
3 |