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: ▲1.97MB] [CPU: ▲16.46ms] Passed 4 tests
Analyzing server-side resources used by CTX Feed – WooCommerce Product Feed Manager Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.43 ▲1.97 | 68.84 ▲25.69 |
Dashboard /wp-admin | 5.27 ▲1.92 | 67.34 ▼3.88 |
Posts /wp-admin/edit.php | 5.38 ▲2.02 | 68.93 ▲24.60 |
Add New Post /wp-admin/post-new.php | 8.68 ▲2.79 | 107.80 ▲19.41 |
Media Library /wp-admin/upload.php | 5.19 ▲1.96 | 61.44 ▲28.59 |
Server storage [IO: ▲16.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 475 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CTX Feed – WooCommerce Product Feed Manager Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲66 | 14.31 ▲0.16 | 1.82 ▲0.10 | 42.52 ▼0.60 |
Dashboard /wp-admin | 2,204 ▲27 | 5.63 ▼0.04 | 94.27 ▼5.00 | 45.59 ▲3.41 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.94 ▼0.03 | 39.17 ▲4.22 | 40.61 ▲5.36 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.03 ▼0.45 | 664.63 ▲50.46 | 55.31 ▲0.61 |
Media Library /wp-admin/upload.php | 1,415 ▲21 | 4.18 ▼0.01 | 96.76 ▼2.99 | 44.97 ▲0.97 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% 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 output text when accessed directly:
- > /wp-content/plugins/webappick-product-feed-for-woocommerce/admin/partials/woo-feed-pro-vs-free.php
- 79× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webappick-product-feed-for-woocommerce/includes/widget.php:22
- > PHP Fatal error
Uncaught Error: Interface 'CTXFeed\\V5\\Tax\\TaxInterface' not found in wp-content/plugins/webappick-product-feed-for-woocommerce/V5/Tax/CustomTax.php:9
- > PHP Fatal error
Uncaught Error: Interface 'CTXFeed\\V5\\Query\\QueryInterface' not found in wp-content/plugins/webappick-product-feed-for-woocommerce/V5/Query/ProductQuery.php:17
- > PHP Fatal error
Uncaught Error: Interface 'CTXFeed\\V5\\Structure\\StructureInterface' not found in wp-content/plugins/webappick-product-feed-for-woocommerce/V5/Structure/CustomStructure.php:7
- > PHP Fatal error
Uncaught Error: Interface 'CTXFeed\\V5\\Structure\\StructureInterface' not found in wp-content/plugins/webappick-product-feed-for-woocommerce/V5/Structure/Custom2Structure.php:8
- > PHP Fatal error
Uncaught Error: Interface 'CTXFeed\\V5\\Template\\TemplateInterface' not found in wp-content/plugins/webappick-product-feed-for-woocommerce/V5/Template/GoogleTemplate.php:22
- > PHP Fatal error
Uncaught Error: Interface 'CTXFeed\\V5\\File\\FileInterface' not found in wp-content/plugins/webappick-product-feed-for-woocommerce/V5/File/TXT.php:3
- > PHP Fatal error
Uncaught Error: Class 'CTXFeed\\V5\\Common\\DropDownOptions' not found in wp-content/plugins/webappick-product-feed-for-woocommerce/admin/partials/woo-feed-add-option.php:3
- > PHP Fatal error
Uncaught Error: Class 'CTXFeed\\V5\\Shipping\\Shipping' not found in wp-content/plugins/webappick-product-feed-for-woocommerce/V5/Shipping/CustomShipping.php:7
- > PHP Fatal error
Uncaught Error: Interface 'CTXFeed\\V5\\Structure\\StructureInterface' not found in wp-content/plugins/webappick-product-feed-for-woocommerce/V5/Structure/GoogleStructure.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
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
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
webappick-product-feed-for-woocommerce/woo-feed.php 77% from 13 tests
The primary PHP file in "CTX Feed – WooCommerce Product Feed Manager Plugin" version 6.3.5 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 163 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("webappick-product-feed-for-woocommerce.php" instead of "woo-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
Everything looks great! No dangerous files found in this plugin86,091 lines of code in 366 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 258 | 7,644 | 17,740 | 61,879 |
JavaScript | 27 | 2,139 | 1,678 | 12,721 |
CSS | 17 | 1,361 | 279 | 8,185 |
SVG | 62 | 8 | 22 | 3,122 |
PO File | 1 | 60 | 364 | 136 |
XML | 1 | 14 | 9 | 48 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 142)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 22.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 530.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 142.00 |
Code structure | ||
---|---|---|
Namespaces | 31 | |
Interfaces | 11 | |
Traits | 0 | |
Classes | 222 | |
▷ Abstract classes | 1 | 0.45% |
▷ Concrete classes | 221 | 99.55% |
▷ Final classes | 2 | 0.90% |
Methods | 1,836 | |
▷ Static methods | 323 | 17.59% |
▷ Public methods | 1,433 | 78.05% |
▷ Protected methods | 221 | 12.04% |
▷ Private methods | 182 | 9.91% |
Functions | 233 | |
▷ Named functions | 206 | 88.41% |
▷ Anonymous functions | 27 | 11.59% |
Constants | 63 | |
▷ Global constants | 21 | 33.33% |
▷ Class constants | 42 | 66.67% |
▷ Public constants | 42 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
15 PNG files occupy 0.62MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/v5_images/logo-pro.9858a552.png | 41.11KB | 23.54KB | ▼ 42.74% |
admin/images/v5_images/CTX-Feed-Plugin-Side-Banner.png | 3.50KB | 1.80KB | ▼ 48.45% |
admin/images/warning-icon.png | 3.80KB | 3.62KB | ▼ 4.81% |
admin/images/v5_images/CTXFeed-Logo-lifetime.png | 29.33KB | 16.03KB | ▼ 45.34% |
admin/images/v5_images/Side-Plugin-Banner-1.a5643d7e.png | 94.47KB | 49.88KB | ▼ 47.20% |