Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.68ms] Passed 4 tests
A check of server-side resources used by Product Feed Manager – WooCommerce to Google Shopping, Social Catalogs, and 170+ Popular Marketplaces
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 33.68 ▼7.67 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.22 ▼16.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.36 ▲0.71 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.88 ▼2.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.49 ▲4.26 |
Server storage [IO: ▲11.99MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 1,393 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Product Feed Manager – WooCommerce to Google Shopping, Social Catalogs, and 170+ Popular Marketplaces
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.21 ▲0.09 | 1.61 ▼0.10 | 35.46 ▼8.17 |
Dashboard /wp-admin | 2,195 ▲17 | 5.63 ▼0.04 | 90.56 ▼18.67 | 42.67 ▲1.32 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.96 ▼0.01 | 38.82 ▼2.45 | 34.04 ▼4.36 |
Add New Post /wp-admin/post-new.php | 1,526 ▼4 | 23.44 ▲0.29 | 583.27 ▼7.49 | 67.57 ▲17.71 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.15 ▼0.04 | 95.10 ▼6.93 | 40.37 ▼2.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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 fix the following
- 46× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/best-woocommerce-feed/admin/assets/icon/icon-svg/ceneo.php
- > /wp-content/plugins/best-woocommerce-feed/admin/assets/icon/icon-svg/rakuten.php
- > /wp-content/plugins/best-woocommerce-feed/admin/assets/icon/icon-svg/pinterest.php
- > /wp-content/plugins/best-woocommerce-feed/admin/assets/icon/icon-svg/bestprice.php
- > /wp-content/plugins/best-woocommerce-feed/admin/assets/icon/icon-svg/heureka.php
- > /wp-content/plugins/best-woocommerce-feed/admin/assets/icon/icon-svg/idealo.php
- > /wp-content/plugins/best-woocommerce-feed/admin/assets/icon/icon-svg/feed-row-reset-icon.php
- > /wp-content/plugins/best-woocommerce-feed/admin/assets/icon/icon-svg/click-here.php
- > /wp-content/plugins/best-woocommerce-feed/admin/assets/icon/icon-svg/icon-question.php
- > /wp-content/plugins/best-woocommerce-feed/admin/assets/icon/icon-svg/remove.php
- 932× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RexFeed\\Google\\Model' not found in wp-content/plugins/best-woocommerce-feed/includes/library/google/apiclient-services/src/ShoppingContent/AccounttaxCustomBatchRequestEntry.php:20
- > PHP Fatal error
Uncaught Error: Class 'RexFeed\\Google\\Model' not found in wp-content/plugins/best-woocommerce-feed/includes/library/google/apiclient-services/src/ShoppingContent/TestOrderLineItem.php:20
- > PHP Fatal error
Uncaught Error: Class 'Rex_Feed_Abstract_Template' not found in wp-content/plugins/best-woocommerce-feed/admin/feed-templates/class-rex-feed-template-pepperjam.php:19
- > PHP Fatal error
Uncaught Error: Class 'Rex_Feed_Abstract_Template' not found in wp-content/plugins/best-woocommerce-feed/admin/feed-templates/class-rex-feed-template-go_banana.php:19
- > PHP Fatal error
Uncaught Error: Interface 'RexFeed\\Monolog\\Formatter\\FormatterInterface' not found in wp-content/plugins/best-woocommerce-feed/includes/library/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php:22
- > PHP Fatal error
Uncaught Error: Interface 'RexFeed\\Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/best-woocommerce-feed/includes/library/monolog/monolog/src/Monolog/Processor/MemoryProcessor.php:19
- > PHP Fatal error
Uncaught Error: Class 'RexFeed\\Monolog\\Handler\\GroupHandler' not found in wp-content/plugins/best-woocommerce-feed/includes/library/monolog/monolog/src/Monolog/Handler/FallbackGroupHandler.php:24
- > PHP Fatal error
Uncaught Error: Class 'RexFeed\\Google\\Model' not found in wp-content/plugins/best-woocommerce-feed/includes/library/google/apiclient-services/src/ShoppingContent/TimePeriod.php:20
- > PHP Fatal error
Uncaught Error: Class 'RexFeed\\Google\\Model' not found in wp-content/plugins/best-woocommerce-feed/includes/library/google/apiclient-services/src/ShoppingContent/OrdersCustomBatchRequestEntryRefundItemShipping.php:20
- > PHP Fatal error
Uncaught Error: Class 'RexFeed\\Google\\Model' not found in wp-content/plugins/best-woocommerce-feed/includes/library/google/apiclient-services/src/ShoppingContent/LocalinventoryCustomBatchResponseEntry.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (40 tag instead of maximum 10); only the first 5 tags are used in your directory listing
best-woocommerce-feed/rex-product-feed.php 77% from 13 tests
The main PHP script in "Product Feed Manager – WooCommerce to Google Shopping, Social Catalogs, and 170+ Popular Marketplaces" version 7.3.19 is automatically included on every request by WordPress
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Please keep the plugin description shorter than 140 characters (currently 188 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("best-woocommerce-feed.php" instead of "rex-product-feed.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected142,076 lines of code in 1,311 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,269 | 12,166 | 64,419 | 116,790 |
CSS | 7 | 240 | 74 | 10,627 |
PO File | 16 | 3,248 | 3,608 | 8,728 |
JavaScript | 11 | 513 | 477 | 3,124 |
SVG | 5 | 0 | 0 | 2,683 |
JSON | 3 | 0 | 0 | 124 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 246)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 9.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 740.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 246.00 |
Code structure | ||
---|---|---|
Namespaces | 112 | |
Interfaces | 50 | |
Traits | 10 | |
Classes | 1,131 | |
▷ Abstract classes | 11 | 0.97% |
▷ Concrete classes | 1,120 | 99.03% |
▷ Final classes | 39 | 3.48% |
Methods | 8,709 | |
▷ Static methods | 462 | 5.30% |
▷ Public methods | 7,275 | 83.53% |
▷ Protected methods | 775 | 8.90% |
▷ Private methods | 659 | 7.57% |
Functions | 240 | |
▷ Named functions | 86 | 35.83% |
▷ Anonymous functions | 154 | 64.17% |
Constants | 807 | |
▷ Global constants | 23 | 2.85% |
▷ Class constants | 784 | 97.15% |
▷ Public constants | 747 | 95.28% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 compressed PNG files occupy 0.27MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/icon/video-overlays.png | 75.40KB | 30.64KB | ▼ 59.36% |
admin/assets/icon/rating.png | 0.66KB | 0.67KB | 0.00% |
admin/assets/icon/star-rating.png | 0.58KB | 0.60KB | 0.00% |
admin/assets/icon/hero-bg.png | 68.20KB | 75.01KB | 0.00% |
admin/assets/icon/call-to-actions.png | 73.62KB | 80.87KB | 0.00% |