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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.17ms] Passed 4 tests
Analyzing server-side resources used by DataCue: Grow Conversion with Recommendations & Personalization for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 36.04 ▼6.93 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.81 ▼2.75 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 47.71 ▲2.83 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 81.17 ▼13.81 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.43 ▲7.13 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 99 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_datacue_queue |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for DataCue: Grow Conversion with Recommendations & Personalization for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.24 ▼1.17 | 1.65 ▼0.36 | 44.74 ▲1.71 |
Dashboard /wp-admin | 2,206 ▲17 | 4.87 ▼0.05 | 112.92 ▼7.13 | 41.14 ▼1.83 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.01 | 40.66 ▲6.04 | 35.65 ▲1.52 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 22.96 ▲5.33 | 665.74 ▲74.53 | 52.65 ▼5.03 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.22 ▼0.03 | 94.60 ▼13.82 | 42.07 ▼9.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% 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)
Even though no errors were found, this is by no means an exhaustive test
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 fix the following
- 91× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require_once(wp-content/plugins/datacue-for-woocommerce/vendor/datacue/client/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/datacue-for-woocommerce/vendor/datacue/client/examples/orders/deleteAll.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'DataCue\\WooCommerce\\Modules\\Base' not found in wp-content/plugins/datacue-for-woocommerce/src/Modules/Event.php:11
- > PHP Warning
require_once(wp-content/plugins/datacue-for-woocommerce/vendor/datacue/client/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/datacue-for-woocommerce/vendor/datacue/client/examples/categories/create.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'DataCue\\Modules\\Base' not found in wp-content/plugins/datacue-for-woocommerce/vendor/datacue/client/src/Modules/User.php:9
- > PHP Warning
require_once(wp-content/plugins/datacue-for-woocommerce/vendor/datacue/client/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/datacue-for-woocommerce/vendor/datacue/client/examples/client/clear.php on line 4
- > PHP Warning
require_once(wp-content/plugins/datacue-for-woocommerce/vendor/datacue/client/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/datacue-for-woocommerce/vendor/datacue/client/examples/users/deleteAll.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/datacue-for-woocommerce/src/Widgets/Products.php:11
- > PHP Warning
require_once(wp-content/plugins/datacue-for-woocommerce/vendor/datacue/client/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/datacue-for-woocommerce/vendor/datacue/client/examples/orders/cancel.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'DataCue\\WooCommerce\\Modules\\Base' not found in wp-content/plugins/datacue-for-woocommerce/src/Modules/Product.php:9
- > PHP Warning
require_once(wp-content/plugins/datacue-for-woocommerce/vendor/datacue/client/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/datacue-for-woocommerce/vendor/datacue/client/examples/overview/products.php on line 4
- > PHP Warning
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 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Requires at least: Invalid version format
datacue-for-woocommerce/dc-woocommerce-plugin.php 85% from 13 tests
The principal PHP file in "DataCue: Grow Conversion with Recommendations & Personalization for WooCommerce" v. 1.1.3 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("datacue-for-woocommerce.php" instead of "dc-woocommerce-plugin.php")
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 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 plugin3,987 lines of code in 91 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 85 | 837 | 1,537 | 3,711 |
JSON | 3 | 0 | 0 | 110 |
Markdown | 2 | 35 | 0 | 92 |
CSS | 1 | 11 | 0 | 74 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 8.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 41 | |
▷ Abstract classes | 1 | 2.44% |
▷ Concrete classes | 40 | 97.56% |
▷ Final classes | 0 | 0.00% |
Methods | 213 | |
▷ Static methods | 32 | 15.02% |
▷ Public methods | 172 | 80.75% |
▷ Protected methods | 7 | 3.29% |
▷ Private methods | 34 | 15.96% |
Functions | 18 | |
▷ Named functions | 1 | 5.56% |
▷ Anonymous functions | 17 | 94.44% |
Constants | 23 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 23 | 100.00% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin