Lazy Blocks 2.3.1

Does Lazy Blocks work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
9PHP deprecation warnings
2JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 460.67 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.060 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/lazy-blocks/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=lazy-blocks%2Flazy-blocks.php&plugin_status=all&paged=1&s&_wpnonce=e389ebe674
Aspect after-activation
HTTP status 200
Load time 0.558 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Lazy Blocks

Page screenshot: Lazy Blocks
URL /wp-admin/edit.php?post_type=lazyblocks
Aspect menu-item
HTTP status 200
Load time 0.175 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Lazy Blocks → Add New

Page screenshot: Lazy Blocks → Add New
URL /wp-admin/post-new.php?post_type=lazyblocks
Aspect menu-item
HTTP status 200
Load time 2.780 s
Memory usage 6.56 MiB
JS errors
[
    {
        "message": "DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at '/wp-admin/worker-html.js' failed to load.\n    at blob:/99334fb6-df1e-4576-8d49-4b01fe5e1a42:1:1",
        "trace": null,
        "code": null
    }
]
Resource errors None

Lazy Blocks → Templates

Page screenshot: Lazy Blocks → Templates
URL /wp-admin/edit.php?post_type=lazyblocks&page=lazyblocks_templates
Aspect menu-item
HTTP status 200
Load time 1.671 s
Memory usage 4.37 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'options' of undefined\n    at /wp-content/plugins/lazy-blocks/assets/admin/templates/index.min.js?ver=2.3.1:2:105875\n    at Array.forEach (<anonymous>)\n    at l.value (/wp-content/plugins/lazy-blocks/assets/admin/templates/index.min.js?ver=2.3.1:2:105564)\n    at l.value (/wp-content/plugins/lazy-blocks/assets/admin/templates/index.min.js?ver=2.3.1:2:103249)\n    at oj (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:127:59)\n    at Aj (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:160:448)\n    at unstable_runWithPriority (/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25:260)\n    at Da (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60:280)\n    at ab (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:154:190)\n    at Te (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146:355)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Lazy Blocks → Export / Import

Page screenshot: Lazy Blocks → Export / Import
URL /wp-admin/edit.php?post_type=lazyblocks&page=lazyblocks_tools
Aspect menu-item
HTTP status 200
Load time 0.328 s
Memory usage 3.34 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.333 s
Memory usage 3.22 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.371 s0.374 s+0.003 s3.08 MiB3.42 MiB+ 347.22 KiB
/wp-admin/edit.php0.181 s0.232 s+0.051 s3.11 MiB3.45 MiB+ 349.38 KiB
/wp-admin/post-new.php1.124 s1.765 s+0.641 s5.27 MiB6.24 MiB+ 995.81 KiB
/wp-admin/upload.php0.643 s0.468 s-0.175 s3.03 MiB3.37 MiB+ 346.09 KiB
/wp-admin/options-writing.php0.168 s0.163 s-0.005 s3.02 MiB3.35 MiB+ 329.44 KiB
/wp-admin/media-new.php0.237 s0.167 s-0.070 s3.01 MiB3.35 MiB+ 346.26 KiB
/wp-admin/edit-tags.php?taxonomy=category0.233 s0.181 s-0.052 s3.04 MiB3.38 MiB+ 347.79 KiB
/wp-admin/post-new.php?post_type=page1.036 s1.377 s+0.341 s5.26 MiB6.23 MiB+ 995.4 KiB
/wp-admin/options-discussion.php0.214 s0.249 s+0.035 s3 MiB3.34 MiB+ 345.95 KiB
/wp-admin/edit-comments.php0.226 s0.209 s-0.017 s3.04 MiB3.38 MiB+ 346.07 KiB
/0.325 s0.235 s-0.090 s2.91 MiB3.22 MiB+ 318 KiB
Average 0.433 s0.493 s+0.060 s3.43 MiB3.88 MiB+ 460.67 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
JSON
Language % Lines of code Comment lines Files
PHP80.4%4,2381,68834
JSON12.7%66901
Markdown6.8%35902
SVG0.2%802
Total 5,274 1,688 39

PHP Code Analysis | More results »

Lines of code 4,241
Total complexity 694
Median class complexity 9.0
Median method complexity 1.0
Most complex class LazyBlocks_Blocks
Most complex function LazyBlocks_Icons::get_all()
Classes 33
Methods 201
Functions 2

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.

Options wp_options 1

Custom Post Types 2

ID Name
lazyblocksBlocks
lazyblocks_templatesTemplates

Capabilities 8

PHP Error Log 9 lines

[21-Jul-2021 18:00:13 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 18:00:13 UTC] PHP Deprecated:  allowed_block_types is <strong>deprecated</strong> since version 5.8.0! Use allowed_block_types_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 18:00:13 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 18:00:21 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 18:00:22 UTC] PHP Deprecated:  allowed_block_types is <strong>deprecated</strong> since version 5.8.0! Use allowed_block_types_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 18:00:22 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 18:00:25 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 18:00:25 UTC] PHP Deprecated:  allowed_block_types is <strong>deprecated</strong> since version 5.8.0! Use allowed_block_types_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 18:00:25 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
See also: All tests for this plugin, How to Hide Lazy Blocks Admin Menus