User Role Switcher 0.2.4

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: 5.43 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.026 seconds
The average page load time increased by this amount after activating the plugin.

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=20c6f45cfe
Aspect after-activation
HTTP status 200
Load time 0.883 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.213 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.619 s0.559 s-0.060 s3.92 MiB3.94 MiB+ 16.81 KiB
/wp-admin/edit.php0.536 s0.485 s-0.051 s3.98 MiB4 MiB+ 16.81 KiB
/wp-admin/post-new.php1.990 s1.811 s-0.179 s6.56 MiB6.58 MiB+ 21.22 KiB
/wp-admin/upload.php0.690 s0.735 s+0.045 s3.89 MiB3.88 MiB- 8.23 KiB
/wp-admin/options-writing.php0.538 s0.791 s+0.253 s3.86 MiB3.85 MiB- 8.7 KiB
/wp-admin/media-new.php0.561 s0.738 s+0.177 s3.85 MiB3.85 MiB- 520 bytes
/wp-admin/edit-tags.php?taxonomy=category0.507 s0.707 s+0.200 s3.86 MiB3.87 MiB+ 4.66 KiB
/wp-admin/post-new.php?post_type=page1.816 s1.903 s+0.087 s6.55 MiB6.56 MiB+ 16.94 KiB
/wp-admin/options-discussion.php0.624 s0.567 s-0.057 s3.86 MiB3.85 MiB- 12.2 KiB
/wp-admin/edit-comments.php0.535 s0.524 s-0.011 s3.88 MiB3.88 MiB- 648 bytes
/0.300 s0.183 s-0.117 s4.23 MiB4.24 MiB+ 13.54 KiB
Average 0.792 s0.818 s+0.026 s4.4 MiB4.41 MiB+ 5.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
CSS
Markdown
Language % Lines of code Comment lines Files
PHP63.9%209861
CSS25.1%8211
Markdown11.0%3601
Total 327 87 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