Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼1.94MB] [CPU: ▼56.17ms] Passed 4 tests
Server-side resources used by Easy Blocks pro
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.41 | 6.14 ▼36.52 |
Dashboard /wp-admin | 2.08 ▼1.27 | 7.69 ▼51.75 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 6.63 ▼42.08 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 6.06 ▼94.34 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 7.04 ▼21.38 |
Server storage [IO: ▲3.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Blocks pro
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,060 ▲298 | 16.16 ▲1.59 | 15.69 ▲13.95 | 79.62 ▲36.65 |
Dashboard /wp-admin | 2,241 ▲64 | 6.12 ▲0.52 | 98.86 ▲6.34 | 37.54 ▼5.64 |
Posts /wp-admin/edit.php | 2,145 ▲42 | 3.05 ▲1.10 | 40.78 ▲0.65 | 30.91 ▼2.58 |
Add New Post /wp-admin/post-new.php | 6,369 ▲4,843 | 28.51 ▲5.02 | 830.72 ▲189.67 | 65.41 ▲16.37 |
Media Library /wp-admin/upload.php | 1,445 ▲51 | 5.59 ▲1.37 | 110.39 ▲14.56 | 44.29 ▲3.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the ebp-deactivate-block-js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
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 no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7 in easy-blocks-pro/assets to your readme.txt
easy-blocks-pro/easy-blocks-pro.php Passed 13 tests
"Easy Blocks pro" version 1.0.18's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
93 characters long description:
The Easy Blocks PRO pluign enhance the Gutenberg functionality by adding feature-rich blocks.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin5,326 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 11 | 1 | 17 | 4,920 |
PHP | 3 | 76 | 64 | 321 |
JavaScript | 5 | 13 | 9 | 58 |
CSS | 5 | 1 | 6 | 27 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/300x225&text=No+Featured+image.png | 0.62KB | 0.59KB | ▼ 4.60% |
assets/img/icon-128x128.png | 17.07KB | 8.05KB | ▼ 52.81% |