WC_Payments_Payment_Request_Session S

Total Complexity 18
Dependencies 4
Dependents 1
Total lines 190
Lines of code 78
Logical lines of code 38
Comment lines 87
Methods 9
Properties 2

Methods 9

Method Rating Maintainability Complexity Lines of code
add_payment_request_store_api_session_handler()
S
52 6 24
init()
S
60 2 15
restore_old_cart_data()
S
66 2 9
is_custom_session_order_received_page()
S
76 2 3
maybe_clear_cart_data()
S
69 2 7
save_old_cart_data_for_restore()
S
80 1 3
store_api_order_received_return_url()
S
79 1 3
get_session_token()
S
63 1 10
store_api_headers()
S
76 1 4