PPCP_Paypal_Checkout_For_Woocommerce_Gateway D

Total Complexity 131
Dependencies 7
Dependents 1
Total lines 655
Lines of code 592
Logical lines of code 345
Comment lines 13
Methods 28
Properties 24

Methods 28

Method Rating Maintainability Complexity Lines of code
display_paypal_admin_notice()
B
40 15 61
generate_wpg_paypal_checkout_onboarding_html()
A
42 15 54
process_payment()
A
44 9 47
wpg_sanitized_paypal_client_secret()
A
51 10 24
get_properties()
A
46 8 38
admin_scripts()
A
55 9 15
get_form_fields()
A
50 8 28
wpg_get_signup_link()
A
54 8 20
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 23
__construct()
S
53 3 21
generate_wpg_paypal_checkout_text_html()
S
57 3 18
output_tabs()
S
55 3 17
generate_copy_text_html()
S
50 1 32
is_credentials_set()
S
69 3 7
process_refund()
S
61 2 11
get_transaction_url()
S
65 2 9
get_icon()
S
72 2 4
init_form_fields()
S
69 2 7
payment_fields()
S
69 2 7
admin_option()
S
78 1 3
setup_properties()
S
68 1 7
process_admin_options()
S
66 1 9
wpg_display_paypal_signup_button()
S
70 1 6