Block Patterns UI 0.1.4

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

Summary

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

Memory usage: 49.74 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=dee377445a
Aspect after-activation
HTTP status 200
Load time 0.296 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.145 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.643 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.197 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.209 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.271 s0.242 s-0.029 s3.08 MiB3.11 MiB+ 32.91 KiB
/wp-admin/edit.php0.158 s0.159 s+0.001 s3.11 MiB3.14 MiB+ 32.91 KiB
/wp-admin/post-new.php0.698 s0.622 s-0.076 s5.27 MiB5.4 MiB+ 139 KiB
/wp-admin/upload.php0.576 s0.381 s-0.195 s3.03 MiB3.06 MiB+ 32.38 KiB
/wp-admin/options-writing.php0.225 s0.141 s-0.084 s3.02 MiB3.04 MiB+ 16.3 KiB
/wp-admin/media-new.php0.228 s0.171 s-0.057 s3.01 MiB3.04 MiB+ 32.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.176 s-0.007 s3.04 MiB3.07 MiB+ 33.46 KiB
/wp-admin/post-new.php?post_type=page0.593 s0.683 s+0.090 s5.26 MiB5.39 MiB+ 138.59 KiB
/wp-admin/options-discussion.php0.201 s0.255 s+0.054 s3 MiB3.04 MiB+ 32.8 KiB
/wp-admin/edit-comments.php0.181 s0.189 s+0.008 s3.04 MiB3.07 MiB+ 31.77 KiB
/0.264 s0.183 s-0.081 s2.91 MiB2.93 MiB+ 24.41 KiB
Average 0.325 s0.291 s-0.034 s3.43 MiB3.48 MiB+ 49.74 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%290478
Total 290 47 8

PHP Code Analysis | More results »

Lines of code 199
Total complexity 20
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 51 lines

[27-Aug-2021 08:49:18 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:19 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:19 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:19 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:19 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:20 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 08:49:20 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/helpers.php on line 20
[27-Aug-2021 08:49:20 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:20 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:21 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:21 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:21 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:21 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:21 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:21 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 08:49:21 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 08:49:21 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 08:49:21 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 08:49:21 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 08:49:21 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 08:49:21 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 08:49:21 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 08:49:21 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:22 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:22 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:22 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:22 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:23 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:23 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:24 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:24 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:24 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:24 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:24 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:24 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:24 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:24 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:25 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:25 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:26 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:26 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:26 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:26 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:26 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:26 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:26 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:26 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:27 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:27 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:27 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
[27-Aug-2021 08:49:27 UTC] PHP Warning:  array_key_exists() expects parameter 2 to be array, bool given in /wp-content/plugins/block-patterns-ui/lib/init.php on line 6
See also: All tests for this plugin, How to Hide Block Patterns UI Admin Menus and Meta Boxes