Restrict Page By Role 1.0.0

Does Restrict Page By Role work with WordPress 7.1 and PHP 8.1.12? 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: 8.61 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 version7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/restrict-page-by-role/
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=restrict-page-by-role%2Frestrict-page-by-role.php&plugin_status=all&paged=1&s&_wpnonce=1d6b30cbb7
Aspect after-activation
HTTP status 200
Load time 0.563 s
Memory usage 4.25 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.198 s
Memory usage 4.61 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.326 s0.771 s-0.555 s4.22 MiB4.24 MiB+ 11.64 KiB
/wp-admin/edit.php0.535 s0.570 s+0.035 s4.28 MiB4.29 MiB+ 11.33 KiB
/wp-admin/post-new.php1.583 s1.912 s+0.329 s6.78 MiB6.81 MiB+ 35.8 KiB
/wp-admin/upload.php1.706 s1.302 s-0.404 s4.24 MiB4.24 MiB- 2.02 KiB
/wp-admin/options-writing.php0.563 s0.596 s+0.033 s4.22 MiB4.22 MiB- 1.78 KiB
/wp-admin/media-new.php0.593 s0.730 s+0.137 s4.21 MiB4.22 MiB+ 6.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.700 s0.516 s-0.184 s4.22 MiB4.23 MiB+ 11.27 KiB
/wp-admin/post-new.php?post_type=page1.998 s1.873 s-0.125 s6.76 MiB6.79 MiB+ 31.33 KiB
/wp-admin/options-discussion.php0.998 s1.152 s+0.154 s4.22 MiB4.22 MiB- 9.59 KiB
/wp-admin/edit-comments.php0.571 s0.535 s-0.036 s4.24 MiB4.24 MiB- 5.77 KiB
/0.300 s0.224 s-0.076 s4.6 MiB4.61 MiB+ 6.09 KiB
Average 0.988 s0.926 s-0.063 s4.73 MiB4.74 MiB+ 8.61 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
PHP85.0%1811373
JavaScript7.0%1501
Markdown6.6%1401
CSS1.4%301
Total 213 137 6

PHP Code Analysis | More results »

Lines of code 180
Total complexity 33
Median class complexity 16.5
Median method complexity 2.0
Most complex class Restrict_Page_By_Role
Most complex function Restrict_Page_By_Role::restrict_content_page()
Classes 2
Methods 12
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.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin