Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲1.85MB] [CPU: ▲6.59ms] Passed 4 tests
Server-side resources used by Product Feed PRO for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.26 ▲1.79 | 51.67 ▲7.92 |
Dashboard /wp-admin | 5.28 ▲1.93 | 55.31 ▼6.03 |
Posts /wp-admin/edit.php | 5.28 ▲1.92 | 59.58 ▲11.25 |
Add New Post /wp-admin/post-new.php | 7.64 ▲1.75 | 104.55 ▲13.20 |
Media Library /wp-admin/upload.php | 5.28 ▲2.05 | 47.78 ▲15.84 |
Create feed /wp-admin/admin.php?page=woo-product-feed-pro/woocommerce-sea.php | 5.28 | 41.78 |
Manage feeds /wp-admin/admin.php?page=woosea_manage_feed | 5.29 | 42.76 |
Settings /wp-admin/admin.php?page=woosea_manage_settings | 5.29 | 41.78 |
Server storage [IO: ▲3.31MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 127 new files
Database: no new tables, 11 new options
New WordPress options |
---|
woosea_extra_attributes |
db_upgraded |
widget_recent-comments |
recovery_mode_email_last_sent |
can_compress_scripts |
theysaidso_admin_options |
woosea_first_activation |
widget_theysaidso_widget |
woosea_count_activation |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Product Feed PRO for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲50 | 13.63 ▼0.72 | 3.25 ▲1.33 | 42.09 ▼1.29 |
Dashboard /wp-admin | 2,233 ▲56 | 5.97 ▲0.30 | 97.46 ▲0.55 | 95.19 ▲51.63 |
Posts /wp-admin/edit.php | 2,161 ▲64 | 2.39 ▲0.36 | 39.90 ▲2.21 | 35.20 ▲0.35 |
Add New Post /wp-admin/post-new.php | 1,572 ▲42 | 23.92 ▲0.92 | 696.98 ▲84.64 | 32.86 ▼26.38 |
Media Library /wp-admin/upload.php | 1,447 ▲53 | 4.60 ▲0.41 | 99.07 ▲1.18 | 79.46 ▲38.76 |
Create feed /wp-admin/admin.php?page=woo-product-feed-pro/woocommerce-sea.php | 717 | 1.12 | 6.67 | 16.13 |
Manage feeds /wp-admin/admin.php?page=woosea_manage_feed | 717 | 1.51 | 7.10 | 20.03 |
Settings /wp-admin/admin.php?page=woosea_manage_settings | 717 | 1.51 | 6.16 | 20.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 11 options in the database
- widget_recent-posts
- db_upgraded
- woosea_extra_attributes
- woosea_count_activation
- theysaidso_admin_options
- widget_recent-comments
- structured_data_fix
- widget_theysaidso_widget
- woosea_first_activation
- can_compress_scripts
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=woo-product-feed-pro/woocommerce-sea.php
- > Error in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-generate-feed-step-0.php+2
Uncaught Error: Call to undefined function get_woocommerce_currency() in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-generate-feed-step-0.php:2
Stack trace:
#0 wp-includes/template.php(785): require_once()
#1 wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4532): load_template()
#2 wp-includes/class-wp-hook.php(310): woosea_generate_pages()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 {main}
thrown- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woosea_manage_feed
- > Notice in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-manage-feed.php+7
Undefined property: stdClass::$publish
- > GET request to /wp-admin/admin.php?page=woosea_manage_feed
- > Error in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-manage-feed.php+23
Uncaught Error: Call to undefined function WC() in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-manage-feed.php:23
Stack trace:
#0 wp-content/plugins/woo-product-feed-pro/classes/class-admin-pages-template.php(18): require()
#1 wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4919): Construct_Admin_Pages->set_page()
#2 wp-includes/class-wp-hook.php(310): woosea_manage_feed()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 {main}
thrown- > GET request to /wp-admin/admin.php?page=woosea_manage_settings
- > Error in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-manage-settings.php+33
Uncaught Error: Call to undefined function WC() in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-manage-settings.php:33
Stack trace:
#0 wp-content/plugins/woo-product-feed-pro/classes/class-admin-pages-template.php(18): require()
#1 wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4928): Construct_Admin_Pages->set_page()
#2 wp-includes/class-wp-hook.php(310): woosea_manage_settings()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 {main}
thrown
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
Please take a closer look at the following
- 14× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-upgrade-elite.php:2
- > PHP Fatal error
Uncaught Error: Class 'WooSEA_Get_Admin_Notifications' not found in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-gs-analytics.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-generate-feed-step-5.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_woocommerce_currency() in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-generate-feed-step-0.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-generate-feed-step-4.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-generate-feed-step-7.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-product-feed-pro/pages/admin/old-woosea-generate-feed-step-7.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-manage-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-key.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-generate-feed-step-9.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
woo-product-feed-pro/woocommerce-sea.php 77% from 13 tests
The principal PHP file in "Product Feed PRO for WooCommerce" v. 13.1.3 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 187 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("woo-product-feed-pro.php" instead of "woocommerce-sea.php")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis 95% from 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 plugin38,304 lines of code in 107 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 92 | 2,008 | 2,061 | 29,299 |
JavaScript | 12 | 314 | 162 | 7,645 |
CSS | 3 | 132 | 106 | 1,360 |
PHP code 0% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 1,664)
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 669)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 25.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,664.00 |
Average method complexity | 14.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 669.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 75 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 75 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 139 | |
▷ Static methods | 75 | 53.96% |
▷ Public methods | 126 | 90.65% |
▷ Protected methods | 1 | 0.72% |
▷ Private methods | 12 | 8.63% |
Functions | 101 | |
▷ Named functions | 96 | 95.05% |
▷ Anonymous functions | 5 | 4.95% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ui-icons_cc0000_256x240.png | 4.52KB | 4.18KB | ▼ 7.56% |
images/ui-icons_777777_256x240.png | 6.85KB | 4.18KB | ▼ 38.94% |
images/icon-16x16.png | 1.73KB | 0.60KB | ▼ 65.44% |
images/ui-icons_555555_256x240.png | 6.84KB | 4.18KB | ▼ 38.84% |
images/ui-icons_444444_256x240.png | 6.84KB | 4.18KB | ▼ 38.90% |