WC_Braintree_Subscriptions_Checkout S

Total Complexity 34
Dependencies 2
Dependents 0
Total lines 238
Lines of code 150
Logical lines of code 81
Comment lines 52
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
process_checkout()
S
53 6 22
create_subscription()
S
43 4 46
order_pay()
S
53 4 23
order_needs_payment()
S
67 3 8
filter_gateways_that_support_subscriptions()
S
66 3 8
after_order_total()
S
73 2 5
get_chosen_shipping_methods()
S
73 2 4
get_shipping_packages()
S
73 2 4
form_pay_template()
S
69 2 6
add_checkout_filters()
S
73 2 5
require_account_creation()
S
71 2 6
init()
S
62 1 10
pay_order_action()
S
79 1 3