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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.20MB] [CPU: ▼2.64ms] Passed 4 tests
Analyzing server-side resources used by Block Designer - Create Custom Blocks for Gutenberg Editor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.29 | 41.99 ▼1.27 |
Dashboard /wp-admin | 3.47 ▲0.12 | 50.03 ▼9.05 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 48.24 ▼0.19 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.47 | 104.88 ▼0.05 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.35 ▲3.07 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 71 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
bd_db_version |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Block Designer - Create Custom Blocks for Gutenberg Editor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 14.28 ▲0.12 | 2.48 ▲0.74 | 43.10 ▼6.16 |
Dashboard /wp-admin | 2,227 ▲55 | 5.58 ▼0.12 | 88.73 ▼17.08 | 43.19 ▲1.36 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.03 ▲0.08 | 39.39 ▲1.72 | 36.58 ▼0.62 |
Add New Post /wp-admin/post-new.php | 1,588 ▲62 | 23.20 ▼0.06 | 691.66 ▲33.07 | 37.06 ▼25.06 |
Media Library /wp-admin/upload.php | 1,432 ▲29 | 4.21 ▲0.01 | 102.43 ▼0.59 | 43.07 ▼0.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- bd_db_version
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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
Please fix the following attributes:
- Screenshots: A description for screenshot #0 is required in block-designer/assets to your readme.txt
block-designer/block-designer.php Passed 13 tests
"Block Designer - Create Custom Blocks for Gutenberg Editor" version 1.10.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
80 characters long description:
Design individual blocks for the WordPress Block Editor without any line of code
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 plugin8,276 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 38 | 576 | 764 | 6,418 |
PHP | 20 | 347 | 219 | 1,053 |
CSS | 11 | 182 | 56 | 805 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 9.14 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 5 | 13.51% |
▷ Public methods | 30 | 81.08% |
▷ Protected methods | 2 | 5.41% |
▷ Private methods | 5 | 13.51% |
Functions | 46 | |
▷ Named functions | 17 | 36.96% |
▷ Anonymous functions | 29 | 63.04% |
Constants | 2 | |
▷ Global constants | 2 | 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
1 compressed PNG file occupies 0.20MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/app.components/AppFeedback/developer-photo.png | 209.28KB | 228.28KB | 0.00% |