VK Block Patterns 1.0.3

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

Summary

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

Memory usage: 99.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 version5.7.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 90,000+
WordPress.org page https://wordpress.org/plugins/vk-block-patterns/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=vk-block-patterns%2Fvk-block-patterns.php&plugin_status=all&paged=1&s&_wpnonce=2793982dae
Aspect after-activation
HTTP status 200
Load time 0.234 s
Memory usage 2.84 MiB
JS errors None
Resource errors None

VK Block Patterns

Page screenshot: VK Block Patterns
URL /wp-admin/edit.php?post_type=vk-block-patterns
Aspect menu-item
HTTP status 200
Load time 0.208 s
Memory usage 2.87 MiB
JS errors None
Resource errors None

VK Block Patterns → Add New

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

VK Block Patterns → Category

Page screenshot: VK Block Patterns → Category
URL /wp-admin/edit-tags.php?taxonomy=vk-block-patterns-category&post_type=vk-block-patterns
Aspect menu-item
HTTP status 200
Load time 0.270 s
Memory usage 2.82 MiB
JS errors None
Resource errors None

Settings → VK Block Patterns

Page screenshot: Settings → VK Block Patterns
URL /wp-admin/options-general.php?page=vk_block_patterns_options
Aspect menu-item
HTTP status 200
Load time 0.371 s
Memory usage 2.81 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.246 s
Memory usage 2.69 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.275 s
Memory usage 2.87 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.266 s0.329 s+0.063 s2.82 MiB2.87 MiB+ 55.61 KiB
/wp-admin/edit.php0.175 s0.209 s+0.034 s2.86 MiB2.92 MiB+ 59.64 KiB
/wp-admin/post-new.php0.896 s0.694 s-0.202 s5.02 MiB5.3 MiB+ 284.2 KiB
/wp-admin/upload.php0.524 s0.279 s-0.245 s2.7 MiB2.81 MiB+ 120.53 KiB
/wp-admin/options-writing.php0.200 s0.149 s-0.051 s2.71 MiB2.8 MiB+ 87.26 KiB
/wp-admin/media-new.php0.213 s0.157 s-0.056 s2.67 MiB2.73 MiB+ 57.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.167 s-0.020 s2.77 MiB2.83 MiB+ 56.36 KiB
/wp-admin/post-new.php?post_type=page1.084 s0.750 s-0.334 s5.01 MiB5.28 MiB+ 279.79 KiB
/wp-admin/options-discussion.php0.278 s0.271 s-0.007 s2.67 MiB2.73 MiB+ 57.64 KiB
/wp-admin/edit-comments.php0.258 s0.242 s-0.016 s2.78 MiB2.83 MiB+ 55.27 KiB
/0.247 s0.210 s-0.037 s2.71 MiB2.69 MiB- 15.91 KiB
Average 0.393 s0.314 s-0.079 s3.16 MiB3.25 MiB+ 99.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.

JSON
PHP
Sass
Language % Lines of code Comment lines Files
JSON36.3%73306
PHP32.7%6611688
Sass17.7%35731
SVG5.9%12011
JavaScript5.1%104512
PO File1.6%32101
Ruby0.3%721
Markdown0.3%602
CSS0.1%202
Total 2,022 235 24

PHP Code Analysis | More results »

Lines of code 634
Total complexity 114
Median class complexity 26.0
Median method complexity 2.0
Most complex class Vk_Admin
Most complex function Vk_Admin::get_admin_banner()
Classes 3
Methods 24
Functions 6

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
vk-block-patternsVK Block Patterns

Meta Boxes

{
    "dashboard": {
        "vk_dashboard_widget": {
            "title": "Vektor WordPress Information",
            "context": "normal"
        }
    }
}

Capabilities 1

PHP Error Log 4 lines

[16-Apr-2021 17:05:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/vk-block-patterns/admin/admin-role.php on line 36
[16-Apr-2021 17:05:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/vk-block-patterns/admin/admin-role.php on line 36
[16-Apr-2021 17:05:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/vk-block-patterns/admin/admin-role.php on line 36
[16-Apr-2021 17:05:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/vk-block-patterns/admin/admin-role.php on line 36
See also: All tests for this plugin, How to Hide VK Block Patterns Admin Menus and More