WC_Braintree_Local_Payment_Gateway S

Total Complexity 32
Dependencies 2
Dependents 2
Total lines 234
Lines of code 142
Logical lines of code 57
Comment lines 61
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
process_payment()
S
53 5 25
is_local_payment_available()
S
60 4 12
get_gateway_supports_description()
S
59 3 15
enqueue_checkout_scripts()
S
62 2 13
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
set_order_lock()
S
73 2 4
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_braintree_documentation_url()
S
82 1 3