Block Visibility 3.0.1

Does Block Visibility work with WordPress 6.2 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: 36.16 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 version6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/block-visibility/
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=block-visibility%2Fblock-visibility.php&plugin_status=all&paged=1&s&_wpnonce=d89d6cec82
Aspect after-activation
HTTP status 200
Load time 0.422 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

Settings → Block Visibility

Page screenshot: Settings → Block Visibility
URL /wp-admin/options-general.php?page=block-visibility-settings
Aspect menu-item
HTTP status 200
Load time 0.789 s
Memory usage 3.08 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.255 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.292 s0.246 s-0.046 s3.07 MiB3.12 MiB+ 47.13 KiB
/wp-admin/edit.php0.190 s0.201 s+0.011 s3.1 MiB3.15 MiB+ 47.87 KiB
/wp-admin/post-new.php0.771 s0.870 s+0.099 s5.02 MiB5.05 MiB+ 29.46 KiB
/wp-admin/upload.php0.544 s0.455 s-0.089 s3.02 MiB3.05 MiB+ 29.77 KiB
/wp-admin/options-writing.php0.154 s0.162 s+0.008 s3.01 MiB3.03 MiB+ 16.52 KiB
/wp-admin/media-new.php0.341 s0.208 s-0.133 s2.99 MiB3.03 MiB+ 41.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.173 s0.205 s+0.032 s3.01 MiB3.05 MiB+ 47.13 KiB
/wp-admin/post-new.php?post_type=page0.619 s0.682 s+0.063 s5.01 MiB5.04 MiB+ 24.97 KiB
/wp-admin/options-discussion.php0.216 s0.233 s+0.017 s3 MiB3.03 MiB+ 30.26 KiB
/wp-admin/edit-comments.php0.193 s0.216 s+0.023 s3.03 MiB3.06 MiB+ 29.76 KiB
/0.319 s0.213 s-0.106 s2.97 MiB3.02 MiB+ 52.91 KiB
Average 0.347 s0.336 s-0.011 s3.38 MiB3.42 MiB+ 36.16 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
PHP99.0%3,6781,62635
JavaScript0.9%33302
CSS0.1%303
Total 3,714 1,656 40

PHP Code Analysis | More results »

Lines of code 3,667
Total complexity 1,000
Median class complexity 25.0
Median method complexity 2.0
Most complex class Block_Visibility
Most complex function user_role_test()
Classes 3
Methods 24
Functions 90

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 1

ID Name
visibility_presetPresets

PHP Error Log

The log file is empty.

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