PPCP_Paypal_Checkout_For_Woocommerce_Gateway D

Total Complexity 160
Dependencies 7
Dependents 1
Total lines 938
Lines of code 860
Logical lines of code 401
Comment lines 13
Methods 34
Properties 29

Methods 34

Method Rating Maintainability Complexity Lines of code
generate_wpg_paypal_checkout_onboarding_html()
B
41 16 57
display_paypal_admin_notice()
B
40 15 61
generate_foq_html_html()
A
37 3 169
process_payment()
A
44 9 47
get_properties()
A
41 8 56
wpg_sanitized_paypal_client_secret()
A
51 10 24
get_form_fields()
A
48 9 31
admin_scripts()
A
55 9 15
wpg_get_signup_link()
A
55 8 18
wpg_ppcp_get_onboarding_status()
S
54 7 20
wpg_is_end_point_enable()
S
61 6 12
output_tabs()
S
51 5 24
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
admin_options()
S
54 3 24
__construct()
S
52 3 22
generate_wpg_paypal_checkout_text_html()
S
57 3 18
generate_paypal_button_preview_html()
S
60 3 16
process_admin_options()
S
60 3 13
generate_copy_text_html()
S
50 1 32
is_credentials_set()
S
69 3 7
payment_fields()
S
66 3 9
process_refund()
S
61 2 11
get_icon()
S
72 2 4
get_transaction_url()
S
65 2 9
init_form_fields()
S
69 2 7
process_subscription_payment()
S
65 2 9
setup_properties()
S
68 1 7
admin_option()
S
78 1 3
wpg_display_paypal_signup_button()
S
70 1 6
subscription_change_payment()
S
72 1 5