Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.93MB] [CPU: ▲1.57ms] Passed 4 tests
A check of server-side resources used by Product Catalog Feed by PixelYourSite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 36.65 ▲0.83 |
Dashboard /wp-admin | 4.47 ▲1.17 | 54.92 ▲7.11 |
Posts /wp-admin/edit.php | 4.52 ▲1.17 | 60.46 ▲11.27 |
Add New Post /wp-admin/post-new.php | 7.07 ▲1.19 | 90.85 ▼11.10 |
Media Library /wp-admin/upload.php | 4.40 ▲1.17 | 46.39 ▲9.45 |
Server storage [IO: ▲1.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Product Catalog Feed by PixelYourSite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲81 | 14.43 ▲0.08 | 2.08 ▲0.57 | 39.66 ▼0.67 |
Dashboard /wp-admin | 2,226 ▲49 | 5.61 ▲0.02 | 87.29 ▲2.67 | 42.81 ▼1.78 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.01 ▼0.02 | 37.55 ▲1.95 | 40.02 ▲5.39 |
Add New Post /wp-admin/post-new.php | 1,401 ▼125 | 20.22 ▼2.90 | 547.50 ▼130.38 | 163.24 ▲112.07 |
Media Library /wp-admin/upload.php | 1,428 ▲25 | 4.20 ▼0.01 | 118.92 ▲10.57 | 45.21 ▼4.57 |
Uninstaller [IO: ▲0.42MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
Please fix the following
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/product-catalog-feed/view/admin/settings-top.php
- > /wp-content/plugins/product-catalog-feed/view/admin/admin-settings.php
- > /wp-content/plugins/product-catalog-feed/view/inc/types.php
- 28× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/product-catalog-feed/inc/common.php on line 80
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/product-catalog-feed/inc/common.php:82
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/product-catalog-feed/view/admin/info-settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/product-catalog-feed/inc/common.php:82
- > PHP Notice
Undefined variable: WpWoofTopSave in wp-content/plugins/product-catalog-feed/view/inc/store_action.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'wpwoof_product_catalog' not found in wp-content/plugins/product-catalog-feed/inc/import-addon.php:23
- > PHP Fatal error
Uncaught Error: Class 'Wpwoof_Feed_List_Table' not found in wp-content/plugins/product-catalog-feed/view/admin/feed-manage-list.php:5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/product-catalog-feed/inc/common.php on line 80
- > PHP Fatal error
Uncaught Error: Call to a member function renderFields() on null in wp-content/plugins/product-catalog-feed/view/inc/settings.php:5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/product-catalog-feed/inc/common.php on line 80
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: facebook dynamic ads feed, product catalog woocommerce, facebook product catalog feed, woocommerce csv, xml feed...
product-catalog-feed/product-catalog-feed.php 85% from 13 tests
Analyzing the main PHP file in "Product Catalog Feed by PixelYourSite" version 2.2.0
It is important to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.0.1" instead of "3.0.0")
- Description: Please keep the plugin description shorter than 140 characters (currently 155 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin12,761 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 1,366 | 1,425 | 8,198 |
CSS | 4 | 743 | 83 | 3,053 |
JavaScript | 5 | 611 | 80 | 1,510 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
It is recommended to fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 182)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 178.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 791.00 |
Average method complexity | 7.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 182.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 282 | |
▷ Static methods | 52 | 18.44% |
▷ Public methods | 184 | 65.25% |
▷ Protected methods | 25 | 8.87% |
▷ Private methods | 73 | 25.89% |
Functions | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
Constants | 29 | |
▷ Global constants | 26 | 89.66% |
▷ Class constants | 3 | 10.34% |
▷ Public constants | 3 | 100.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.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/bar.png | 0.19KB | 0.13KB | ▼ 31.63% |
assets/img/favicon.png | 0.48KB | 0.46KB | ▼ 5.45% |