Block Patterns UI 0.4.2

Does Block Patterns UI work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
21PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 41.79 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.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/block-patterns-ui/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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-patterns-ui%2Fblock-patterns-ui.php&plugin_status=all&paged=1&s&_wpnonce=84287d8200
Aspect after-activation
HTTP status 200
Load time 0.246 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Block Patterns

Page screenshot: Block Patterns
URL /wp-admin/edit.php?post_type=bpui_block_pattern
Aspect menu-item
HTTP status 200
Load time 0.171 s
Memory usage 3.39 MiB
JS errors None
Resource errors None

Block Patterns → Add New

Page screenshot: Block Patterns → Add New
URL /wp-admin/post-new.php?post_type=bpui_block_pattern
Aspect menu-item
HTTP status 200
Load time 0.601 s
Memory usage 5.56 MiB
JS errors None
Resource errors None

Block Patterns → Settings

Page screenshot: Block Patterns → Settings
URL /wp-admin/edit.php?post_type=bpui_block_pattern&page=block_patterns_ui
Aspect menu-item
HTTP status 200
Load time 0.277 s
Memory usage 3.38 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.195 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.367 s0.500 s+0.133 s3.38 MiB3.42 MiB+ 38.45 KiB
/wp-admin/edit.php0.219 s0.284 s+0.065 s3.41 MiB3.44 MiB+ 38.45 KiB
/wp-admin/post-new.php1.086 s0.595 s-0.491 s5.46 MiB5.57 MiB+ 117.7 KiB
/wp-admin/upload.php0.663 s0.421 s-0.242 s3.32 MiB3.35 MiB+ 26.02 KiB
/wp-admin/options-writing.php0.216 s0.198 s-0.018 s3.32 MiB3.33 MiB+ 15.22 KiB
/wp-admin/media-new.php0.300 s0.263 s-0.037 s3.3 MiB3.33 MiB+ 36.79 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.191 s+0.004 s3.31 MiB3.35 MiB+ 39.22 KiB
/wp-admin/post-new.php?post_type=page0.603 s0.756 s+0.153 s5.45 MiB5.56 MiB+ 117.28 KiB
/wp-admin/options-discussion.php0.252 s0.311 s+0.059 s3.3 MiB3.33 MiB+ 28.75 KiB
/wp-admin/edit-comments.php0.247 s0.227 s-0.020 s3.34 MiB3.36 MiB+ 21.85 KiB
/0.282 s0.210 s-0.072 s3.36 MiB3.34 MiB- 20.07 KiB
Average 0.402 s0.360 s-0.042 s3.72 MiB3.76 MiB+ 41.79 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
Sass
Language % Lines of code Comment lines Files
PHP75.2%3515815
Sass23.8%11105
JavaScript1.1%501
Total 467 58 21

PHP Code Analysis | More results »

Lines of code 178
Total complexity 22
Median class complexity 5.0
Median method complexity 1.0
Most complex class BlockPatternsUI
Most complex function bpui_pattern_settings_render()
Classes 2
Methods 7
Functions 5

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
bpui_block_patternBlock Patterns

Meta Boxes

{
    "bpui_block_pattern": {
        "bpui_pattern_settings": {
            "title": "Pattern Settings",
            "context": "side"
        }
    }
}

PHP Error Log 21 lines

[09-Feb-2024 04:15:12 UTC] PHP Warning:  Undefined array key "bpui_pattern_settings_fields" in /wp-content/plugins/block-patterns-ui/lib/add-meta-boxes.php on line 101
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 22
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-Feb-2024 04:15:16 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
See also: All tests for this plugin, How to Hide Block Patterns UI Admin Menus and Meta Boxes