YWSBS_Subscription_Cart C

Total Complexity 114
Dependencies 4
Dependents 2
Total lines 743
Lines of code 365
Logical lines of code 225
Comment lines 245
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
change_general_price_html()
A
41 13 54
before_calculate_totals()
A
46 14 32
disable_gateways()
A
52 11 23
cart_item_validate()
A
51 9 26
change_prices_for_calculation()
S
55 7 20
cart_has_subscriptions()
S
57 7 16
remove_tax_shipping_cost_from_calculate_totals()
S
58 5 15
change_signup_fee_in_cart()
S
57 5 15
get_formatted_subscription_total_amount()
S
52 4 23
change_subtotal_price_in_cart_html()
S
59 4 13
change_price_in_cart_html()
S
59 4 13
set_subscription_meta_on_cart()
S
62 4 12
cart_needs_payment()
S
69 4 6
change_trial_in_cart()
S
59 3 14
cart_recurring_totals()
S
69 3 6
get_subscription_meta_on_cart()
S
61 2 13
__construct()
S
56 1 16
maybe_not_shippable()
S
71 2 6
sync_on_process_checkout()
S
67 2 7
get_price()
S
64 2 10
get_instance()
S
78 2 3
remove_change_prices_filter()
S
75 1 4
add_change_prices_filter()
S
74 1 4
remove_shipping_cost_from_calculate_totals()
S
72 1 5
cart_has_subscription_with_signup()
S
81 1 3
clear_shipping()
S
80 1 3
remove_subscription_from_cart()
S
79 1 3