WC_Braintree_Subscriptions_Cart A

Total Complexity 66
Dependencies 0
Dependents 0
Total lines 414
Lines of code 239
Logical lines of code 155
Comment lines 121
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
add_subscription_data()
A
41 9 54
get_discount_amount()
S
53 7 24
subscription_needs_shipping()
S
57 7 20
clear_discounts()
S
55 7 20
add_to_cart_validation()
S
54 6 21
calculate_cart_fees()
S
59 5 13
get_product_price()
S
62 5 13
save_shipping_data()
S
60 3 14
set_subscription_calculations()
S
61 3 11
add_to_cart_handler()
S
71 3 6
cart_product_price()
S
70 2 6
cart_needs_payment()
S
72 2 6
cart_product_subtotal()
S
71 2 6
cart_totals_after_order_total()
S
73 2 5
get_recurring_cart_key()
S
80 1 3
remove_subscription_calculations()
S
66 1 8
__construct()
S
63 1 9