YWSBS_Subscription_Cart C

Total Complexity 115
Dependencies 3
Dependents 7
Total lines 774
Lines of code 389
Logical lines of code 234
Comment lines 260
Methods 29
Properties 3

Methods 29

Method Rating Maintainability Complexity Lines of code
change_general_price_html()
A
40 14 54
before_calculate_totals()
A
46 14 32
cart_item_validate()
A
51 9 26
change_prices_for_calculation()
S
55 7 20
disable_gateways()
S
57 7 16
cart_has_subscriptions()
S
57 7 16
change_signup_fee_in_cart()
S
57 5 15
remove_tax_shipping_cost_from_calculate_totals()
S
58 5 15
get_formatted_subscription_total_amount()
S
52 4 23
change_price_in_cart_html()
S
59 4 13
change_subtotal_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
woocommerce_get_item_data()
S
58 2 17
cart_recurring_totals()
S
69 3 6
apply_filters_to_cart_and_checkout_blocks()
S
67 3 8
get_subscription_meta_on_cart()
S
61 2 13
__construct()
S
55 1 18
maybe_not_shippable()
S
71 2 6
get_price()
S
64 2 10
sync_on_process_checkout()
S
67 2 7
clear_shipping()
S
80 1 3
cart_has_subscription_with_signup()
S
81 1 3
remove_change_prices_filter()
S
75 1 4
add_change_prices_filter()
S
74 1 4
remove_subscription_from_cart()
S
79 1 3
remove_shipping_cost_from_calculate_totals()
S
72 1 5
add_resume_subscription_totals_on_cart_block()
S
69 1 7