PPCP_Paypal_Checkout_For_Woocommerce_Gateway A

Total Complexity 58
Dependencies 4
Dependents 1
Total lines 350
Lines of code 311
Logical lines of code 173
Comment lines 7
Methods 19
Properties 14

Methods 19

Method Rating Maintainability Complexity Lines of code
process_payment()
A
44 9 47
get_properties()
A
48 7 33
form()
S
47 4 37
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
payment_fields()
S
64 3 11
ppcp_display_order_fee()
S
56 2 20
generate_copy_text_html()
S
50 1 32
__construct()
S
57 2 16
is_credentials_set()
S
69 3 7
process_refund()
S
61 2 11
get_transaction_url()
S
65 2 9
init_form_fields()
S
69 2 7
get_icon()
S
72 2 4
setup_properties()
S
70 1 6
is_valid_for_use()
S
65 1 7
admin_options()
S
77 1 4