WC_Braintree_GooglePay_Payment_Gateway S

Total Complexity 48
Dependencies 1
Dependents 0
Total lines 413
Lines of code 293
Logical lines of code 114
Comment lines 72
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
get_default_shipping_method()
S
51 7 28
get_shipping_method_label()
S
58 6 15
get_localized_standard_params()
S
55 4 20
payment_methods_list_item()
S
59 3 12
update_shipping_response()
S
54 2 21
get_display_item_for_order()
S
59 2 16
get_display_item_for_cart()
S
59 2 15
enqueue_product_scripts()
S
57 1 19
has_enqueued_scripts()
S
71 2 6
get_mini_cart_dependencies()
S
69 2 7
get_shipping_options()
S
64 2 10
enqueue_checkout_scripts()
S
61 1 14
enqueue_cart_scripts()
S
61 1 14
enqueue_admin_scripts()
S
62 1 13
__construct()
S
61 1 11
add_recurring_display_items()
S
91 1 2
get_payment_method_from_transaction()
S
82 1 3
add_hooks()
S
71 1 5
get_formatted_shipping_method()
S
68 1 7
add_to_cart_response()
S
69 1 7
update_shipping_error()
S
65 1 10
localize_googlepay_params()
S
81 1 3
get_display_item_for_product()
S
67 1 8
set_supports()
S
69 1 7
get_display_items_for_subscription()
S
64 1 10
get_product_admin_options()
S
64 1 10