WPPIZZA_SESSIONS D

Total Complexity 266
Dependencies 0
Dependents 1
Total lines 1,801
Lines of code 778
Logical lines of code 570
Comment lines 857
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
sort_and_calculate_cart()
D
0
142 424
add_item_to_cart()
C
31 24 97
maybe_init_sessions()
C
39 24 62
set_userdata()
B
46 18 37
modify_items_in_cart()
A
51 10 23
get_selected_gateway()
S
59 7 12
is_pickup()
S
65 7 7
empty_cart()
S
62 3 11
clear_session()
S
68 3 8
unset_userdata()
S
66 3 9
add_userdata_key()
S
69 2 6
remove_userdata_key()
S
70 2 6
set_order_id()
S
68 2 7
set_order_hash()
S
68 2 7
remove_item_from_cart()
S
66 2 8
set_session_idents()
S
65 2 9
cart_is_empty()
S
74 2 4
cart_has_items()
S
74 2 4
get_order_hash()
S
68 2 7
__construct()
S
75 1 4
get_userdata()
S
77 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