Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲8.15MB] [CPU: ▲41.99ms] 50% from 4 tests
Server-side resources used by Kenta Gutenberg Blocks – Responsive Blocks and block templates library for Gutenberg Editor
The following require your attention
- RAM: Try to keep total memory usage under 10MB (currently 11.93MB on /wp-admin/admin.php?page=kenta-blocks)
- Extra RAM: Extra memory usage must be kept under 5MB (currently 8.15MB on /wp-admin/admin.php?page=kenta-blocks)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 11.95 ▲8.48 | 85.25 ▲48.16 |
Dashboard /wp-admin | 11.93 ▲8.59 | 94.72 ▲42.09 |
Posts /wp-admin/edit.php | 11.93 ▲8.58 | 79.85 ▲32.02 |
Add New Post /wp-admin/post-new.php | 12.84 ▲6.95 | 145.93 ▲45.67 |
Media Library /wp-admin/upload.php | 11.93 ▲8.70 | 92.25 ▲61.52 |
Support Forum /wp-admin/admin.php?page=kenta-blocks-wp-support-forum | 11.93 | 63.22 |
Opt In /wp-admin/admin.php?page=kenta-blocks-optin | 11.93 | 79.94 |
Upgrade ➤ /wp-admin/admin.php?page=kenta-blocks-pricing | 11.93 | 65.59 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 11.93 | 69.32 |
Contact Us /wp-admin/admin.php?page=kenta-blocks-contact | 11.93 | 66.21 |
Kenta Blocks /wp-admin/admin.php?page=kenta-blocks | 11.93 | 67.60 |
Server storage [IO: ▲12.83MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 336 new files
Database: no new tables, 11 new options
New WordPress options |
---|
fs_active_plugins |
kb_plugin_version |
widget_theysaidso_widget |
kenta_blocks_dynamic_assets_posts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
fs_debug_mode |
db_upgraded |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Kenta Gutenberg Blocks – Responsive Blocks and block templates library for Gutenberg Editor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲112 | 14.37 ▼0.15 | 1.81 ▲0.01 | 32.29 ▼8.59 |
Dashboard /wp-admin | 2,285 ▲110 | 5.60 ▼0.10 | 86.77 ▼10.87 | 80.89 ▲41.17 |
Posts /wp-admin/edit.php | 2,191 ▲88 | 2.03 ▲0.01 | 38.86 ▲0.61 | 37.52 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,773 ▲247 | 25.06 ▲1.86 | 862.82 ▲204.21 | 199.02 ▲147.48 |
Media Library /wp-admin/upload.php | 1,478 ▲84 | 4.24 ▲0.05 | 104.70 ▲7.44 | 79.90 ▲37.66 |
Support Forum /wp-admin/admin.php?page=kenta-blocks-wp-support-forum | 1,516 | 3.98 | 80.28 | 87.87 |
Opt In /wp-admin/admin.php?page=kenta-blocks-optin | 1,044 | 1.70 | 25.64 | 58.27 |
Upgrade ➤ /wp-admin/admin.php?page=kenta-blocks-pricing | 1,826 | 3.26 | 58.51 | 99.13 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,128 | 1.70 | 24.35 | 27.34 |
Contact Us /wp-admin/admin.php?page=kenta-blocks-contact | 1,597 | 3.16 | 51.91 | 48.84 |
Kenta Blocks /wp-admin/admin.php?page=kenta-blocks | 1,304 | 10.57 | 257.49 | 39.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/kenta-blocks/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 11 options in the database
- db_upgraded
- theysaidso_admin_options
- fs_debug_mode
- fs_accounts
- widget_recent-comments
- widget_recent-posts
- kb_plugin_version
- fs_active_plugins
- can_compress_scripts
- widget_theysaidso_widget
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 31× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'KentaBlocks\\Css' not found in wp-content/plugins/kenta-blocks/inc/blocks/query-pagination.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function kenta_blocks_advanced_attrs() in wp-content/plugins/kenta-blocks/inc/blocks/slides.php:77
- > PHP Fatal error
Uncaught Error: Call to undefined function kenta_blocks_container_global_style() in wp-content/plugins/kenta-blocks/inc/blocks/section.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/kenta-blocks/inc/blocks/post-excerpt.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function kenta_blocks_position_attrs() in wp-content/plugins/kenta-blocks/inc/blocks/button.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function kenta_blocks_container_global_style() in wp-content/plugins/kenta-blocks/inc/blocks/column.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function kenta_blocks_paragraph_attrs() in wp-content/plugins/kenta-blocks/inc/blocks/heading.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function kenta_blocks_position_attrs() in wp-content/plugins/kenta-blocks/inc/blocks/button.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function kenta_blocks_container_global_style() in wp-content/plugins/kenta-blocks/inc/blocks/cover.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function kenta_blocks_advanced_attrs() in wp-content/plugins/kenta-blocks/inc/blocks/post-metas.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: editor, block editor, gutenberg blocks, page builder, blocks...
kenta-blocks/kenta-blocks.php 92% from 13 tests
The main file in "Kenta Gutenberg Blocks – Responsive Blocks and block templates library for Gutenberg Editor" v. 1.3.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 268 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin172,507 lines of code in 258 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 16 | 22,757 | 14,840 | 126,908 |
PHP | 206 | 9,024 | 19,463 | 40,296 |
CSS | 22 | 233 | 243 | 5,048 |
Markdown | 2 | 18 | 0 | 109 |
JSON | 5 | 0 | 0 | 105 |
SVG | 6 | 0 | 0 | 25 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 70.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 67 | |
▷ Abstract classes | 2 | 2.99% |
▷ Concrete classes | 65 | 97.01% |
▷ Final classes | 3 | 4.62% |
Methods | 1,444 | |
▷ Static methods | 270 | 18.70% |
▷ Public methods | 1,032 | 71.47% |
▷ Protected methods | 28 | 1.94% |
▷ Private methods | 384 | 26.59% |
Functions | 221 | |
▷ Named functions | 160 | 72.40% |
▷ Anonymous functions | 61 | 27.60% |
Constants | 159 | |
▷ Global constants | 110 | 69.18% |
▷ Class constants | 49 | 30.82% |
▷ Public constants | 49 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
21 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/images/magazine-grid/style-13.png | 0.65KB | 0.12KB | ▼ 82.01% |
assets/images/magazine-grid/style-8.png | 0.67KB | 0.12KB | ▼ 82.15% |
assets/images/magazine-grid/style-16.png | 0.64KB | 0.12KB | ▼ 81.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |