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
Installer ran successfully
Server metrics [RAM: ▼0.57MB] [CPU: ▼23.28ms] Passed 4 tests
Analyzing server-side resources used by Easy Blocks - Gutenberg Blocks Collection
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.12 | 40.52 ▼7.07 |
Dashboard /wp-admin | 3.74 ▲0.17 | 51.90 ▼2.46 |
Posts /wp-admin/edit.php | 3.79 ▲0.11 | 53.63 ▼2.80 |
Add New Post /wp-admin/post-new.php | 3.55 ▼2.60 | 39.47 ▼80.80 |
Media Library /wp-admin/upload.php | 3.60 ▲0.11 | 44.53 ▲10.54 |
Server storage [IO: ▲1.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Easy Blocks - Gutenberg Blocks Collection: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲122 | 14.43 ▲0.07 | 2.15 ▲0.04 | 39.39 ▼3.05 |
Dashboard /wp-admin | 2,265 ▲85 | 5.66 ▼0.04 | 91.32 ▼28.89 | 45.17 ▼9.12 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.02 ▼0.03 | 39.47 ▼0.74 | 37.71 ▲2.35 |
Add New Post /wp-admin/post-new.php | 6,211 ▲4,666 | 27.20 ▲3.96 | 1,070.40 ▲388.00 | 40.87 ▼30.19 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.17 ▼0.13 | 114.29 ▲12.45 | 47.38 ▲1.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
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 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (All Available Easy Blocks.), #2 (Easy Blocks Alert Block with Settings.), #3 (Easy Blocks Button Block with Settings.), #4 (Easy Blocks Posts Block with Settings.)
easy-blocks/easy-blocks.php Passed 13 tests
The main file in "Easy Blocks - Gutenberg Blocks Collection" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
57 characters long description:
Collection of Gutenberg Blocks for WordPress Block Editor
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin827 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 130 | 359 | 634 |
CSS | 2 | 30 | 10 | 161 |
JavaScript | 1 | 0 | 12 | 23 |
SVG | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 2.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 8 | 50.00% |
▷ Public methods | 15 | 93.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.25% |
Functions | 9 | |
▷ Named functions | 6 | 66.67% |
▷ Anonymous functions | 3 | 33.33% |
Constants | 16 | |
▷ Global constants | 16 | 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
1 compressed PNG file occupies 0.06MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/about/assets/images/pattern-bg-min.png | 63.51KB | 64.23KB | 0.00% |