Benchmarks
Plugin footprint 83% 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 gracefully, with no errors
Server metrics [RAM: ▲2.14MB] [CPU: ▲9.43ms] Passed 4 tests
This is a short check of server-side resources used by Gutenberg Blocks - PublishPress Blocks Gutenberg Editor Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.32 ▲1.85 | 52.16 ▲11.93 |
Dashboard /wp-admin | 5.59 ▲2.24 | 64.14 ▼1.41 |
Posts /wp-admin/edit.php | 5.61 ▲2.25 | 61.13 ▲11.72 |
Add New Post /wp-admin/post-new.php | 8.38 ▲2.49 | 122.12 ▲31.43 |
Media Library /wp-admin/upload.php | 5.45 ▲2.21 | 51.19 ▲15.49 |
Block Config /wp-admin/admin.php?&page=advgb-video | 5.42 | 44.36 |
Block Styles /wp-admin/admin.php?page=advgb_custom_styles | 5.42 | 47.61 |
Block Config /wp-admin/admin.php?&page=advgb-table | 5.42 | 48.76 |
Block Config /wp-admin/admin.php?&page=advgb-newsletter | 5.43 | 45.19 |
Synced Patterns /wp-admin/edit.php?post_type=wp_block | 5.56 | 49.74 |
Block Config /wp-admin/admin.php?&page=advgb-columns | 5.42 | 45.68 |
Block Config /wp-admin/admin.php?&page=advgb-adv-tabs | 5.42 | 47.37 |
Block Config /wp-admin/admin.php?&page=advgb-list | 5.42 | 45.66 |
Block Config /wp-admin/admin.php?&page=advgb-testimonial | 5.42 | 44.85 |
PublishPress Blocks /wp-admin/admin.php?page=advgb_block_settings | 5.47 | 46.51 |
Server storage [IO: ▲8.74MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 282 new files
Database: no new tables, 9 new options
New WordPress options |
---|
advanced-gutenberg_wp_reviews_installed_on |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
advgb_version |
widget_recent-comments |
theysaidso_admin_options |
advgb_settings |
Browser metrics Passed 4 tests
Gutenberg Blocks - PublishPress Blocks Gutenberg Editor Plugin: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,082 ▲320 | 25.18 ▲10.93 | 5.08 ▲3.29 | 27.00 ▼16.87 |
Dashboard /wp-admin | 2,253 ▲79 | 5.82 ▲0.28 | 93.09 ▼9.96 | 41.93 ▼4.17 |
Posts /wp-admin/edit.php | 2,160 ▲60 | 1.99 ▲0.04 | 39.64 ▲2.45 | 38.52 ▲3.83 |
Add New Post /wp-admin/post-new.php | 6,286 ▲4,760 | 20.70 ▼2.43 | 919.65 ▲231.78 | 37.22 ▼19.33 |
Media Library /wp-admin/upload.php | 1,458 ▲58 | 4.19 ▼0.04 | 97.08 ▼0.97 | 44.68 ▲2.40 |
Block Config /wp-admin/admin.php?&page=advgb-video | 1,046 | 2.18 | 30.89 | 27.88 |
Block Styles /wp-admin/admin.php?page=advgb_custom_styles | 1,717 | 12.91 | 163.38 | 183.41 |
Block Config /wp-admin/admin.php?&page=advgb-table | 871 | 2.09 | 30.23 | 25.14 |
Block Config /wp-admin/admin.php?&page=advgb-newsletter | 1,209 | 1.83 | 39.66 | 28.65 |
Synced Patterns /wp-admin/edit.php?post_type=wp_block | 1,191 | 6.45 | 67.13 | 30.13 |
Block Config /wp-admin/admin.php?&page=advgb-columns | 1,072 | 2.09 | 29.01 | 24.69 |
Block Config /wp-admin/admin.php?&page=advgb-adv-tabs | 1,193 | 1.89 | 43.77 | 27.83 |
Block Config /wp-admin/admin.php?&page=advgb-list | 1,035 | 2.18 | 34.30 | 26.10 |
Block Config /wp-admin/admin.php?&page=advgb-testimonial | 1,089 | 1.84 | 40.30 | 26.14 |
PublishPress Blocks /wp-admin/admin.php?page=advgb_block_settings | 1,550 | 12.47 | 103.08 | 176.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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: 9 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- advgb_version
- can_compress_scripts
- advanced-gutenberg_wp_reviews_installed_on
- advgb_settings
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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 perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/advanced-gutenberg/lib/vendor/publishpress/wordpress-version-notices/templates/top-notice/notice.php
- > /wp-content/plugins/advanced-gutenberg/lib/vendor/publishpress/wordpress-version-notices/templates/menu-link/menu-link-script.php
- 23× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'PublishPress\\Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/advanced-gutenberg/lib/vendor/publishpress/psr-container/lib/psr/container/src/NotFoundExceptionInterface.php:14
- > PHP Notice
Undefined variable: linkURL in wp-content/plugins/advanced-gutenberg/lib/vendor/publishpress/wordpress-version-notices/templates/top-notice/notice.php on line 2
- > PHP Fatal error
Uncaught Error: Interface 'PublishPress\\Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/advanced-gutenberg/lib/vendor/publishpress/pimple-pimple/lib/pimple/pimple/src/Pimple/Exception/FrozenServiceException.php:39
- > PHP Fatal error
Uncaught Error: Interface 'PublishPress\\Psr\\Container\\ContainerInterface' not found in wp-content/plugins/advanced-gutenberg/lib/vendor/publishpress/pimple-pimple/lib/pimple/pimple/src/Pimple/Psr11/Container.php:40
- > PHP Warning
Class 'PublishPress\\WordpressVersionNotices\\Template\\TemplateInvalidArgumentsException' not found in wp-content/plugins/advanced-gutenberg/lib/vendor/publishpress/wordpress-version-notices/src/deprecated.php on line 24
- > PHP Warning
Class 'PublishPress\\WordpressVersionNotices\\Module\\AdInterface' not found in wp-content/plugins/advanced-gutenberg/lib/vendor/publishpress/wordpress-version-notices/src/deprecated.php on line 15
- > PHP Warning
Class 'PublishPress\\WordpressVersionNotices\\Module\\TopNotice\\Module' not found in wp-content/plugins/advanced-gutenberg/lib/vendor/publishpress/wordpress-version-notices/src/deprecated.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/advanced-gutenberg/lib/vendor/publishpress/wordpress-version-notices/templates/menu-link/redirect-page.php:4
- > PHP Fatal error
Uncaught Error: Interface 'PublishPress\\Psr\\Container\otFoundExceptionInterface' not found in wp-content/plugins/advanced-gutenberg/lib/vendor/publishpress/pimple-pimple/lib/pimple/pimple/src/Pimple/Exception/InvalidServiceIdentifierException.php:39
- > PHP Fatal error
Uncaught Error: Interface 'PublishPress\\Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/advanced-gutenberg/lib/vendor/publishpress/pimple-pimple/lib/pimple/pimple/src/Pimple/Exception/ExpectedInvokableException.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
advanced-gutenberg/advanced-gutenberg.php Passed 13 tests
The entry point to "Gutenberg Blocks - PublishPress Blocks Gutenberg Editor Plugin" version 3.2.1 is a PHP file that has certain tags in its header comment area
101 characters long description:
PublishPress Blocks has everything you need to build professional websites with the Gutenberg editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected54,157 lines of code in 169 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 11 | 13,458 | 17,646 | 27,973 |
PHP | 77 | 1,672 | 3,246 | 12,380 |
JavaScript | 43 | 1,118 | 1,060 | 9,511 |
SVG | 4 | 0 | 3 | 2,373 |
JSON | 14 | 0 | 0 | 1,412 |
CSS | 20 | 70 | 41 | 508 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 30.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 696.00 |
Average method complexity | 4.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 1 | 2.94% |
▷ Concrete classes | 33 | 97.06% |
▷ Final classes | 2 | 6.06% |
Methods | 304 | |
▷ Static methods | 58 | 19.08% |
▷ Public methods | 259 | 85.20% |
▷ Protected methods | 3 | 0.99% |
▷ Private methods | 42 | 13.82% |
Functions | 72 | |
▷ Named functions | 47 | 65.28% |
▷ Anonymous functions | 25 | 34.72% |
Constants | 27 | |
▷ Global constants | 21 | 77.78% |
▷ Class constants | 6 | 22.22% |
▷ Public constants | 6 | 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
58 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/blocks/recent-posts/icons/4-4.png | 0.37KB | 0.11KB | ▼ 70.79% |
assets/blocks/recent-posts/icons/np-3-1.png | 0.35KB | 0.10KB | ▼ 72.65% |
assets/blocks/recent-posts/icons/np-1-5-r.png | 0.36KB | 0.10KB | ▼ 71.70% |
assets/blocks/columns/icons/100-12-12.png | 0.15KB | 0.15KB | 0.00% |
assets/blocks/recent-posts/icons/np-3-3.png | 0.36KB | 0.11KB | ▼ 70.89% |