Advanced Shipping Validation for WooCommerce 1.1.5

Does "Advanced Shipping Validation for WooCommerce" work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 60 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 900+
WordPress.org page https://wordpress.org/plugins/advanced-shipping-validation-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=advanced-shipping-validation-for-woocommerce%2Fadvanced-shipping-validation-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=206ae6c8af
Aspect after-activation
HTTP status 200
Load time 0.274 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.221 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.340 s0.289 s-0.051 s3.51 MiB3.57 MiB+ 68.14 KiB
/wp-admin/edit.php0.206 s0.198 s-0.008 s3.57 MiB3.66 MiB+ 88.92 KiB
/wp-admin/post-new.php0.791 s0.648 s-0.143 s6.06 MiB6.12 MiB+ 60.39 KiB
/wp-admin/upload.php0.563 s0.340 s-0.223 s3.52 MiB3.58 MiB+ 51.47 KiB
/wp-admin/options-writing.php0.200 s0.196 s-0.004 s3.5 MiB3.56 MiB+ 55.46 KiB
/wp-admin/media-new.php0.262 s0.445 s+0.183 s3.49 MiB3.56 MiB+ 63.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.273 s0.194 s-0.079 s3.51 MiB3.58 MiB+ 74.33 KiB
/wp-admin/post-new.php?post_type=page0.626 s0.636 s+0.010 s6.05 MiB6.11 MiB+ 55.91 KiB
/wp-admin/options-discussion.php0.319 s0.265 s-0.054 s3.5 MiB3.55 MiB+ 51.96 KiB
/wp-admin/edit-comments.php0.201 s0.201 s+0.000 s3.52 MiB3.57 MiB+ 51.46 KiB
/0.309 s0.199 s-0.110 s3.43 MiB3.47 MiB+ 38.27 KiB
Average 0.372 s0.328 s-0.044 s3.97 MiB4.03 MiB+ 60 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Sass
Language % Lines of code Comment lines Files
PHP83.3%2,68574159
Sass8.6%27772
JavaScript6.1%197424
YAML1.2%3901
JSON0.7%2301
CSS0.0%101
Total 3,222 790 68

PHP Code Analysis | More results »

Lines of code 2,509
Total complexity 512
Median class complexity 6.0
Median method complexity 1.0
Most complex class WCASV_Match_Conditions
Most complex function wpc_html_field()
Classes 51
Methods 225
Functions 16

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Custom Post Types 1

ID Name
shipping_validationShipping validation rules

Meta Boxes

{
    "shipping_validation": {
        "wcasv_conditions": {
            "title": "Shipping validation conditions",
            "context": "normal"
        },
        "wcasv_settings": {
            "title": "Validation settings",
            "context": "normal"
        }
    }
}

PHP Error Log 1 lines

[18-Jul-2025 14:03:49 UTC] PHP Deprecated:  Optional parameter $condition_groups declared before required parameter $package_index is implicitly treated as a required parameter in /wp-content/plugins/advanced-shipping-validation-for-woocommerce/includes/wcasv-validation-functions.php on line 50
See also: All tests for this plugin, How to Hide Advanced Shipping Validation for WooCommerce Meta Boxes