Block Patterns UI 0.4.2

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

Summary

Errors
10PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 42.42 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.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=a9f2a14883
Aspect after-activation
HTTP status 200
Load time 0.253 s
Memory usage 3.73 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.252 s
Memory usage 3.76 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 1.283 s
Memory usage 5.65 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.287 s
Memory usage 3.69 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.217 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.333 s0.271 s-0.062 s3.72 MiB3.76 MiB+ 34.58 KiB
/wp-admin/edit.php0.194 s0.203 s+0.009 s3.75 MiB3.79 MiB+ 34.58 KiB
/wp-admin/post-new.php0.990 s0.939 s-0.051 s5.55 MiB5.66 MiB+ 120.35 KiB
/wp-admin/upload.php0.442 s0.517 s+0.075 s3.68 MiB3.72 MiB+ 33.45 KiB
/wp-admin/options-writing.php0.159 s0.170 s+0.011 s3.62 MiB3.63 MiB+ 13.35 KiB
/wp-admin/media-new.php0.403 s0.229 s-0.174 s3.66 MiB3.69 MiB+ 33.62 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.194 s+0.010 s3.69 MiB3.72 MiB+ 34.52 KiB
/wp-admin/post-new.php?post_type=page1.354 s0.952 s-0.402 s5.54 MiB5.65 MiB+ 111.94 KiB
/wp-admin/options-discussion.php0.210 s0.214 s+0.004 s3.6 MiB3.63 MiB+ 33.93 KiB
/wp-admin/edit-comments.php0.224 s0.214 s-0.010 s3.69 MiB3.73 MiB+ 33.43 KiB
/0.275 s0.217 s-0.058 s3.6 MiB3.59 MiB- 17.11 KiB
Average 0.433 s0.375 s-0.059 s4.01 MiB4.05 MiB+ 42.42 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 10 lines

[23-Jul-2022 11:31:25 UTC] PHP Notice:  Undefined index: bpui_pattern_settings_fields in /wp-content/plugins/block-patterns-ui/lib/add-meta-boxes.php on line 101
[23-Jul-2022 11:31:28 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 22
[23-Jul-2022 11:31:28 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[23-Jul-2022 11:31:28 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[23-Jul-2022 11:31:28 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[23-Jul-2022 11:31:28 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[23-Jul-2022 11:31:28 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[23-Jul-2022 11:31:28 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[23-Jul-2022 11:31:28 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[23-Jul-2022 11:31:28 UTC] PHP Notice:  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