Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.10MB] [CPU: ▼9.93ms] Passed 4 tests
An overview of server-side resources used by Guteblock - Ultimate Gutenberg Blocks Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.19 | 42.44 ▼6.13 |
Dashboard /wp-admin | 3.51 ▲0.17 | 53.18 ▲0.15 |
Posts /wp-admin/edit.php | 3.62 ▲0.23 | 50.10 ▲0.07 |
Add New Post /wp-admin/post-new.php | 5.02 ▼0.90 | 60.20 ▼32.62 |
Media Library /wp-admin/upload.php | 3.43 ▲0.16 | 38.39 ▼1.05 |
Settings /wp-admin/admin.php?page=guteblock-plugin-settings | 3.40 | 35.73 |
About Guteblock /wp-admin/admin.php?page=guteblock | 3.40 | 37.18 |
Server storage [IO: ▲3.99MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 181 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Guteblock - Ultimate Gutenberg Blocks Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲183 | 13.53 ▼1.03 | 11.41 ▲9.76 | 36.32 ▼7.86 |
Dashboard /wp-admin | 2,252 ▲75 | 5.59 ▼0.08 | 85.60 ▼22.96 | 39.69 ▼8.22 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 1.98 ▼0.05 | 34.80 ▲0.76 | 32.11 ▼3.80 |
Add New Post /wp-admin/post-new.php | 6,396 ▲4,868 | 22.71 ▼0.33 | 886.65 ▲204.56 | 36.16 ▼25.59 |
Media Library /wp-admin/upload.php | 1,454 ▲51 | 4.21 ▲0.09 | 96.64 ▼7.10 | 43.59 ▼4.95 |
Settings /wp-admin/admin.php?page=guteblock-plugin-settings | 992 | 2.15 | 25.16 | 53.99 |
About Guteblock /wp-admin/admin.php?page=guteblock | 1,222 | 2.05 | 25.60 | 47.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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 fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/guteblock/inc/settings/settings.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/guteblock/inc/newsletter/newsletter.php:4
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: gutenberg blocks, guteblock, block, blocks, gutenberg...
guteblock/plugin.php 92% from 13 tests
"Guteblock - Ultimate Gutenberg Blocks Plugin" version 1.1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("guteblock.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin32,373 lines of code in 100 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 59 | 578 | 209 | 27,674 |
Sass | 32 | 180 | 64 | 2,749 |
CSS | 3 | 208 | 12 | 1,062 |
PHP | 4 | 132 | 34 | 865 |
SVG | 1 | 9 | 0 | 21 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
9 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/blocks/blockquote/assets/images/Blockquote-quote.png | 1.93KB | 1.87KB | ▼ 3.28% |
inc/settings/images/blocks-sprite.png | 65.82KB | 69.14KB | 0.00% |
src/blocks/team-member/assets/images/icon-twitter.png | 1.21KB | 0.24KB | ▼ 80.44% |
src/blocks/team-member/assets/images/icon-pinterest.png | 1.25KB | 0.24KB | ▼ 80.80% |
src/blocks/team-member/assets/images/icon-facebook.png | 1.16KB | 0.19KB | ▼ 83.36% |