WC_Braintree_PayPal_Payment_Gateway C

Total Complexity 105
Dependencies 9
Dependents 0
Total lines 716
Lines of code 465
Logical lines of code 175
Comment lines 166
Methods 34
Properties 4

Methods 34

Method Rating Maintainability Complexity Lines of code
get_paypal_flow()
C
41 33 43
update_shipping_response()
A
39 9 73
get_paypal_script_query_args()
A
52 8 24
register_paypal_script()
S
54 5 20
get_localized_standard_params()
S
44 3 46
add_order_line_items()
S
57 5 16
get_product_admin_options()
S
47 2 36
enqueue_product_scripts()
S
49 2 33
can_show_bnpl_msg()
S
64 4 9
after_checkout_validation_notice()
S
61 3 13
add_partner_attribution_id()
S
69 2 6
is_paypal_credit_active()
S
77 2 3
get_mini_cart_dependencies()
S
67 2 8
payment_methods_list_item()
S
63 2 10
init_product_gateway_settings()
S
69 2 7
has_enqueued_scripts()
S
71 2 6
update_order_review_fragments()
S
66 2 9
enqueue_cart_scripts()
S
61 1 14
__construct()
S
60 1 13
get_formatted_shipping_method()
S
62 1 12
update_shipping_method_response()
S
74 1 4
get_user_locale()
S
81 1 3
add_hooks()
S
65 1 8
get_payment_method_from_transaction()
S
82 1 3
remove_session_checkout_vars()
S
79 1 3
is_bnpl_active()
S
80 1 3
get_button_options()
S
65 1 9
get_pay_later_sections()
S
80 1 3
get_credit_sections()
S
80 1 3
localize_paypal_params()
S
81 1 3
enqueue_checkout_scripts()
S
76 1 4
set_supports()
S
69 1 7
enqueue_admin_scripts()
S
66 1 8
get_supported_locales()
S
80 1 3