PPCP_Paypal_Checkout_For_Woocommerce_Gateway S

Total Complexity 49
Dependencies 4
Dependents 1
Total lines 303
Lines of code 257
Logical lines of code 156
Comment lines 7
Methods 17
Properties 18

Methods 17

Method Rating Maintainability Complexity Lines of code
process_payment()
A
44 9 47
get_properties()
S
49 4 32
ppcp_display_order_fee()
S
51 4 28
can_refund_order()
S
67 5 7
__construct()
S
54 3 19
generate_wpg_paypal_checkout_text_html()
S
57 3 18
admin_scripts()
S
61 4 10
generate_copy_text_html()
S
50 1 32
is_credentials_set()
S
69 3 7
process_refund()
S
61 2 11
init_form_fields()
S
69 2 7
get_transaction_url()
S
65 2 9
payment_fields()
S
69 2 7
get_icon()
S
72 2 4
process_admin_options()
S
66 1 9
admin_options()
S
77 1 4
setup_properties()
S
70 1 6