-
Home
-
WPPizza – A Restaurant Plugin
-
3.18.11
-
Code
-
Classes
- WPPIZZA_SESSIONS
Total Complexity |
321 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
2,142 |
Lines of code |
929 |
Logical lines of code |
682 |
Comment lines |
999 |
Methods |
28 |
Properties |
3 |
Methods 28
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sort_and_calculate_cart() |
D |
0 |
168 |
498 |
add_item_to_cart() |
C |
31 |
27 |
100 |
prevent_session() |
B |
38 |
23 |
63 |
set_userdata() |
B |
45 |
20 |
37 |
maybe_init_sessions() |
A |
44 |
15 |
47 |
modify_items_in_cart() |
A |
45 |
12 |
37 |
get_selected_gateway() |
S |
58 |
8 |
13 |
is_pickup() |
S |
65 |
7 |
7 |
assign_userdata() |
S |
61 |
6 |
11 |
empty_cart() |
S |
62 |
3 |
11 |
unset_userdata() |
S |
66 |
3 |
9 |
clear_session() |
S |
68 |
3 |
8 |
get_order_hash() |
S |
68 |
2 |
7 |
remove_item_from_cart() |
S |
66 |
2 |
8 |
set_order_id() |
S |
68 |
2 |
7 |
add_userdata_key() |
S |
69 |
2 |
6 |
remove_userdata_key() |
S |
70 |
2 |
6 |
cart_is_empty() |
S |
74 |
2 |
4 |
cart_has_items() |
S |
74 |
2 |
4 |
get_userdata() |
S |
75 |
2 |
4 |
set_session_idents() |
S |
65 |
2 |
9 |
set_order_hash() |
S |
68 |
2 |
7 |
__construct() |
S |
75 |
1 |
4 |
get_cart_summary() |
S |
75 |
1 |
4 |
get_checkout_parameters() |
S |
75 |
1 |
4 |
get_cart_items() |
S |
72 |
1 |
5 |
get_cart() |
S |
75 |
1 |
4 |
set_pickup() |
S |
72 |
1 |
5 |