Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲1.06MB] [CPU: ▲9.34ms] Passed 4 tests
This is a short check of server-side resources used by Fast eBay Listings
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.48 ▲1.02 | 55.91 ▲16.40 |
Dashboard /wp-admin | 4.36 ▲1.01 | 59.08 ▼3.92 |
Posts /wp-admin/edit.php | 4.47 ▲1.11 | 56.11 ▲10.25 |
Add New Post /wp-admin/post-new.php | 7.23 ▲1.34 | 105.75 ▲14.62 |
Media Library /wp-admin/upload.php | 4.30 ▲1.07 | 49.40 ▲16.94 |
Fast eBay Listings /wp-admin/options-general.php?page=fast-ebay-listings | 4.27 | 38.83 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 91 new files
Database: no new tables, 49 new options
New WordPress options |
---|
fubaby_ebayPicWidthItem |
widget_recent-posts |
fubaby_ebayDefArrangementList |
fubaby_ebayDefSellerType |
fubaby_ebayLinkText |
fubaby_ebayEmptySearchMsg |
fubaby_ebayDefSeller |
fubaby_ebayDefSlideshowStyle |
fubaby_ebayDisplayFELLink |
fubaby_ebayDefCategory |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Fast eBay Listings
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,985 ▲249 | 13.60 ▼0.76 | 11.90 ▲10.21 | 38.89 ▼8.88 |
Dashboard /wp-admin | 2,289 ▲114 | 5.66 ▼0.06 | 86.80 ▼26.62 | 44.26 ▼2.76 |
Posts /wp-admin/edit.php | 2,188 ▲85 | 2.08 ▲0.14 | 40.69 ▲0.53 | 35.26 ▲0.57 |
Add New Post /wp-admin/post-new.php | 6,475 ▲4,949 | 22.75 ▼0.54 | 880.47 ▲220.28 | 45.83 ▼13.31 |
Media Library /wp-admin/upload.php | 1,478 ▲84 | 4.25 ▲0.04 | 96.25 ▲0.49 | 44.70 ▲4.57 |
Fast eBay Listings /wp-admin/options-general.php?page=fast-ebay-listings | 1,135 | 2.06 | 28.62 | 30.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- can_compress_scripts
- widget_fuebaywidgetsearch
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_fuebaywidgetsearchdynamic
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 26× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fast-ebay-listings/constants.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fast-ebay-listings/constants.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fast-ebay-listings/constants.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fast-ebay-listings/constants.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fast-ebay-listings/blocks/item/item.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fast-ebay-listings/constants.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/fast-ebay-listings/shortcodes.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fast-ebay-listings/constants.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fast-ebay-listings/blocks/rssfeed/rssfeed.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fast-ebay-listings/constants.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: ebay partner network, ebay, search, affiliate, monetize...
fast-ebay-listings/fast-ebay-listings.php Passed 13 tests
The entry point to "Fast eBay Listings" version 2.9.0 is a PHP file that has certain tags in its header comment area
86 characters long description:
Display eBay auctions on your site, through the use of blocks, shortcodes and widgets.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin6,887 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 719 | 626 | 4,498 |
JavaScript | 14 | 135 | 190 | 2,059 |
JSON | 4 | 0 | 0 | 234 |
CSS | 5 | 17 | 4 | 96 |
PHP code Passed 2 tests
This is a short overview 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.28 |
Average class complexity | 13.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 4.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 32 | |
▷ Abstract classes | 2 | 6.25% |
▷ Concrete classes | 30 | 93.75% |
▷ Final classes | 0 | 0.00% |
Methods | 129 | |
▷ Static methods | 8 | 6.20% |
▷ Public methods | 70 | 54.26% |
▷ Protected methods | 51 | 39.53% |
▷ Private methods | 8 | 6.20% |
Functions | 72 | |
▷ Named functions | 53 | 73.61% |
▷ Anonymous functions | 19 | 26.39% |
Constants | 87 | |
▷ Global constants | 22 | 25.29% |
▷ Class constants | 65 | 74.71% |
▷ Public constants | 63 | 96.92% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ES/eBay_ahora_mismo_en-_vert.png | 7.13KB | 3.07KB | ▼ 56.98% |
ES/eBay_ahora_mismo_en _vert.png | 14.00KB | 8.06KB | ▼ 42.43% |
ES/144X69.png | 8.45KB | 3.26KB | ▼ 61.46% |
images/developersprogrammember.png | 5.15KB | 3.09KB | ▼ 39.91% |
ES/123X59.png | 7.47KB | 3.23KB | ▼ 56.75% |