Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > User deprecated in wp-includes/class-requests.php+24
The PSR-0 `Requests_...` class names in the Requests library are deprecated. Switch to the PSR-4 `WpOrg\Requests\...` class names at your earliest convenience.
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.44ms] Passed 4 tests
An overview of server-side resources used by Dropshipping with eBay for WooCommerce (Lite)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.88 ▼2.02 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.61 ▼19.52 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.37 ▼2.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.07 ▼17.98 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.57 ▼1.65 |
Server storage [IO: ▲3.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 232 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
e2wl_settings |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Dropshipping with eBay for WooCommerce (Lite)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.23 ▼0.35 | 1.85 ▲0.02 | 38.65 ▼7.42 |
Dashboard /wp-admin | 2,198 ▲21 | 5.55 ▼0.13 | 91.48 ▼12.87 | 40.75 ▼3.86 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.04 ▼0.01 | 36.71 ▲1.96 | 37.81 ▼0.15 |
Add New Post /wp-admin/post-new.php | 1,545 ▲4 | 23.32 ▲4.78 | 658.28 ▼2.92 | 53.00 ▼12.01 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.21 ▼0.05 | 103.70 ▲3.66 | 45.06 ▼1.10 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- e2wl_settings
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/dropshipping-with-ebay-for-woocommerce/view/settings/settings_footer.php
- > /wp-content/plugins/dropshipping-with-ebay-for-woocommerce/view/settings/settings_head.php
- 72× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/dropshipping-with-ebay-for-woocommerce/includes/libs/Requests/Requests/Exception/HTTP/Unknown.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _ex() in wp-content/plugins/dropshipping-with-ebay-for-woocommerce/view/settings/phrase_filter.php:4
- > PHP Notice
Undefined variable: modules in wp-content/plugins/dropshipping-with-ebay-for-woocommerce/view/settings/settings_head.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/dropshipping-with-ebay-for-woocommerce/includes/libs/Requests/Requests/Exception/HTTP/417.php:13
- > PHP Fatal error
Uncaught Error: Class 'E2WL_AbstractController' not found in wp-content/plugins/dropshipping-with-ebay-for-woocommerce/includes/classes/E2WL_AbstractAdminPage.php:13
- > PHP Fatal error
Uncaught Error: Class 'E2WL_AbstractController' not found in wp-content/plugins/dropshipping-with-ebay-for-woocommerce/includes/classes/controller/E2WL_SynchProductController.php:12
- > PHP Notice
Trying to get property 'custom_account' of non-object in wp-content/plugins/dropshipping-with-ebay-for-woocommerce/view/settings/account.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/dropshipping-with-ebay-for-woocommerce/includes/libs/Requests/Requests/Exception/HTTP/404.php:13
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/dropshipping-with-ebay-for-woocommerce/includes/libs/Requests/Requests/Exception/HTTP/415.php:13
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/dropshipping-with-ebay-for-woocommerce/includes/libs/Requests/Requests/Exception/HTTP/406.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: dropship, order fulfillment, affiliate, dropshipping, dropshipper...
dropshipping-with-ebay-for-woocommerce/ebay2woo-lite.php 85% from 13 tests
The entry point to "Dropshipping with eBay for WooCommerce (Lite)" version 1.2.7 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.7" instead of "5.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dropshipping-with-ebay-for-woocommerce.php" instead of "ebay2woo-lite.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin36,003 lines of code in 197 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 62 | 3,466 | 913 | 13,254 |
PHP | 113 | 2,449 | 3,726 | 11,757 |
CSS | 15 | 779 | 205 | 10,350 |
SVG | 5 | 62 | 11 | 640 |
JSON | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
The following items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 121)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 22.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 310.00 |
Average method complexity | 5.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 121.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 92 | |
▷ Abstract classes | 2 | 2.17% |
▷ Concrete classes | 90 | 97.83% |
▷ Final classes | 0 | 0.00% |
Methods | 481 | |
▷ Static methods | 100 | 20.79% |
▷ Public methods | 383 | 79.63% |
▷ Protected methods | 49 | 10.19% |
▷ Private methods | 49 | 10.19% |
Functions | 20 | |
▷ Named functions | 18 | 90.00% |
▷ Anonymous functions | 2 | 10.00% |
Constants | 26 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 26 | 100.00% |
▷ Public constants | 26 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
15 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 |
assets/css/review/fancybox/fancybox_overlay.png | 0.98KB | 0.09KB | ▼ 90.43% |
assets/img/delete.png | 0.59KB | 0.54KB | ▼ 7.33% |
assets/img/noavatar.png | 2.32KB | 2.42KB | 0.00% |
assets/img/blank_image.png | 0.83KB | 0.12KB | ▼ 85.98% |
assets/img/icons/supplier_ali_2x.png | 15.45KB | 0.95KB | ▼ 93.84% |