Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.12MB] [CPU: ▼9.97ms] Passed 4 tests
A check of server-side resources used by UltraBlocks - Advanced Blocks for WP Gutenberg
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 43.49 ▼1.49 |
Dashboard /wp-admin | 3.45 ▲0.14 | 51.66 ▲2.62 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 56.59 ▲4.50 |
Add New Post /wp-admin/post-new.php | 4.96 ▼0.93 | 62.04 ▼45.51 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 43.19 ▲4.83 |
Support /wp-admin/admin.php?page=fest-ultra-addons-gutenberg-support | 3.34 | 35.90 |
About /wp-admin/admin.php?page=fest-ultra-addons-gutenberg-about | 3.41 | 31.94 |
Settings /wp-admin/admin.php?page=fest-ultra-addons-gutenberg | 3.34 | 39.07 |
Server storage [IO: ▲35.10MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
It is recommended to fix the following issues
- The filesystem usage should be lower than 25MB (currently using 35.10MB)
Filesystem: 650 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by UltraBlocks - Advanced Blocks for WP Gutenberg
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲185 | 14.78 ▲0.50 | 7.02 ▲5.04 | 43.13 ▲0.38 |
Dashboard /wp-admin | 2,259 ▲82 | 5.55 ▼0.06 | 108.25 ▲14.63 | 41.22 ▲0.65 |
Posts /wp-admin/edit.php | 2,244 ▲147 | 2.70 ▲0.69 | 46.17 ▲8.84 | 37.74 ▲1.30 |
Add New Post /wp-admin/post-new.php | 1,724 ▲198 | 25.13 ▲1.40 | 702.73 ▲1.76 | 37.23 ▼13.82 |
Media Library /wp-admin/upload.php | 1,470 ▲73 | 5.03 ▲0.84 | 107.94 ▼2.87 | 46.51 ▲0.81 |
Support /wp-admin/admin.php?page=fest-ultra-addons-gutenberg-support | 910 | 2.32 | 36.94 | 56.28 |
About /wp-admin/admin.php?page=fest-ultra-addons-gutenberg-about | 1,455 | 2.32 | 31.17 | 59.48 |
Settings /wp-admin/admin.php?page=fest-ultra-addons-gutenberg | 2,281 | 2.38 | 31.16 | 61.22 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ultra-blocks-free-by-fest/help/about-template.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ultra-blocks-free-by-fest/fw-templates/ub-fw-no-sidebar.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function ub_fw_no_content_get_header() in wp-content/plugins/ultra-blocks-free-by-fest/fw-templates/ub-fw-no-header-footer.php:4
- > PHP Fatal error
require_once(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/ultra-blocks-free-by-fest/bundler.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/ultra-blocks-free-by-fest/help/about-template.php:140
- > PHP Warning
require_once(vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/ultra-blocks-free-by-fest/bundler.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultra-blocks-free-by-fest/fw-templates/helpers.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/ultra-blocks-free-by-fest/fw-templates/ub-fw-fullwidth.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=fest-ultra-addons-gutenberg
- > Console-api (warning) in unknown
http://maps.googleapis.com/maps/api/js?key&libraries=places&ver=6.3.1 235:51 "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Requires php: Invalid version format
ultra-blocks-free-by-fest/ultra-blocks.php 77% from 13 tests
The entry point to "UltraBlocks - Advanced Blocks for WP Gutenberg" version 1.0.5 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ultra-blocks-free-by-fest.php" instead of "ultra-blocks.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 343 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
Good job! No executable or dangerous file extensions detected35,923 lines of code in 423 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 284 | 3,565 | 291 | 28,280 |
Sass | 52 | 1,033 | 22 | 5,307 |
PHP | 42 | 34,103 | 54,060 | 1,869 |
Markdown | 3 | 101 | 0 | 337 |
JSON | 2 | 0 | 0 | 89 |
SVG | 38 | 0 | 0 | 38 |
CSS | 2 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 3.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 1.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 33 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 156 | |
▷ Static methods | 7 | 4.49% |
▷ Public methods | 155 | 99.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.64% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
58 PNG files occupy 1.48MB with 0.52MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
help/countdown.png | 46.35KB | 21.77KB | ▼ 53.04% |
images/logos/logo3.png | 14.01KB | 7.28KB | ▼ 48.04% |
images/features/f3.png | 2.89KB | 1.93KB | ▼ 33.27% |
images/flip-box/question.png | 3.32KB | 3.82KB | 0.00% |
images/features/f1.png | 2.69KB | 1.59KB | ▼ 40.94% |