-
Home
-
WP Hotel Booking
-
2.2.3
-
Code
-
Classes
- WPHB_Cart
| Total Complexity |
128 |
| Dependencies |
7 |
| Dependents |
7 |
| Total lines |
771 |
| Lines of code |
466 |
| Logical lines of code |
280 |
| Comment lines |
161 |
| Methods |
31 |
| Properties |
13 |
Methods 31
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| __get() |
A |
49 |
10 |
35 |
| get_advance_payment() |
A |
47 |
10 |
34 |
| hotel_booking_cart_update() |
A |
49 |
10 |
31 |
| remove_cart_item() |
A |
47 |
8 |
39 |
| generate_transaction() |
A |
39 |
6 |
65 |
| get_cart_contents() |
A |
50 |
8 |
25 |
| update_cart_item() |
S |
55 |
7 |
19 |
| load_customer() |
S |
58 |
6 |
16 |
| add_to_cart() |
S |
52 |
5 |
25 |
| get_cart_item_by_parent() |
S |
61 |
5 |
12 |
| get_extra_packages() |
S |
63 |
5 |
11 |
| cart_total_exclude_tax() |
S |
61 |
5 |
11 |
| get_products() |
S |
61 |
4 |
13 |
| get_rooms() |
S |
62 |
4 |
12 |
| load_booking() |
S |
67 |
4 |
8 |
| get_cart_item_param() |
S |
59 |
3 |
15 |
| empty_cart() |
S |
62 |
3 |
12 |
| get_cart_item() |
S |
67 |
3 |
9 |
| set_customer() |
S |
65 |
3 |
10 |
| set_booking() |
S |
69 |
3 |
7 |
| cart_total_include_tax() |
S |
65 |
3 |
9 |
| is_empty() |
S |
78 |
2 |
3 |
| hb_get_cart_total() |
S |
68 |
2 |
8 |
| instance() |
S |
70 |
2 |
6 |
| __construct() |
S |
67 |
1 |
7 |
| wp_loaded() |
S |
82 |
1 |
3 |
| generate_cart_id() |
S |
77 |
1 |
4 |
| refresh() |
S |
68 |
1 |
8 |
| get_sub_total() |
S |
80 |
1 |
3 |
| get_total() |
S |
78 |
1 |
3 |
| needs_payment() |
S |
78 |
1 |
3 |