Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼0.43ms] Passed 4 tests
A check of server-side resources used by Product Feed for WooCommerce - Google Shops, Facebook Shop, TikTok, Instagram, and More
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 38.29 ▼3.19 |
Dashboard /wp-admin | 3.56 ▲0.25 | 49.51 ▼4.84 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 53.99 ▲7.88 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 97.32 ▼1.25 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 41.74 ▲7.58 |
Create new feed /wp-admin/admin.php?page=webtoffee_product_feed_main_export | 3.45 | 38.57 |
Facebook Catalog Sync /wp-admin/admin.php?page=webtoffee-product-feed | 3.37 | 31.18 |
Manage Feeds /wp-admin/admin.php?page=webtoffee_product_feed_main_history | 3.46 | 35.70 |
General Settings /wp-admin/admin.php?page=webtoffee_product_feed | 3.69 | 38.42 |
Server storage [IO: ▲4.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 196 new files
Database: 2 new tables, 10 new options
New tables |
---|
wp_wt_pf_cron |
wp_wt_pf_action_history |
New WordPress options |
---|
db_upgraded |
wt_productfeed_show_legacy_menu |
widget_theysaidso_widget |
can_compress_scripts |
wt_pfs_start_date |
widget_recent-posts |
wt_pf_is_active |
wt_pf_admin_modules |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Product Feed for WooCommerce - Google Shops, Facebook Shop, TikTok, Instagram, and More
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲71 | 14.02 ▼0.12 | 2.05 ▲0.43 | 37.07 ▼6.94 |
Dashboard /wp-admin | 2,241 ▲61 | 5.60 ▼0.04 | 91.14 ▼8.35 | 44.12 ▼3.34 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 2.00 ▼0.02 | 40.54 ▲8.53 | 37.06 ▲4.91 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.18 ▲0.21 | 641.48 ▼74.08 | 58.59 ▲3.11 |
Media Library /wp-admin/upload.php | 1,446 ▲46 | 4.18 ▼0.03 | 109.72 ▲14.61 | 48.83 ▲7.80 |
Create new feed /wp-admin/admin.php?page=webtoffee_product_feed_main_export | 1,442 | 2.67 | 63.46 | 52.56 |
Facebook Catalog Sync /wp-admin/admin.php?page=webtoffee-product-feed | 720 | 1.61 | 9.01 | 19.57 |
Manage Feeds /wp-admin/admin.php?page=webtoffee_product_feed_main_history | 879 | 2.12 | 30.58 | 28.70 |
General Settings /wp-admin/admin.php?page=webtoffee_product_feed | 2,225 | 2.06 | 35.28 | 64.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie tables detected upon uninstall: 2 tables
- wp_wt_pf_cron
- wp_wt_pf_action_history
- Zombie WordPress options detected upon uninstall: 8 options
- wt_pf_admin_modules
- theysaidso_admin_options
- wt_productfeed_show_legacy_menu
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webtoffee-product-feed/includes/fbcatalog/wt-fbfeed-category-helper.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webtoffee-product-feed/includes/class-wt-productfeed-uninstall-feedback.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
webtoffee-product-feed/webtoffee-product-feed.php Passed 13 tests
The primary PHP file in "Product Feed for WooCommerce - Google Shops, Facebook Shop, TikTok, Instagram, and More" version 2.1.4 is used by WordPress to initiate all plugin functionality
92 characters long description:
Integrate your WooCommerce store with Google Merchant Center, Facebook, and Instagram shops.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin30,102 lines of code in 134 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 94 | 5,341 | 3,785 | 23,702 |
JavaScript | 10 | 491 | 1,081 | 3,620 |
CSS | 4 | 235 | 138 | 2,318 |
SVG | 26 | 0 | 0 | 462 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 80.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 292.00 |
Average method complexity | 4.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 89.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 43 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 43 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,130 | |
▷ Static methods | 151 | 13.36% |
▷ Public methods | 1,062 | 93.98% |
▷ Protected methods | 22 | 1.95% |
▷ Private methods | 46 | 4.07% |
Functions | 33 | |
▷ Named functions | 30 | 90.91% |
▷ Anonymous functions | 3 | 9.09% |
Constants | 19 | |
▷ Global constants | 9 | 47.37% |
▷ Class constants | 10 | 52.63% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
46 compressed PNG files occupy 0.43MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/other_solutions/display-discounts.png | 23.01KB | 23.01KB | 0.00% |
admin/css/images/ui-icons_2e83ff_256x240.png | 4.49KB | 4.18KB | ▼ 6.89% |
assets/images/other_solutions/bestsellers_plugin.png | 3.03KB | 3.01KB | ▼ 0.68% |
assets/images/other_solutions/Sequential-order-number-plugin.png | 14.86KB | 14.76KB | ▼ 0.67% |
admin/css/images/ui-bg_glass_65_ffffff_1x400.png | 0.24KB | 0.09KB | ▼ 64.23% |