Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/power-blocks/power-blocks.php+129
Use of undefined constant PowerBlocks_VERSION - assumed 'PowerBlocks_VERSION' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼0.25MB] [CPU: ▼14.58ms] Passed 4 tests
Server-side resources used by Power Blocks - Powerful and Feature Rich Blocks for Gutenberg
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.90 ▼4.78 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.24 ▼14.39 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.53 ▲3.78 |
Add New Post /wp-admin/post-new.php | 4.83 ▼1.06 | 55.06 ▼36.92 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.81 ▼2.23 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
powerblocks_version |
powerblocks_installed |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Power Blocks - Powerful and Feature Rich Blocks for Gutenberg: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲75 | 14.80 ▲0.64 | 1.92 ▲0.31 | 43.34 ▼1.36 |
Dashboard /wp-admin | 2,206 ▲21 | 5.81 ▼0.05 | 115.40 ▼11.25 | 46.59 ▼10.09 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.04 | 36.87 ▼3.82 | 39.22 ▲2.89 |
Add New Post /wp-admin/post-new.php | 6,182 ▲4,662 | 26.19 ▲3.09 | 896.05 ▲211.47 | 65.18 ▲6.38 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.10 ▼0.19 | 100.25 ▼4.84 | 44.48 ▼0.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- can_compress_scripts
- theysaidso_admin_options
- powerblocks_version
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- powerblocks_installed
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (Callout box) image required
power-blocks/power-blocks.php Passed 13 tests
The main file in "Power Blocks - Powerful and Feature Rich Blocks for Gutenberg" v. 0.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
68 characters long description:
Powerful and feature rich blocks for the WordPress 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 detected222 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 32 | 112 | 93 |
JavaScript | 3 | 13 | 48 | 84 |
Sass | 2 | 7 | 1 | 44 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin