Advanced Shipping Validation for WooCommerce 1.1.5

Does "Advanced Shipping Validation for WooCommerce" work with WordPress 6.8.1 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.1
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=2fd654c66c
Aspect after-activation
HTTP status 200
Load time 0.212 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.153 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.286 s0.277 s-0.009 s3.51 MiB3.57 MiB+ 68.14 KiB
/wp-admin/edit.php0.167 s0.168 s+0.001 s3.57 MiB3.66 MiB+ 88.92 KiB
/wp-admin/post-new.php0.680 s0.541 s-0.139 s6.06 MiB6.12 MiB+ 60.39 KiB
/wp-admin/upload.php0.518 s0.470 s-0.048 s3.52 MiB3.57 MiB+ 51.47 KiB
/wp-admin/options-writing.php0.189 s0.175 s-0.014 s3.5 MiB3.56 MiB+ 55.46 KiB
/wp-admin/media-new.php0.222 s0.174 s-0.048 s3.49 MiB3.55 MiB+ 63.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.169 s0.179 s+0.010 s3.5 MiB3.58 MiB+ 74.33 KiB
/wp-admin/post-new.php?post_type=page0.543 s0.545 s+0.002 s6.05 MiB6.11 MiB+ 55.91 KiB
/wp-admin/options-discussion.php0.413 s0.211 s-0.202 s3.5 MiB3.55 MiB+ 51.96 KiB
/wp-admin/edit-comments.php0.211 s0.169 s-0.042 s3.52 MiB3.57 MiB+ 51.46 KiB
/0.277 s0.344 s+0.067 s3.43 MiB3.47 MiB+ 38.27 KiB
Average 0.334 s0.296 s-0.038 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

[03-May-2025 08:26:42 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