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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.51ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Product Wishlist
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.78 ▼0.82 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.13 ▲0.87 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.79 ▼5.97 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.11 ▼7.93 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.29 ▲0.70 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
WooCommerce Product Wishlist: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.23 ▼1.07 | 1.50 ▼0.47 | 40.73 ▼6.85 |
Dashboard /wp-admin | 2,206 ▲18 | 5.83 ▼0.07 | 104.23 ▲2.42 | 38.03 ▼6.35 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.02 ▼0.02 | 35.89 ▼4.31 | 33.86 ▼3.63 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.28 ▼4.96 | 637.73 ▲4.88 | 51.82 ▲3.02 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▲0.02 | 96.44 ▼3.57 | 41.70 ▼3.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/woo-product-wishlist/woocommerce-whishlist.php on line 11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/woo-product-wishlist/mail.php on line 79
- > PHP Notice
Undefined variable: image in wp-content/plugins/woo-product-wishlist/mail.php on line 79
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/woo-product-wishlist/woocommerce-whishlist.php on line 11
- > PHP Notice
Undefined variable: first_name in wp-content/plugins/woo-product-wishlist/mail.php on line 119
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/woo-product-wishlist/mail.php:153
- > PHP Notice
Undefined variable: wpdb in wp-content/plugins/woo-product-wishlist/mail.php on line 153
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woo-product-wishlist/woocommerce-whishlist.php:13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/woo-product-wishlist/woocommerce-whishlist.php on line 11
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: whishlist, woocommerce, product
woo-product-wishlist/woocommerce-whishlist.php 85% from 13 tests
The primary PHP file in "WooCommerce Product Wishlist" version 1.2.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-product-wishlist.php" instead of "woocommerce-whishlist.php")
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin910 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 102 | 31 | 660 |
JavaScript | 1 | 25 | 16 | 208 |
CSS | 1 | 3 | 0 | 42 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 21 | |
▷ Named functions | 21 | 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