Conditional Payments and Shipping for WooCommerce 1.0.6

Does "Shipping and Payment Rules and Conditions for WooCommerce" work with WordPress 5.7 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: 179.94 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.7
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=1c98309285
Aspect after-activation
HTTP status 200
Load time 0.260 s
Memory usage 3.06 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.193 s
Memory usage 2.71 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.264 s0.261 s-0.003 s2.82 MiB3.01 MiB+ 191.2 KiB
/wp-admin/edit.php0.181 s0.196 s+0.015 s2.86 MiB3.05 MiB+ 193.27 KiB
/wp-admin/post-new.php0.893 s0.688 s-0.205 s5.02 MiB5.24 MiB+ 216.57 KiB
/wp-admin/upload.php0.460 s0.259 s-0.201 s2.7 MiB2.88 MiB+ 189.02 KiB
/wp-admin/options-writing.php0.232 s0.252 s+0.020 s2.71 MiB2.87 MiB+ 158.87 KiB
/wp-admin/media-new.php0.229 s0.191 s-0.038 s2.67 MiB2.86 MiB+ 190.44 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.203 s+0.004 s2.77 MiB2.96 MiB+ 192.91 KiB
/wp-admin/post-new.php?post_type=page1.339 s0.680 s-0.659 s5.01 MiB5.21 MiB+ 208.16 KiB
/wp-admin/options-discussion.php0.267 s0.218 s-0.049 s2.67 MiB2.86 MiB+ 185.88 KiB
/wp-admin/edit-comments.php0.203 s0.278 s+0.075 s2.78 MiB2.96 MiB+ 191.55 KiB
/0.256 s0.230 s-0.026 s2.65 MiB2.71 MiB+ 61.46 KiB
Average 0.411 s0.314 s-0.097 s3.15 MiB3.33 MiB+ 179.94 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.2%1,10189234
JavaScript7.3%8822
CSS1.5%1882
Total 1,207 902 38

PHP Code Analysis | More results »

Lines of code 1,097
Total complexity 176
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