Code Analysis: Add coupon by link / URL coupons for Woocommerce 1.1.37

Most Complex Functions

Function Rating Complexity
PISOL\ACBLW\FRONT\EmailRestriction::validate()
B
22
PISOL\ACBLW\FRONT\UserRoles::validate()
A
14
PISOL\ACBLW\FRONT\UserRoles::validateExcludedRole()
A
14
pisol_class_form_acblw::check_field_type()
A
13
PISOL\ACBLW\ADMIN\StoreCredit::getTotalDiscountGiven()
A
12
PISOL\ACBLW\ADMIN\StoreCredit::getAmount()
A
12
PISOL\ACBLW\FRONT\UserRoles::userRole()
A
10
pisol_url_coupon_review::display_admin_notice()
A
9
PISOL\ACBLW\ADMIN\Reporting::view_related_orders()
A
10
PISOL\ACBLW\FRONT\PaymentMethod::validate()
A
10
pisol_class_form_acblw::__construct()
A
4
pisol_url_coupon_review::savePreference()
A
8