Code Analysis: Advance Coupons for Woocommerce 1.0.1

Function Rating Maintainability Complexity Lines of code
SpringDevs\Coupons\Frontend\Validation::check_rules()
D
29
52 119
SpringDevs\Coupons\Frontend\Validation::woocommerce_coupon_is_valid()
B
46 20 34
SpringDevs\Coupons\Admin\Coupon::coupon_save_meta_post()
A
42 12 49
SpringDevs\Coupons\Frontend\Coupon::update_product_price()
A
49 13 27
SpringDevs\Coupons\Frontend\Checkout::save_checkout_data()
A
42 11 55
SpringDevs\Coupons\Admin\sdwac_Panels::coupon_tabs_screen()
A
45 8 42
Sdevs_coupon::is_request()
S
59 8 14
SpringDevs\Coupons\Frontend\Coupon::change_product_coupon_html()
S
57 8 13
SpringDevs\Coupons\Frontend\Auto::first_order()
S
51 7 26
SpringDevs\Coupons\Frontend\Url::apply_coupon_via_url()
S
54 7 21
SpringDevs\Coupons\Frontend\Coupon::get_bulk_discount()
S
55 6 19
SpringDevs\Coupons\Frontend::is_rest()
S
58 6 14
SpringDevs\Coupons\Frontend\Auto::auto_coupon()
S
54 5 19
SpringDevs\Coupons\Ajax::sdwac_coupon_save_filters()
S
56 5 17
SpringDevs\Coupons\Installer::requirements()
S
61 5 14
SpringDevs\Coupons\Ajax::sdwac_coupon_product_search()
S
53 4 23
SpringDevs\Coupons\Admin\Setting::get_settings()
S
43 2 53
SpringDevs\Coupons\Frontend\Coupon::change_product_price()
S
65 5 8
SpringDevs\Coupons\Ajax::sdwac_coupon_get_rules()
S
63 5 9
SpringDevs\Coupons\Assets::register_scripts()
S
64 5 8
SpringDevs\Coupons\Admin\Order::change_order_discount()
S
59 4 13
Sdevs_coupon::includes()
S
63 4 11
SpringDevs\Coupons\Ajax::sdwac_coupon_get_discounts()
S
64 4 9
SpringDevs\Coupons\Ajax::sdwac_coupon_get_filters()
S
56 2 18
SpringDevs\Coupons\Ajax::sdwac_coupon_get_main()
S
57 2 16
SpringDevs\Coupons\Assets::register_styles()
S
68 3 6
SpringDevs\Coupons\Frontend\Auto::filter_coupon()
S
64 3 10
SpringDevs\Coupons\Frontend\Validation::get_coupon_filter_cart_item_count()
S
67 3 7
SpringDevs\Coupons\Ajax::coupon_get_woocoupons()
S
59 2 15
SpringDevs\Coupons\Frontend\Coupon::update_price_html()
S
71 3 5
SpringDevs\Coupons\Frontend\Coupon::custom_discount_for_bulk_coupon()
S
65 3 9
SpringDevs\Coupons\Frontend\Coupon::change_cart_table_price_display()
S
63 3 10
SpringDevs\Coupons\Frontend\Validation::check_multi()
S
69 3 6
SpringDevs\Coupons\Frontend\Validation::get_coupon_filter_cart_subtotal()
S
67 3 7
SpringDevs\Coupons\Admin\sdwac_Panels::save_coupon_data()
S
64 3 9
SpringDevs\Coupons\Admin\Coupon::enqueue_assets()
S
57 1 20
SpringDevs\Coupons\Admin\MetaBoxes::coupon_metaboxes()
S
59 1 18
SpringDevs\Coupons\Frontend::__construct()
S
65 2 10
Sdevs_coupon::__get()
S
71 2 6
Sdevs_coupon::init_classes()
S
69 2 6
SpringDevs\Coupons\Assets::get_scripts()
S
60 1 15
SpringDevs\Coupons\Ajax::sdwac_coupon_get_sdwac_coupon_panel()
S
68 2 7
SpringDevs\Coupons\Frontend\Url::set_coupon_url()
S
68 2 7
Sdevs_coupon::init()
S
69 2 7
Sdevs_coupon::__isset()
S
78 2 3
SpringDevs\Coupons\Admin\Coupon::add_html_for_vue()
S
71 2 6
SpringDevs\Coupons\Installer::create_tables()
S
73 2 5
Sdevs_coupon::init_plugin()
S
65 2 10
SpringDevs\Coupons\Assets::__construct()
S
68 2 7
SpringDevs\Coupons\Frontend\Auto::__construct()
S
71 2 6
SpringDevs\Coupons\Admin\sdwac_Panels::__construct()
S
71 1 5
SpringDevs\Coupons\Api::__construct()
S
79 1 3
Sdevs_coupon::localization_setup()
S
77 1 3
SpringDevs\Coupons\Ajax::__construct()
S
63 1 10
Sdevs_coupon::__construct()
S
70 1 6
sdevs_coupon()
S
82 1 3
SpringDevs\Coupons\Illuminate\Coupon::__construct()
S
78 1 3
SpringDevs\Coupons\Installer::run()
S
78 1 4
SpringDevs\Coupons\Frontend\Validation::check()
S
72 1 5
Sdevs_coupon::init_hooks()
S
75 1 4
SpringDevs\Coupons\Admin\Setting::register_tabs()
S
75 1 4
SpringDevs\Coupons\Admin\Setting::settings_content()
S
81 1 3
SpringDevs\Coupons\Admin::__construct()
S
67 1 9
SpringDevs\Coupons\Admin\Setting::__construct()
S
71 1 5
SpringDevs\Coupons\Frontend\Validation::__construct()
S
78 1 3
SpringDevs\Coupons\Assets::register()
S
77 1 4
Sdevs_coupon::define_constants()
S
73 1 8
SpringDevs\Coupons\Illuminate\Coupon::custom_coupon_discount_types()
S
69 1 6
SpringDevs\Coupons\Admin\MetaBoxes::coupon_discount_screen()
S
83 1 5
Sdevs_coupon::activate()
S
75 1 4
SpringDevs\Coupons\Frontend\Url::apply_coupon()
S
82 1 3
SpringDevs\Coupons\Admin\MetaBoxes::coupon_rules_screen()
S
83 1 5
SpringDevs\Coupons\Frontend\Checkout::__construct()
S
79 1 3
SpringDevs\Coupons\Admin\sdwac_Panels::coupon_data_tabs()
S
67 1 8
SpringDevs\Coupons\Frontend\Url::__construct()
S
72 1 5
SpringDevs\Coupons\Frontend\Coupon::__construct()
S
65 1 8
SpringDevs\Coupons\Admin\Coupon::__construct()
S
72 1 5
SpringDevs\Coupons\Admin\Setting::update_settings()
S
81 1 3
SpringDevs\Coupons\Admin\MetaBoxes::__construct()
S
79 1 3
SpringDevs\Coupons\Admin::dispatch_actions()
S
91 1 2
SpringDevs\Coupons\Api::register_api()
S
91 1 2
Sdevs_coupon::deactivate()
S
91 1 2
SpringDevs\Coupons\Assets::get_styles()
S
66 1 9
SpringDevs\Coupons\Frontend\Auto::auto_coupon_on_cart()
S
72 1 6
SpringDevs\Coupons\Admin\Order::__construct()
S
78 1 3