Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲5.18MB] [CPU: ▲34.75ms] 75% from 4 tests
Server-side resources used by Gutentor - Gutenberg Blocks - Page Builder for Gutenberg Editor
Please fix the following
- Extra RAM: Extra memory usage should kept under 5MB (currently 5.18MB on /wp-admin/admin.php?page=gutentor)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.65 ▲5.19 | 84.30 ▲39.35 |
Dashboard /wp-admin | 8.53 ▲5.22 | 139.97 ▲82.79 |
Posts /wp-admin/edit.php | 8.54 ▲5.18 | 80.47 ▲31.25 |
Add New Post /wp-admin/post-new.php | 12.16 ▲6.27 | 126.75 ▲34.24 |
Media Library /wp-admin/upload.php | 8.35 ▲5.12 | 71.69 ▲34.16 |
Settings /wp-admin/admin.php?page=gutentor-settings | 8.37 | 68.85 |
License /wp-admin/admin.php?page=gutentor-pro-license | 8.35 | 61.33 |
Blocks /wp-admin/admin.php?page=gutentor-blocks | 8.39 | 71.24 |
Getting Started /wp-admin/admin.php?page=gutentor | 8.41 | 71.80 |
Server storage [IO: ▲13.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 573 new files
Database: no new tables, 11 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
__gutentor_do_redirect |
agent_d045983d122a96f235928702675643f8 |
db_upgraded |
widget_gutentor_wp_block_widget |
__gutentor_helper_options |
widget_theysaidso_widget |
gutentor_settings_options |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Gutentor - Gutenberg Blocks - Page Builder for Gutenberg Editor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,029 ▲268 | 13.88 ▼0.39 | 14.17 ▲11.96 | 44.49 ▲0.19 |
Dashboard /wp-admin | 2,283 ▲103 | 5.66 ▼0.00 | 92.21 ▼6.29 | 44.06 ▼1.73 |
Posts /wp-admin/edit.php | 2,185 ▲85 | 2.00 ▲0.02 | 40.27 ▲2.85 | 35.00 ▼0.18 |
Add New Post /wp-admin/post-new.php | 1,602 ▲74 | 26.26 ▲3.23 | 804.79 ▲115.02 | 38.98 ▼8.34 |
Media Library /wp-admin/upload.php | 1,487 ▲87 | 4.18 ▼0.00 | 99.82 ▼20.04 | 46.02 ▼1.00 |
Settings /wp-admin/admin.php?page=gutentor-settings | 1,150 | 11.13 | 265.96 | 29.62 |
License /wp-admin/admin.php?page=gutentor-pro-license | 1,257 | 3.29 | 44.94 | 25.02 |
Blocks /wp-admin/admin.php?page=gutentor-blocks | 2,992 | 14.09 | 131.20 | 43.71 |
Getting Started /wp-admin/admin.php?page=gutentor | 1,640 | 14.15 | 122.69 | 185.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 11 options
- __gutentor_helper_options
- theysaidso_admin_options
- __gutentor_do_redirect
- widget_recent-comments
- gutentor_settings_options
- widget_gutentor_wp_block_widget
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- agent_d045983d122a96f235928702675643f8
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/gutentor/gutentor.php
- > /wp-content/plugins/gutentor/includes/admin/templates/settings.php
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/gutentor/page-templates/template-gutentor-canvas.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/gutentor/includes/admin/templates/admin-page.php:4
- > PHP Fatal error
Uncaught Error: Class 'Gutentor_Helper' not found in wp-content/plugins/gutentor/includes/admin/class-gutentor-admin.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/gutentor/includes/admin/templates/getting-started-page.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/gutentor/includes/sidebar-widget/class-gutentor-wp-block-widget.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function gutentor_is_fse_template() in wp-content/plugins/gutentor/page-templates/template-gutentor-full-width.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gutentor/includes/admin/settings/class-admin-settings.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
gutentor/gutentor.php 92% from 13 tests
"Gutentor - Gutenberg Blocks - Page Builder for Gutenberg Editor" version 3.2.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 142 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected66,818 lines of code in 503 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 225 | 133 | 148 | 34,022 |
PHP | 106 | 3,484 | 8,804 | 24,105 |
CSS | 149 | 1,410 | 32 | 6,198 |
JavaScript | 23 | 271 | 234 | 2,493 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please tend to the following items
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 120)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 54.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 838.00 |
Average method complexity | 8.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 120.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 98 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 98 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 705 | |
▷ Static methods | 121 | 17.16% |
▷ Public methods | 674 | 95.60% |
▷ Protected methods | 7 | 0.99% |
▷ Private methods | 24 | 3.40% |
Functions | 109 | |
▷ Named functions | 90 | 82.57% |
▷ Anonymous functions | 19 | 17.43% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 compressed PNG files occupy 0.36MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/admin/widget-designing.png | 84.63KB | 89.93KB | 0.00% |
assets/img/admin/template-library.png | 108.05KB | 113.90KB | 0.00% |
assets/img/gutentor-white-logo.png | 0.50KB | 0.52KB | 0.00% |
assets/img/admin/start-designing.png | 92.79KB | 97.30KB | 0.00% |
assets/img/gutentor-settings.png | 16.40KB | 16.81KB | 0.00% |