Block Patterns UI 0.2.0

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

Summary

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

Memory usage: 49.46 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 version5.8
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=06f90261ca
Aspect after-activation
HTTP status 200
Load time 0.223 s
Memory usage 3.07 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.161 s
Memory usage 3.11 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.997 s
Memory usage 5.39 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.187 s
Memory usage 3.03 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.223 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.263 s0.224 s-0.039 s3.08 MiB3.11 MiB+ 32.91 KiB
/wp-admin/edit.php0.156 s0.166 s+0.010 s3.11 MiB3.14 MiB+ 32.91 KiB
/wp-admin/post-new.php0.802 s0.817 s+0.015 s5.27 MiB5.4 MiB+ 139 KiB
/wp-admin/upload.php0.599 s0.379 s-0.220 s3.03 MiB3.06 MiB+ 31.78 KiB
/wp-admin/options-writing.php0.144 s0.125 s-0.019 s3.02 MiB3.04 MiB+ 15.7 KiB
/wp-admin/media-new.php0.327 s0.208 s-0.119 s3.01 MiB3.04 MiB+ 31.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.161 s0.206 s+0.045 s3.04 MiB3.07 MiB+ 32.86 KiB
/wp-admin/post-new.php?post_type=page0.739 s0.662 s-0.077 s5.26 MiB5.39 MiB+ 138.59 KiB
/wp-admin/options-discussion.php0.354 s0.246 s-0.108 s3 MiB3.03 MiB+ 32.2 KiB
/wp-admin/edit-comments.php0.203 s0.197 s-0.006 s3.04 MiB3.07 MiB+ 31.77 KiB
/0.301 s0.310 s+0.009 s2.91 MiB2.93 MiB+ 24.41 KiB
Average 0.368 s0.322 s-0.046 s3.43 MiB3.48 MiB+ 49.46 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
PHP100.0%292478
Total 292 47 8

PHP Code Analysis | More results »

Lines of code 200
Total complexity 21
Median class complexity 5.0
Median method complexity 1.0
Most complex class BlockPatternsUI
Most complex function bpui_pattern_settings_render()
Classes 1
Methods 3
Functions 9

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 9 lines

[27-Aug-2021 09:00:52 UTC] PHP Notice:  Undefined index: bpui_pattern_settings_fields in /wp-content/plugins/block-patterns-ui/lib/add-meta-boxes.php on line 102
[27-Aug-2021 09:00:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/lib/admin-settings-page.php on line 46
[27-Aug-2021 09:00:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/lib/admin-settings-page.php on line 61
[27-Aug-2021 09:00:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/lib/admin-settings-page.php on line 61
[27-Aug-2021 09:00:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/lib/admin-settings-page.php on line 61
[27-Aug-2021 09:00:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/lib/admin-settings-page.php on line 61
[27-Aug-2021 09:00:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/lib/admin-settings-page.php on line 61
[27-Aug-2021 09:00:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/lib/admin-settings-page.php on line 61
[27-Aug-2021 09:00:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/lib/admin-settings-page.php on line 61
See also: All tests for this plugin, How to Hide Block Patterns UI Admin Menus and Meta Boxes