Code Analysis: PW WooCommerce BOGO 3.5

Most Complex Classes

Class Rating Complexity
PW_BOGO
B
94
PW_BOGO_Meta_Boxes
S
3

Most Complex Functions

Function Rating Complexity
PW_BOGO::get_discount()
A
13
PW_BOGO::maybe_apply_bogo_coupon()
A
9
PW_BOGO::woocommerce_coupon_message()
S
6
PW_BOGO::woocommerce_init()
S
5
PW_BOGO::is_bogo_coupon()
S
5
PW_BOGO::woocommerce_get_shop_coupon_data()
S
5
PW_BOGO::woocommerce_cart_totals_coupon_label()
S
5
PW_BOGO::register_post_types()
S
3
PW_BOGO::woocommerce_order_get_items()
S
5
PW_BOGO::woocommerce_cart_contents_total()
S
4
PW_BOGO::woocommerce_coupon_is_valid()
S
4
PW_BOGO::pre_get_posts()
S
4