Postcode Redirect 2.0.1

Does Postcode Redirect work with WordPress 5.6 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 8.43 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.6
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/postcode-redirect/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=postcode-redirect%2Fpostcoderedirect.php&plugin_status=all&paged=1&s&_wpnonce=2f5677074f
Aspect after-activation
HTTP status 200
Load time 0.289 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

Postcode Redirect

Page screenshot: Postcode Redirect
URL /wp-admin/admin.php?page=Postcode+Redirect
Requested URL /wp-admin/admin.php?page=Postcode%20Redirect
Aspect menu-item
HTTP status 200
Load time 0.263 s
Memory usage 2.71 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.296 s
Memory usage 2.63 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'addEventListener' of null\n    at /:177:63",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.266 s0.274 s+0.008 s2.79 MiB2.81 MiB+ 16.98 KiB
/wp-admin/edit.php0.182 s0.189 s+0.007 s2.84 MiB2.85 MiB+ 16.98 KiB
/wp-admin/post-new.php0.888 s0.828 s-0.060 s4.93 MiB4.95 MiB+ 20.8 KiB
/wp-admin/upload.php0.513 s0.351 s-0.162 s2.67 MiB2.68 MiB+ 15.48 KiB
/wp-admin/options-writing.php0.230 s0.173 s-0.057 s2.68 MiB2.67 MiB- 16.18 KiB
/wp-admin/media-new.php0.216 s0.164 s-0.052 s2.64 MiB2.66 MiB+ 16.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.210 s+0.026 s2.68 MiB2.7 MiB+ 16.92 KiB
/wp-admin/post-new.php?post_type=page1.096 s0.642 s-0.454 s4.92 MiB4.94 MiB+ 16.38 KiB
/wp-admin/options-discussion.php0.292 s0.234 s-0.058 s2.65 MiB2.66 MiB+ 16.64 KiB
/wp-admin/edit-comments.php0.240 s0.219 s-0.021 s2.75 MiB2.76 MiB+ 15.87 KiB
/0.277 s0.239 s-0.038 s2.67 MiB2.63 MiB- 43.14 KiB
Average 0.399 s0.320 s-0.078 s3.11 MiB3.12 MiB+ 8.43 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
PHP100.0%331303
Total 331 30 3

PHP Code Analysis | More results »

Lines of code 256
Total complexity 46
Median class complexity 1.0
Median method complexity 1.0
Most complex class Postcode_Redirect
Most complex function redirect_postcode_ajax_call()
Classes 1
Methods 1
Functions 9

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.

Options wp_options 4

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Postcode Redirect" Admin Menu