Block Visibility 3.7.1

Does Block Visibility work with WordPress 6.8.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: 73.87 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 version6.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30,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=08162c6a4b
Aspect after-activation
HTTP status 200
Load time 0.288 s
Memory usage 3.58 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.586 s
Memory usage 3.57 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.246 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.328 s0.255 s-0.073 s3.51 MiB3.56 MiB+ 57.18 KiB
/wp-admin/edit.php0.198 s0.206 s+0.008 s3.57 MiB3.63 MiB+ 54.82 KiB
/wp-admin/post-new.php0.768 s1.323 s+0.555 s6.06 MiB6.25 MiB+ 189.94 KiB
/wp-admin/upload.php0.743 s0.529 s-0.214 s3.52 MiB3.56 MiB+ 37.41 KiB
/wp-admin/options-writing.php0.204 s0.206 s+0.002 s3.5 MiB3.54 MiB+ 41.41 KiB
/wp-admin/media-new.php0.263 s0.200 s-0.063 s3.49 MiB3.54 MiB+ 49.6 KiB
/wp-admin/edit-tags.php?taxonomy=category0.229 s0.195 s-0.034 s3.5 MiB3.56 MiB+ 60.27 KiB
/wp-admin/post-new.php?post_type=page0.647 s0.814 s+0.167 s6.05 MiB6.23 MiB+ 185.46 KiB
/wp-admin/options-discussion.php0.482 s0.283 s-0.199 s3.5 MiB3.54 MiB+ 37.91 KiB
/wp-admin/edit-comments.php0.205 s0.409 s+0.204 s3.52 MiB3.56 MiB+ 37.41 KiB
/0.301 s0.235 s-0.066 s3.43 MiB3.49 MiB+ 61.19 KiB
Average 0.397 s0.423 s+0.026 s3.97 MiB4.04 MiB+ 73.87 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.4%5,8932,45841
JavaScript0.6%35642
CSS0.1%303
Total 5,931 2,522 46

PHP Code Analysis | More results »

Lines of code 5,882
Total complexity 1,743
Median class complexity 20.0
Median method complexity 2.0
Most complex class Block_Visibility_REST_Variables_Controller
Most complex function user_role_test()
Classes 3
Methods 22
Functions 149

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