Conditional Payments and Shipping for WooCommerce 1.0.7

Does "Shipping and Payment Rules and Conditions for WooCommerce" work with WordPress 5.9 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 185.23 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 version5.9
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 700+
WordPress.org page https://wordpress.org/plugins/wc-restricted-shipping-and-payment/
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=wc-restricted-shipping-and-payment%2Frestricted-shipping-payment-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=f6c6c9360b
Aspect after-activation
HTTP status 200
Load time 0.334 s
Memory usage 3.6 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.342 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.390 s0.433 s+0.043 s3.36 MiB3.56 MiB+ 204.33 KiB
/wp-admin/edit.php0.222 s0.315 s+0.093 s3.39 MiB3.59 MiB+ 203.36 KiB
/wp-admin/post-new.php1.235 s1.372 s+0.137 s6.14 MiB6.29 MiB+ 144.2 KiB
/wp-admin/upload.php0.424 s0.467 s+0.043 s3.24 MiB3.45 MiB+ 214.14 KiB
/wp-admin/options-writing.php0.317 s0.192 s-0.125 s3.24 MiB3.43 MiB+ 199.24 KiB
/wp-admin/media-new.php0.310 s0.248 s-0.062 s3.22 MiB3.43 MiB+ 215.56 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.235 s+0.027 s3.25 MiB3.46 MiB+ 216.78 KiB
/wp-admin/post-new.php?post_type=page1.045 s1.099 s+0.054 s6.14 MiB6.28 MiB+ 139.78 KiB
/wp-admin/options-discussion.php0.263 s0.361 s+0.098 s3.22 MiB3.42 MiB+ 210.38 KiB
/wp-admin/edit-comments.php0.237 s0.227 s-0.010 s3.26 MiB3.47 MiB+ 208.68 KiB
/0.349 s0.231 s-0.118 s3.35 MiB3.43 MiB+ 81.09 KiB
Average 0.455 s0.471 s+0.016 s3.8 MiB3.98 MiB+ 185.23 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
Language % Lines of code Comment lines Files
PHP91.1%1,09189234
JavaScript7.4%8822
CSS1.5%1882
Total 1,197 902 38

PHP Code Analysis | More results »

Lines of code 1,087
Total complexity 175
Median class complexity 4.5
Median method complexity 1.0
Most complex class RSPW_Admin
Most complex function RSPW_Payment_Filter::exclude_payment_gateways()
Classes 30
Methods 103
Functions 0

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 2

ID Name
shipping_conditionShipping Conditions
payment_conditionPayment Conditions

Meta Boxes

{
    "shipping_condition": {
        "rspw_pro_promotion_box_id": {
            "title": "Upgrade To Pro",
            "context": "side"
        },
        "shipping_conditions_metabox": {
            "title": "Condition Properties",
            "context": "normal"
        }
    },
    "payment_condition": {
        "rspw_pro_promotion_box_id": {
            "title": "Upgrade To Pro",
            "context": "side"
        },
        "payment_conditions_metabox": {
            "title": "Condition Properties",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Conditional Payments and Shipping for WooCommerce Meta Boxes