Code Analysis: Advance Coupons for Woocommerce 1.0.1

Most Complex Functions

Function Rating Complexity
SpringDevs\Coupons\Frontend\Validation::check_rules()
D
52
SpringDevs\Coupons\Frontend\Validation::woocommerce_coupon_is_valid()
B
20
SpringDevs\Coupons\Admin\Coupon::coupon_save_meta_post()
A
12
SpringDevs\Coupons\Frontend\Coupon::update_product_price()
A
13
SpringDevs\Coupons\Frontend\Checkout::save_checkout_data()
A
11
SpringDevs\Coupons\Admin\sdwac_Panels::coupon_tabs_screen()
A
8
Sdevs_coupon::is_request()
S
8
SpringDevs\Coupons\Frontend\Coupon::change_product_coupon_html()
S
8
SpringDevs\Coupons\Frontend\Auto::first_order()
S
7
SpringDevs\Coupons\Frontend\Url::apply_coupon_via_url()
S
7
SpringDevs\Coupons\Frontend\Coupon::get_bulk_discount()
S
6
SpringDevs\Coupons\Frontend::is_rest()
S
6