Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼0.84ms] Passed 4 tests
Analyzing server-side resources used by WP eBay Product Feeds
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 35.58 ▼1.97 |
Dashboard /wp-admin | 3.47 ▲0.16 | 46.90 ▲0.39 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 47.37 ▲2.18 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 81.12 ▼3.95 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 38.48 ▲5.67 |
WP eBay Product Feeds /wp-admin/options-general.php?page=ebayfeedforwordpressoptions | 3.43 | 42.33 |
Server storage [IO: ▲0.30MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 12 new options
New WordPress options |
---|
ebay-feeds-for-wordpress-default |
can_compress_scripts |
theysaidso_admin_options |
widget_ebay_feeds_for_wordpress_widget |
ebay-feeds-for-wordpress-link |
ebay-feed-for-wordpress-flush-cache |
ebay-feeds-for-wordpress-default-number |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
WP eBay Product Feeds: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.44 ▼0.10 | 1.65 ▲0.05 | 44.29 ▼2.31 |
Dashboard /wp-admin | 2,203 ▲32 | 5.61 ▼0.04 | 84.43 ▼5.02 | 41.77 ▲3.64 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.17 ▲0.15 | 40.17 ▲2.36 | 36.03 ▲2.14 |
Add New Post /wp-admin/post-new.php | 6,369 ▲4,841 | 27.49 ▲4.47 | 871.22 ▲200.45 | 38.04 ▼19.78 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.24 ▲0.04 | 103.89 ▲4.76 | 46.02 ▼0.52 |
WP eBay Product Feeds /wp-admin/options-general.php?page=ebayfeedforwordpressoptions | 2,164 | 10.00 | 246.16 | 162.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 12 options in the database
- db_upgraded
- can_compress_scripts
- widget_ebay_feeds_for_wordpress_widget
- widget_recent-posts
- ebay-feeds-for-wordpress-default-number
- ebay-feeds-for-wordpress-link
- ebay-feeds-for-wordpress-default
- ebay-feed-for-wordpress-flush-cache
- ebay-feeds-for-wordpress-link-open-blank
- theysaidso_admin_options
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(EBAYFEEDSFORWORDPRESS_PLUGIN_PATH/inc/admin.php): failed to open stream: No such file or directory in wp-content/plugins/ebay-feeds-for-wordpress/inc/core.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ebay-feeds-for-wordpress/inc/functions.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/ebay-feeds-for-wordpress/ebay-feeds-for-wordpress.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ebay-feeds-for-wordpress/inc/upgrade.php:40
- > PHP Warning
Use of undefined constant EBAYFEEDSFORWORDPRESS_PLUGIN_PATH - assumed 'EBAYFEEDSFORWORDPRESS_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ebay-feeds-for-wordpress/inc/core.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ebay-feeds-for-wordpress/inc/notices.php:31
- > PHP Fatal error
require_once(): Failed opening required 'EBAYFEEDSFORWORDPRESS_PLUGIN_PATH/inc/admin.php' (include_path='.:/usr/share/php') in wp-content/plugins/ebay-feeds-for-wordpress/inc/core.php on line 2
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=ebayfeedforwordpressoptions
- > Javascript (severe) in unknown
https://button.buffer.com/button/?id=6220e87b3a06e7e5&url=https%3A%2F%2Fwinwar.co.uk%2Fplugins%2Febay-feeds-wordpress%2F&text=Just%20been%20using%20WP%20eBay%20Product%20Feeds%20%23WordPress%20plugin&via=rhyswynne&count=horizontal&placement=button&utm_source=http%3A%2F%2Fwp.com%2Fwp-admin%2Foptions-general.php%3Fpage%3Debayfeedforwordpressoptions&utm_medium=buffer_button&utm_campaign=buffer 15:647 Uncaught TypeError: Cannot set properties of null (setting 'onclick')
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: ebay partner feeds, ebay, ebay partner network, block, affiliate marketing...
ebay-feeds-for-wordpress/ebay-feeds-for-wordpress.php Passed 13 tests
The main PHP file in "WP eBay Product Feeds" ver. 3.4.3 adds more information about the plugin and also serves as the entry point for this plugin
107 characters long description:
Former eBay Feeds for WordPress. Parser of ebay RSS feeds to display on WordPress posts, widgets and pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,237 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 327 | 190 | 663 |
JavaScript | 4 | 35 | 48 | 192 |
Markdown | 1 | 54 | 0 | 151 |
CSS | 1 | 18 | 2 | 121 |
PO File | 1 | 29 | 36 | 91 |
JSON | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.21MB with 0.10MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ebay.png | 0.64KB | 0.51KB | ▼ 20.43% |
banner-772x250.png | 210.21KB | 55.20KB | ▼ 73.74% |