Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲2.32MB] [CPU: ▲16.32ms] Passed 4 tests
This is a short check of server-side resources used by Gutena Kit - Gutenberg Blocks and Templates
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.77 ▲1.30 | 52.18 ▲13.13 |
Dashboard /wp-admin | 6.00 ▲2.65 | 79.52 ▲10.90 |
Posts /wp-admin/edit.php | 6.02 ▲2.66 | 76.04 ▲31.99 |
Add New Post /wp-admin/post-new.php | 8.56 ▲2.67 | 118.82 ▲15.49 |
Media Library /wp-admin/upload.php | 5.92 ▲2.69 | 64.44 ▲25.75 |
Gutena /wp-admin/themes.php?page=gutenakit_admin_dashboard | 5.96 | 58.61 |
Demo Setup /wp-admin/options.php?page=merlin | 5.82 | 55.80 |
Server storage [IO: ▲1.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 74 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Gutena Kit - Gutenberg Blocks and Templates: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,525 ▲1,764 | 13.48 ▼0.87 | 1.50 ▼0.17 | 43.00 ▲3.66 |
Dashboard /wp-admin | 3,905 ▲1,725 | 5.57 ▼0.02 | 102.12 ▲3.62 | 43.65 ▲2.66 |
Posts /wp-admin/edit.php | 3,814 ▲1,714 | 1.94 ▼0.01 | 35.32 ▼1.25 | 33.38 ▼6.26 |
Add New Post /wp-admin/post-new.php | 7,923 ▲6,395 | 20.55 ▼2.71 | 885.11 ▲214.11 | 54.13 ▼4.37 |
Media Library /wp-admin/upload.php | 3,117 ▲1,717 | 4.10 ▼0.09 | 99.37 ▼16.57 | 46.23 ▼4.35 |
Gutena /wp-admin/themes.php?page=gutenakit_admin_dashboard | 2,586 | 6.27 | 154.73 | 44.38 |
Demo Setup /wp-admin/options.php?page=merlin | 1,922 | 1.82 | 16.98 | 13.04 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/gutena-kit/admin/partials/admin-dashboard.php
- > /wp-content/plugins/gutena-kit/includes/demo-import/merlin/assets/images/spinner.php
- > /wp-content/plugins/gutena-kit/public/partials/plugin-gutena-kit-display.php
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'ProteusThemes\\WPContentImporter2\\WPImporterLogger' not found in wp-content/plugins/gutena-kit/includes/demo-import/merlin/includes/class-merlin-logger.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/gutena-kit/includes/demo-import/tgmpa/class-tgm-plugin-activation.php:2029
- > PHP Fatal error
Uncaught Error: Class 'ProteusThemes\\WPContentImporter2\\WXRImporter' not found in wp-content/plugins/gutena-kit/includes/demo-import/merlin/vendor/wp-content-importer-v2/Importer.php:10
- > PHP Fatal error
Uncaught Error: Class 'ProteusThemes\\WPContentImporter2\\WPImporterLogger' not found in wp-content/plugins/gutena-kit/includes/demo-import/merlin/vendor/wp-content-importer-v2/WPImporterLoggerCLI.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/gutena-kit/includes/demo-import/merlin/includes/class-merlin-customizer-option.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Importer' not found in wp-content/plugins/gutena-kit/includes/demo-import/merlin/vendor/wp-content-importer-v2/WXRImporter.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: page builder, full site editing, wordpress blocks, gutenberg, blocks
gutena-kit/gutena-kit.php 92% from 13 tests
"Gutena Kit - Gutenberg Blocks and Templates" version 2.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 185 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin12,484 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 2,083 | 4,063 | 7,787 |
CSS | 8 | 352 | 35 | 2,866 |
SVG | 7 | 20 | 2 | 906 |
JSON | 8 | 0 | 0 | 485 |
JavaScript | 4 | 105 | 14 | 440 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 47.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 289.00 |
Average method complexity | 4.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 28 | 100.00% |
▷ Final classes | 1 | 3.57% |
Methods | 319 | |
▷ Static methods | 23 | 7.21% |
▷ Public methods | 206 | 64.58% |
▷ Protected methods | 77 | 24.14% |
▷ Private methods | 36 | 11.29% |
Functions | 28 | |
▷ Named functions | 24 | 85.71% |
▷ Anonymous functions | 4 | 14.29% |
Constants | 10 | |
▷ Global constants | 5 | 50.00% |
▷ Class constants | 5 | 50.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/logo.png | 0.46KB | 0.33KB | ▼ 29.45% |
admin/img/video-gutena-kit.png | 19.81KB | 9.30KB | ▼ 53.08% |
admin/img/video.png | 21.17KB | 10.00KB | ▼ 52.75% |