PPCP_Paypal_Checkout_For_Woocommerce_Gateway B

Total Complexity 96
Dependencies 5
Dependents 1
Total lines 517
Lines of code 464
Logical lines of code 276
Comment lines 12
Methods 25
Properties 20

Methods 25

Method Rating Maintainability Complexity Lines of code
process_payment()
A
44 9 47
wpg_sanitized_paypal_client_secret()
A
51 10 24
get_form_fields()
A
50 8 28
admin_scripts()
A
57 9 13
display_paypal_admin_notice()
A
51 8 26
get_properties()
S
50 4 28
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
payment_fields()
S
69 2 7
init_form_fields()
S
69 2 7
setup_properties()
S
70 1 6
process_admin_options()
S
66 1 9
admin_option()
S
78 1 3