WC_Braintree_Local_Payment_Gateway S

Total Complexity 36
Dependencies 2
Dependents 2
Total lines 254
Lines of code 156
Logical lines of code 66
Comment lines 64
Methods 19
Properties 4

Methods 19

Method Rating Maintainability Complexity Lines of code
is_local_payment_available()
S
52 7 23
process_payment()
S
53 5 25
get_gateway_supports_description()
S
59 3 15
enqueue_checkout_scripts()
S
62 2 13
set_order_lock()
S
73 2 4
has_enqueued_scripts()
S
71 2 6
localize_script_params()
S
59 1 15
has_order_lock()
S
74 2 4
remove_order_lock()
S
78 2 3
get_braintree_documentation_url()
S
82 1 3
add_order_line_items()
S
82 1 3
__construct()
S
64 1 9
get_order_created_url()
S
64 1 10
add_hooks()
S
69 1 6
get_payment_method_from_transaction()
S
82 1 3
output_settings_nav()
S
73 1 5
init_form_fields()
S
77 1 3
set_supports()
S
79 1 3
get_default_available_countries()
S
82 1 3