Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲1.38MB] [CPU: ▼275.52ms] Passed 4 tests
A check of server-side resources used by Gutenberg Blocks - PublishPress Blocks Gutenberg Editor Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.69 ▲1.18 | 91.10 ▲19.94 |
Dashboard /wp-admin | 4.83 ▲1.43 | 47.25 ▲5.18 |
Posts /wp-admin/edit.php | 5.09 ▲1.44 | 59.23 ▲10.44 |
Add New Post /wp-admin/post-new.php | 8.63 ▲1.66 | 139.21 ▼1,128.75 |
Media Library /wp-admin/upload.php | 4.79 ▲1.49 | 43.10 ▲11.06 |
Block Config /wp-admin/admin.php?&page=advgb-woo-products | 4.88 | 36.93 |
Block Config /wp-admin/admin.php?&page=advgb-newsletter | 4.88 | 36.26 |
Block Config /wp-admin/admin.php?&page=advgb-image | 4.88 | 37.01 |
Block Config /wp-admin/admin.php?&page=advgb-images-slider | 4.88 | 33.82 |
Block Config /wp-admin/admin.php?&page=advgb-recent-posts | 4.84 | 30.94 |
Block Config /wp-admin/admin.php?&page=advgb-contact-form | 4.88 | 33.91 |
Block Config /wp-admin/admin.php?&page=advgb-button | 4.88 | 34.80 |
Block Config /wp-admin/admin.php?&page=advgb-icon | 4.88 | 35.04 |
Block Config /wp-admin/admin.php?&page=advgb-summary | 4.88 | 32.36 |
Block Config /wp-admin/admin.php?&page=advgb-list | 4.88 | 34.94 |
Server storage [IO: ▲7.03MB] [DB: ▲0.06MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 221 new files
Database: no new tables, 4 new options
New WordPress options |
---|
advgb_version |
advgb_blocks_list |
advgb_settings |
advanced-gutenberg_wp_reviews_installed_on |
Browser metrics Passed 4 tests
An overview of browser requirements for Gutenberg Blocks - PublishPress Blocks Gutenberg Editor Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,309 ▲555 | 28.10 ▲12.36 | 14.67 ▲1.44 | 3.62 ▼0.20 |
Dashboard /wp-admin | 2,947 ▲64 | 6.47 ▲0.10 | 189.99 ▲4.17 | 210.00 ▼0.35 |
Posts /wp-admin/edit.php | 2,714 ▲29 | 3.56 ▲0.13 | 86.24 ▼3.86 | 168.93 ▼15.36 |
Add New Post /wp-admin/post-new.php | 1,810 ▲175 | 19.33 ▼3.18 | 626.99 ▼19.62 | 197.57 ▲2.03 |
Media Library /wp-admin/upload.php | 1,722 ▲25 | 5.67 ▼0.02 | 176.13 ▼8.91 | 247.70 ▲9.24 |
Block Config /wp-admin/admin.php?&page=advgb-woo-products | 1,107 | 3.04 | 75.96 | 108.03 |
Block Config /wp-admin/admin.php?&page=advgb-newsletter | 1,551 | 3.20 | 98.99 | 121.05 |
Block Config /wp-admin/admin.php?&page=advgb-image | 1,416 | 3.17 | 83.00 | 117.61 |
Block Config /wp-admin/admin.php?&page=advgb-images-slider | 1,392 | 3.17 | 82.72 | 110.59 |
Block Config /wp-admin/admin.php?&page=advgb-recent-posts | 835 | 2.53 | 50.10 | 69.42 |
Block Config /wp-admin/admin.php?&page=advgb-contact-form | 1,534 | 3.20 | 99.67 | 119.06 |
Block Config /wp-admin/admin.php?&page=advgb-button | 1,692 | 3.26 | 103.49 | 108.76 |
Block Config /wp-admin/admin.php?&page=advgb-icon | 1,096 | 3.06 | 73.19 | 89.38 |
Block Config /wp-admin/admin.php?&page=advgb-summary | 1,197 | 3.11 | 73.17 | 108.85 |
Block Config /wp-admin/admin.php?&page=advgb-list | 1,284 | 3.07 | 89.48 | 110.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.06MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 4 options
- advgb_settings
- advgb_blocks_list
- advanced-gutenberg_wp_reviews_installed_on
- advgb_version
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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× 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/advanced-gutenberg/review/review-request.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: gutenberg block, gutenberg, blocks, gutenberg blocks, block editor
advanced-gutenberg/advanced-gutenberg.php Passed 13 tests
"Gutenberg Blocks - PublishPress Blocks Gutenberg Editor Plugin" version 2.12.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
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 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected82,780 lines of code in 124 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 49 | 5,923 | 4,563 | 45,490 |
PO File | 11 | 11,966 | 15,845 | 24,428 |
PHP | 27 | 988 | 1,672 | 8,857 |
SVG | 4 | 0 | 3 | 2,373 |
JSON | 6 | 0 | 0 | 1,043 |
CSS | 25 | 58 | 60 | 435 |
Markdown | 1 | 54 | 0 | 143 |
XML | 1 | 3 | 1 | 11 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 94.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 597.00 |
Average method complexity | 5.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 164 | |
▷ Static methods | 18 | 10.98% |
▷ Public methods | 145 | 88.41% |
▷ Protected methods | 1 | 0.61% |
▷ Private methods | 18 | 10.98% |
Functions | 46 | |
▷ Named functions | 40 | 86.96% |
▷ Anonymous functions | 6 | 13.04% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
58 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/blocks/columns/icons/14-34.png | 0.13KB | 0.13KB | 0.00% |
assets/blocks/recent-posts/icons/np-1-5-r.png | 0.36KB | 0.10KB | ▼ 71.70% |
assets/blocks/columns/icons/12-12-100.png | 0.15KB | 0.15KB | 0.00% |
assets/blocks/columns/icons/36-16-16-16.png | 0.15KB | 0.15KB | 0.00% |
assets/blocks/recent-posts/icons/1-3.png | 0.37KB | 0.10KB | ▼ 71.66% |