Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲1.94MB] [CPU: ▲26.24ms] Passed 4 tests
This is a short check of server-side resources used by VK Blocks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.45 ▲1.98 | 72.96 ▲31.10 |
Dashboard /wp-admin | 5.24 ▲1.94 | 243.92 ▲192.06 |
Posts /wp-admin/edit.php | 5.29 ▲1.92 | 71.32 ▲19.27 |
Add New Post /wp-admin/post-new.php | 8.63 ▲2.73 | 117.49 ▲22.03 |
Media Library /wp-admin/upload.php | 5.16 ▲1.92 | 67.04 ▲32.56 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 5.26 | 55.16 |
VK Blocks /wp-admin/options-general.php?page=vk_blocks_options | 5.61 | 248.33 |
Server storage [IO: ▲13.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 538 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
vk_css_optimize_options |
db_upgraded |
theysaidso_admin_options |
vk_font_awesome_version |
widget_recent-comments |
vk_blocks_options |
Browser metrics Passed 4 tests
Checking browser requirements for VK Blocks
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,969 ▲207 | 14.79 ▲0.48 | 3.50 ▲1.83 | 45.04 ▲3.31 |
Dashboard /wp-admin | 2,314 ▲140 | 5.88 ▲0.33 | 104.93 ▲4.78 | 93.53 ▲41.86 |
Posts /wp-admin/edit.php | 2,174 ▲74 | 2.32 ▲0.35 | 42.26 ▲0.61 | 39.47 ▲3.96 |
Add New Post /wp-admin/post-new.php | 1,613 ▲87 | 23.98 ▲0.77 | 703.04 ▲65.31 | 37.12 ▼19.79 |
Media Library /wp-admin/upload.php | 1,471 ▲68 | 4.46 ▲0.20 | 104.40 ▲4.58 | 47.39 ▲4.27 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 1,028 | 2.06 | 27.88 | 29.94 |
VK Blocks /wp-admin/options-general.php?page=vk_blocks_options | 2,258 | 13.29 | 464.30 | 135.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 9 options
- widget_recent-posts
- vk_blocks_options
- can_compress_scripts
- widget_theysaidso_widget
- vk_css_optimize_options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- vk_font_awesome_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 73× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vk-blocks/inc/vk-customize-helpers/package/vk-customize-helpers.php:2
- > PHP Fatal error
Uncaught Error: Class 'VektorInc\\VK_Admin\\VkAdmin' not found in wp-content/plugins/vk-blocks/inc/vk-blocks/admin/admin.php:9
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\PucFactory' not found in wp-content/plugins/vk-blocks/vendor/yahnis-elsts/plugin-update-checker/Puc/v5/PucFactory.php:7
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\DebugBar\\Panel' not found in wp-content/plugins/vk-blocks/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p2/DebugBar/ThemePanel.php:9
- > PHP Fatal error
Uncaught Error: Class 'VektorInc\\VK_Breadcrumb\\VkBreadcrumb' not found in wp-content/plugins/vk-blocks/vendor/vektor-inc/vk-breadcrumb/tests/test-vk-breadcrumb.php:3
- > PHP Fatal error
Uncaught Error: Class 'YahnisElsts\\PluginUpdateChecker\\v5p2\\Plugin\\UpdateChecker' not found in wp-content/plugins/vk-blocks/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p2/Vcs/PluginUpdateChecker.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/vk-blocks/vendor/vektor-inc/vk-css-optimize/src/CustomTextControl.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vk-blocks/inc/vk-blocks/build/blocks/staff/index.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function VektorInc\\VK_Color_Palette_Manager\\add_action() in wp-content/plugins/vk-blocks/vendor/vektor-inc/vk-color-palette-manager/src/VkColorPaletteManager.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/vk-blocks/inc/vk-blocks/extensions/core/list.php:85
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=vk_blocks_options
- > Console-api (severe) in wp-includes/js/dist/data.min.js?ver=ff7eb3945f963be850ff+1:19276
Store \"vk-blocks/block-editor\" is already registered.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Please describe screenshot #2 in vk-blocks/assets to your readme.txt
- Donate link: Please fix this invalid URI: ""
vk-blocks/vk-blocks.php Passed 13 tests
This is the main PHP file of "VK Blocks" version 1.64.1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
43 characters long description:
This is a plugin that extends Block Editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin69,373 lines of code in 417 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 131 | 3,085 | 7,077 | 15,195 |
CSS | 40 | 1,491 | 76 | 13,127 |
PO File | 56 | 4,311 | 6,820 | 12,302 |
Sass | 137 | 1,657 | 1,411 | 9,645 |
SVG | 11 | 0 | 17 | 8,946 |
JavaScript | 13 | 2,044 | 1,866 | 7,865 |
JSON | 24 | 8 | 0 | 1,567 |
Markdown | 3 | 144 | 0 | 698 |
XML | 2 | 4 | 4 | 28 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 24.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 207.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 1 | |
Traits | 3 | |
Classes | 71 | |
▷ Abstract classes | 5 | 7.04% |
▷ Concrete classes | 66 | 92.96% |
▷ Final classes | 0 | 0.00% |
Methods | 716 | |
▷ Static methods | 207 | 28.91% |
▷ Public methods | 532 | 74.30% |
▷ Protected methods | 162 | 22.63% |
▷ Private methods | 22 | 3.07% |
Functions | 111 | |
▷ Named functions | 89 | 80.18% |
▷ Anonymous functions | 22 | 19.82% |
Constants | 28 | |
▷ Global constants | 11 | 39.29% |
▷ Class constants | 17 | 60.71% |
▷ Public constants | 17 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.21MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 98.17KB | 24.87KB | ▼ 74.67% |
inc/vk-blocks/admin/images/vk-blocks-logo.png | 7.94KB | 4.51KB | ▼ 43.22% |
inc/vk-blocks/build/images/no-image.0a9958a4.png | 9.74KB | 4.66KB | ▼ 52.17% |
screenshot-2.png | 86.41KB | 23.18KB | ▼ 73.17% |
inc/vk-blocks/images/no-image.png | 9.74KB | 4.66KB | ▼ 52.17% |