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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.30ms] Passed 4 tests
A check of server-side resources used by WooCommerce Better Feeds
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.73 ▼0.95 |
Dashboard /wp-admin | 3.33 ▼0.02 | 49.71 ▼14.54 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.42 ▼2.54 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.14 ▼11.17 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.50 ▲0.63 |
WooCommerce Better Feeds /wp-admin/options-general.php?page=woocommerce-better-feeds/wcbfeed.php | 3.22 | 33.18 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
wcbfeed_rss_image_size |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
WooCommerce Better Feeds: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.38 ▲0.01 | 1.84 ▲0.13 | 42.20 ▲2.42 |
Dashboard /wp-admin | 2,215 ▲33 | 4.82 ▼0.98 | 104.59 ▼7.81 | 43.88 ▲5.50 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.05 ▲0.01 | 35.19 ▼5.84 | 32.41 ▼3.98 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.37 ▲0.14 | 654.76 ▼30.83 | 57.43 ▲2.63 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.29 ▲0.08 | 105.41 ▲0.57 | 46.27 ▲4.05 |
WooCommerce Better Feeds /wp-admin/options-general.php?page=woocommerce-better-feeds/wcbfeed.php | 946 | 2.06 | 24.85 | 26.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- wcbfeed_rss_image_size
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
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/woocommerce-better-feeds/includes/wcbfeed-header.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woocommerce-better-feeds/includes/wcbfeed-option-page.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woocommerce-better-feeds/wcbfeed.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woocommerce-better-feeds/woocommerce-better-feeds.php:51
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woocommerce-better-feeds/includes/wcbfeed-footer.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (The settings page)
- Requires at least: Version format is invalid
woocommerce-better-feeds/woocommerce-better-feeds.php Passed 13 tests
The entry point to "WooCommerce Better Feeds" version 1.1 is a PHP file that has certain tags in its header comment area
53 characters long description:
Add Featured Image and Price to woocommerce rss feeds
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected191 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 28 | 23 | 146 |
PO File | 1 | 11 | 11 | 42 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG images were found in this plugin