WC_Gateway_PPEC_Checkout_Handler D

Total Complexity 208
Dependencies 9
Dependents 1
Total lines 1,163
Lines of code 655
Logical lines of code 394
Comment lines 379
Methods 40
Properties 1

Methods 40

Method Rating Maintainability Complexity Lines of code
maybe_return_from_paypal()
B
40 17 58
create_billing_agreement()
A
49 13 27
copy_checkout_details_to_post()
A
46 11 35
maybe_disable_other_gateways()
A
56 12 17
get_mapped_billing_address()
A
51 11 24
paypal_billing_details()
A
46 10 37
needs_billing_agreement_creation()
A
53 10 22
handle_subscription_payment_change_success()
A
47 9 35
filter_default_address_fields()
A
53 9 20
handle_payment_response()
A
51 8 24
account_registration()
S
51 7 28
do_payment()
S
50 7 26
maybe_cancel_checkout_with_paypal()
S
57 7 17
maybe_add_shipping_information()
S
54 6 21
endpoint_page_titles()
S
66 7 7
get_mapped_shipping_address()
S
53 5 22
get_checkout_details()
S
56 5 18
filter_wc_checkout_params()
S
58 5 14
update_customer_addresses_from_paypal()
S
51 4 27
paypal_shipping_details()
S
56 4 17
handle_subscription_payment_change_failure()
S
58 4 15
has_active_session()
S
67 5 7
init()
S
62 4 10
session_has_expired()
S
73 4 4
is_started_from_checkout_page()
S
63 3 11
filter_billing_fields()
S
64 3 10
start_checkout()
S
59 2 14
checkout_init()
S
61 2 12
maybe_clear_session_data()
S
74 2 5
maybe_render_cancel_link()
S
66 2 9
start_checkout_from_order()
S
60 1 14
__construct()
S
61 1 12
start_checkout_from_cart()
S
62 1 12
after_checkout_validation()
S
79 1 3
setShippingAddress()
S
79 1 3
getSetExpressCheckoutParameters()
S
79 1 3
getCheckoutDetails()
S
75 1 4
is_success()
S
72 1 5
getDoExpressCheckoutParameters()
S
79 1 3
get_token_from_session()
S
79 1 3