PPCP_Paypal_Checkout_For_Woocommerce_Gateway A

Total Complexity 53
Dependencies 4
Dependents 2
Total lines 309
Lines of code 270
Logical lines of code 156
Comment lines 7
Methods 18
Properties 14

Methods 18

Method Rating Maintainability Complexity Lines of code
process_payment()
A
44 9 47
get_properties()
A
48 7 33
process_admin_options()
S
53 4 25
can_refund_order()
S
67 5 7
generate_wpg_paypal_checkout_text_html()
S
57 3 18
admin_scripts()
S
61 4 10
ppcp_display_order_fee()
S
56 2 20
generate_copy_text_html()
S
50 1 32
is_credentials_set()
S
69 3 7
__construct()
S
58 2 15
process_refund()
S
61 2 11
init_form_fields()
S
69 2 7
get_transaction_url()
S
65 2 9
get_icon()
S
72 2 4
payment_fields()
S
69 2 7
admin_options()
S
77 1 4
setup_properties()
S
67 1 7
is_valid_for_use()
S
65 1 7