Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.59ms] Passed 4 tests
Server-side resources used by EchBay For Flatsome
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.08 ▼4.14 |
Dashboard /wp-admin | 3.37 ▲0.07 | 51.65 ▲0.71 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 54.26 ▲5.94 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 89.06 ▼5.13 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.06 ▲2.22 |
Webgiare Plugins /wp-admin/admin.php?page=echbay-plugins-menu | 3.26 | 33.03 |
For Flatsome /wp-admin/admin.php?page=echbay-for-flatsome | 3.26 | 32.30 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for EchBay For Flatsome
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲53 | 14.35 ▼0.01 | 1.97 ▼0.63 | 43.16 ▼2.70 |
Dashboard /wp-admin | 2,242 ▲65 | 5.64 ▲0.06 | 93.20 ▼7.51 | 40.49 ▼3.12 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.01 ▼0.03 | 36.20 ▼0.29 | 33.47 ▼3.48 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 23.00 ▼0.74 | 687.07 ▲55.60 | 52.01 ▼0.99 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.23 ▲0.00 | 100.78 ▼1.63 | 44.91 ▲0.29 |
Webgiare Plugins /wp-admin/admin.php?page=echbay-plugins-menu | 1,064 | 1.76 | 29.61 | 29.42 |
For Flatsome /wp-admin/admin.php?page=echbay-for-flatsome | 1,064 | 1.72 | 26.33 | 28.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Screenshot #1 (Setting in admin.) image missing
echbay-for-flatsome/eb.php 69% from 13 tests
The main file in "EchBay For Flatsome" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("echbay-for-flatsome.php" instead of "eb.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path folder does not exist ("/languages/")
- Description: The description should be shorter than 140 characters (currently 217 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin316 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 0 | 76 | 309 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
Markdown | 1 | 0 | 0 | 2 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
4 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
favicon-full.png | 53.11KB | 10.79KB | ▼ 79.67% |
favicon.png | 2.23KB | 2.27KB | 0.00% |
favicon_wgr.png | 2.23KB | 2.27KB | 0.00% |
favicon_eb.png | 3.39KB | 3.51KB | 0.00% |