Revenue_Campaign D

Total Complexity 304
Dependencies 10
Dependents 1
Total lines 2,334
Lines of code 1,221
Logical lines of code 818
Comment lines 731
Methods 83
Properties 12

Methods 83

Method Rating Maintainability Complexity Lines of code
run_campaigns()
D
24
34 169
run_cart_checkout_block_campaigns()
B
42 17 55
run_shortcode()
B
38 15 69
run_all_page_campaigns()
A
43 13 43
render_campaign_view_shortcode()
A
43 12 51
render_shortcode()
A
45 10 47
handle_free_shipping()
A
52 8 23
woocommerce_before_calculate_totals()
A
52 8 23
recalculate_fees()
S
54 7 22
get_cart_contents_total()
S
53 6 21
before_thankyou()
S
53 5 23
woocommerce_checkout_create_order()
S
53 5 23
before_cart()
S
54 5 22
before_checkout_form()
S
54 5 22
after_remove_cart_item()
S
55 5 20
review_order_before_shipping()
S
59 5 13
woocommerce_check_cart_items()
S
61 5 11
after_cart_item_restored()
S
57 4 16
run_global_campaigns()
S
58 4 15
woocommerce_cart_calculate_fees()
S
61 4 12
cart_fragment()
S
57 3 18
is_campaign_valid()
S
66 4 7
before_checkout_billing_form()
S
63 4 9
review_order_before_submit()
S
63 4 9
after_checkout_billing_form()
S
63 4 9
checkout_after_order_review()
S
63 4 9
checkout_before_order_review()
S
63 4 9
review_order_before_order_total()
S
63 4 9
review_order_after_order_total()
S
63 4 9
review_order_before_payment()
S
63 4 9
review_order_after_payment()
S
63 4 9
after_checkout_form()
S
63 4 9
localize_script()
S
56 2 18
__construct()
S
49 1 31
after_add_to_cart()
S
64 3 10
woocommerce_after_add_to_cart()
S
64 3 9
rvex_add_text_after_cart_item_price()
S
59 2 14
before_cart_contents()
S
60 2 12
add_edit_campaign_link()
S
67 2 8
cart_item_name()
S
64 2 9
before_cart_table()
S
64 2 9
after_cart_table()
S
64 2 9
after_cart()
S
64 2 9
before_cart_totals()
S
64 2 9
after_cart_totals()
S
64 2 9
proceed_to_checkout()
S
64 2 9
thankyou()
S
63 2 10
set_product_price()
S
71 2 6
woocommerce_cart_item_remove_link()
S
64 2 9
woocommerce_cart_item_quantity()
S
64 2 9
woocommerce_cart_item_class()
S
66 2 8
woocommerce_cart_item_subtotal()
S
66 2 8
woocommerce_cart_item_name()
S
66 2 8
woocommerce_store_api_product_quantity_minimum()
S
66 2 8
woocommerce_store_api_product_quantity_maximum()
S
66 2 8
woocommerce_cart_item_price()
S
66 2 8
woocommerce_get_item_data()
S
66 2 8
woocommerce_checkout_create_order_line_item()
S
64 2 9
woocommerce_after_cart_item_quantity_update()
S
66 2 8
yith_subscription_recurring_price()
S
71 2 6
force_recalculate_shipping()
S
82 1 3
run_hellobar_campaings()
S
72 1 5
before_add_to_cart_button()
S
70 1 6
after_add_to_cart_button()
S
70 1 6
after_add_to_cart_quantity()
S
70 1 6
before_add_to_cart_quantity()
S
70 1 6
rvex_below_the_product_title()
S
70 1 6
rvex_below_the_product_price()
S
70 1 6
before_add_to_cart_form()
S
70 1 6
after_add_to_cart_form()
S
70 1 6
after_shop_loop_item_title()
S
70 1 6
shop_loop_item_title()
S
70 1 6
before_single_product_summary()
S
70 1 6
after_single_product_summary()
S
70 1 6
after_single_product()
S
64 1 10
before_single_product()
S
70 1 6
after_cart_item_name()
S
67 1 7
handle_animated_add_to_cart()
S
72 1 5
after_cart_emptied()
S
80 1 3
add_price_filter()
S
74 1 4
remove_price_filter()
S
74 1 4
woocommerce_hidden_order_itemmeta()
S
71 1 6
subscriptions_plugin_integrations()
S
78 1 3