PPCP_Paypal_Checkout_For_Woocommerce_Gateway D

Total Complexity 218
Dependencies 7
Dependents 1
Total lines 1,232
Lines of code 1,127
Logical lines of code 547
Comment lines 27
Methods 43
Properties 29

Methods 43

Method Rating Maintainability Complexity Lines of code
generate_wpg_paypal_checkout_onboarding_html()
B
41 16 57
process_payment()
A
42 15 51
display_paypal_admin_notice()
A
41 14 59
get_form_fields()
A
42 13 51
generate_foq_html_html()
A
31 3 199
get_properties()
A
41 10 56
wpg_sanitized_paypal_client_secret()
A
51 10 24
admin_scripts()
A
55 10 15
wpg_ppcp_get_onboarding_status()
A
50 8 29
wpg_get_signup_link()
A
55 8 18
wpg_get_signup_link_for_apple_pay()
A
55 8 18
wpg_get_signup_link_for_google_pay()
A
55 8 18
process_admin_options()
S
58 8 15
generate_apple_pay_onboard_html()
S
50 5 30
generate_google_pay_onboard_html()
S
50 5 30
wpg_is_end_point_enable()
S
61 6 12
generate_apple_pay_domain_register_html()
S
51 4 30
ppcp_display_order_fee()
S
51 4 28
wpg_validate_paypal_client_secret()
S
51 4 26
generate_text_html()
S
48 3 35
can_refund_order()
S
67 5 7
generate_wpg_ppcp_text_html()
S
52 3 28
generate_gpay_title_html()
S
53 3 28
generate_apple_title_html()
S
53 3 27
admin_options()
S
53 3 25
__construct()
S
52 3 23
reset_paypal_tokens_and_options()
S
57 3 20
output_tabs()
S
54 3 19
generate_wpg_paypal_checkout_text_html()
S
57 3 18
generate_paypal_button_preview_html()
S
60 3 16
generate_copy_text_html()
S
50 1 32
is_available()
S
71 3 6
payment_fields()
S
66 3 9
is_credentials_set()
S
69 3 7
process_refund()
S
61 2 11
init_form_fields()
S
69 2 7
process_subscription_payment()
S
65 2 9
get_transaction_url()
S
65 2 9
get_icon()
S
72 2 4
subscription_change_payment()
S
72 1 5
admin_option()
S
78 1 3
wpg_display_paypal_signup_button()
S
70 1 6
setup_properties()
S
68 1 7