User Role Switcher 0.2.3

Does WP User Role Switcher work with WordPress 7.0 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: 4.68 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.0
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/wp-user-role-switcher/
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=wp-user-role-switcher%2Fwp-user-role-switcher.php&plugin_status=all&paged=1&s&_wpnonce=52b9edfb15
Aspect after-activation
HTTP status 200
Load time 0.943 s
Memory usage 3.89 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.224 s
Memory usage 4.24 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.674 s0.565 s-0.109 s3.92 MiB3.94 MiB+ 15.88 KiB
/wp-admin/edit.php0.506 s0.496 s-0.010 s3.98 MiB4 MiB+ 15.88 KiB
/wp-admin/post-new.php2.173 s1.745 s-0.428 s6.56 MiB6.58 MiB+ 20.3 KiB
/wp-admin/upload.php0.755 s1.186 s+0.431 s3.89 MiB3.88 MiB- 9.16 KiB
/wp-admin/options-writing.php0.528 s0.604 s+0.076 s3.86 MiB3.85 MiB- 9.63 KiB
/wp-admin/media-new.php0.599 s0.734 s+0.135 s3.85 MiB3.85 MiB- 1.44 KiB
/wp-admin/edit-tags.php?taxonomy=category0.618 s0.509 s-0.109 s3.86 MiB3.87 MiB+ 3.73 KiB
/wp-admin/post-new.php?post_type=page1.825 s1.447 s-0.378 s6.55 MiB6.56 MiB+ 16.01 KiB
/wp-admin/options-discussion.php0.717 s0.715 s-0.002 s3.86 MiB3.85 MiB- 13.13 KiB
/wp-admin/edit-comments.php0.538 s0.880 s+0.342 s3.88 MiB3.88 MiB- 1.56 KiB
/0.306 s0.259 s-0.047 s4.23 MiB4.24 MiB+ 14.59 KiB
Average 0.840 s0.831 s-0.009 s4.4 MiB4.41 MiB+ 4.68 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
CSS
Markdown
Language % Lines of code Comment lines Files
PHP64.3%209791
CSS25.2%8211
Markdown10.5%3401
Total 325 80 3

PHP Code Analysis | More results »

Lines of code 209
Total complexity 41
Median class complexity 41.0
Median method complexity 2.0
Most complex class WP_User_Role_Switcher
Most complex function WP_User_Role_Switcher::switch_role()
Classes 1
Methods 11
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