Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲2.00MB] [CPU: ▲3.63ms] Passed 4 tests
An overview of server-side resources used by WooCommerce Google Feed Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.48 ▲2.02 | 52.48 ▲7.65 |
Dashboard /wp-admin | 5.30 ▲1.96 | 61.26 ▼5.11 |
Posts /wp-admin/edit.php | 5.42 ▲2.06 | 60.52 ▲13.96 |
Add New Post /wp-admin/post-new.php | 7.90 ▲2.02 | 95.26 ▼1.99 |
Media Library /wp-admin/upload.php | 5.23 ▲2.00 | 50.10 ▲15.94 |
Server storage [IO: ▲3.41MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 305 new files
Database: 7 new tables, 8 new options
New tables |
---|
wp_feedmanager_source |
wp_feedmanager_channel |
wp_feedmanager_field_categories |
wp_feedmanager_feed_status |
wp_feedmanager_product_feedmeta |
wp_feedmanager_product_feed |
wp_feedmanager_country |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
wppfm_db_version |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
myplugin_version |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce Google Feed Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲45 | 14.26 ▼0.45 | 1.61 ▼0.13 | 39.14 ▼4.37 |
Dashboard /wp-admin | 2,197 ▲17 | 5.62 ▼0.01 | 93.81 ▼6.31 | 41.93 ▼3.51 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 2.05 ▲0.10 | 37.95 ▼0.92 | 33.64 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.36 ▼0.05 | 583.09 ▼39.80 | 48.52 ▼6.65 |
Media Library /wp-admin/upload.php | 1,399 ▲5 | 4.21 ▲0.00 | 97.56 ▲1.33 | 42.20 ▼0.65 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- myplugin_version
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-product-feed-manager/includes/packages/logger/includes/wppfm-logger-functions.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Screenshot #3 (Save and generate your feed) image missing
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: A description for screenshot #5 is missing in wp-product-feed-manager/assets to your readme.txt
wp-product-feed-manager/wp-product-feed-manager.php 92% from 13 tests
The principal PHP file in "WooCommerce Google Feed Manager" v. 2.1.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("5.4" instead of "5.4.0")
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
There were no executable files found in this plugin42,898 lines of code in 284 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 144 | 5,008 | 2,071 | 18,557 |
PHP | 114 | 3,629 | 4,929 | 11,574 |
XML | 14 | 0 | 0 | 7,692 |
PO File | 3 | 1,212 | 1,725 | 3,755 |
CSS | 9 | 246 | 50 | 1,320 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 16.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 312.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 87.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 5 | |
Classes | 87 | |
▷ Abstract classes | 6 | 6.90% |
▷ Concrete classes | 81 | 93.10% |
▷ Final classes | 1 | 1.23% |
Methods | 712 | |
▷ Static methods | 154 | 21.63% |
▷ Public methods | 451 | 63.34% |
▷ Protected methods | 100 | 14.04% |
▷ Private methods | 161 | 22.61% |
Functions | 101 | |
▷ Named functions | 96 | 95.05% |
▷ Anonymous functions | 5 | 4.95% |
Constants | 26 | |
▷ Global constants | 26 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/app-rss-plus-xml-icon.png | 0.71KB | 0.67KB | ▼ 5.53% |
images/copy-icon.png | 3.16KB | 3.17KB | 0.00% |
images/delete-icon.png | 2.39KB | 2.52KB | 0.00% |