Revenue_Campaign D

Total Complexity 333
Dependencies 11
Dependents 1
Total lines 2,619
Lines of code 1,404
Logical lines of code 883
Comment lines 802
Methods 89
Properties 14

Methods 89

Method Rating Maintainability Complexity Lines of code
run_campaigns()
D
23
35 174
run_cart_checkout_block_campaigns()
B
42 17 55
run_shortcode()
B
38 15 69
render_shortcode()
A
42 15 52
run_all_page_campaigns()
A
42 14 47
render_campaign_view_shortcode()
A
43 12 51
handle_free_shipping()
A
52 8 23
woocommerce_before_calculate_totals()
A
52 8 23
recalculate_fees()
S
54 7 22
custom_checkout_text_injection()
S
44 4 52
get_cart_contents_total()
S
53 6 21
custom_cart_text_injection()
S
45 4 50
checkout_common_position_callback()
S
58 6 14
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
run_global_campaigns()
S
57 5 17
review_order_before_shipping()
S
59 5 13
woocommerce_check_cart_items()
S
61 5 11
__construct()
S
46 3 39
after_cart_item_restored()
S
57 4 16
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
54 2 20
add_edit_campaign_link()
S
65 3 9
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
revenue_block_handler()
S
58 1 16
revenue_cart_block_handler()
S
58 1 16
inject_content_checkout_block()
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