Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.79MB] [CPU: ▲2.47ms] 75% from 4 tests
An overview of server-side resources used by WishSuite - Wishlist for WooCommerce
The following require your attention
- CPU: Try to keep total CPU usage under 500.00ms (currently 1,332.13ms on /wp-admin/admin.php?page=wishsuite_recommendations)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.39 | 42.47 ▲3.17 |
Dashboard /wp-admin | 4.24 ▲0.94 | 64.50 ▲15.95 |
Posts /wp-admin/edit.php | 4.29 ▲0.94 | 53.62 ▲8.47 |
Add New Post /wp-admin/post-new.php | 6.82 ▲0.93 | 88.12 ▼10.42 |
Media Library /wp-admin/upload.php | 4.14 ▲0.91 | 41.56 ▲8.65 |
Recommendations /wp-admin/admin.php?page=wishsuite_recommendations | 8.55 | 1,332.13 |
Server storage [IO: ▲0.42MB] [DB: ▲0.67MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 71 new files
Database: 1 new table, 12 new options
New tables |
---|
wp_wishsuite_list |
New WordPress options |
---|
db_upgraded |
wishsuite_version |
wishsuite_table_settings_tabs |
widget_recent-posts |
wishsuite_settings_tabs |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
wishsuite_installed |
wishsuite_style_settings_tabs |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WishSuite - Wishlist for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,978 ▲217 | 15.03 ▲0.37 | 1.70 ▲0.09 | 42.08 ▲2.04 |
Dashboard /wp-admin | 2,387 ▲209 | 6.34 ▲0.68 | 120.58 ▲20.65 | 42.62 ▲0.52 |
Posts /wp-admin/edit.php | 2,323 ▲223 | 3.76 ▲1.80 | 47.06 ▲10.23 | 31.09 ▼2.24 |
Add New Post /wp-admin/post-new.php | 1,571 ▲45 | 23.58 ▲0.31 | 624.45 ▼23.68 | 34.74 ▼17.70 |
Media Library /wp-admin/upload.php | 1,454 ▲51 | 4.33 ▲0.07 | 79.89 ▼17.63 | 41.54 ▼5.92 |
Recommendations /wp-admin/admin.php?page=wishsuite_recommendations | 3,108 | 3.44 | 45.97 | 85.15 |
Settings /wp-admin/admin.php?page=wishsuite#settings | 3,342 | 4.43 | 130.48 | 44.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.67MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- wishsuite_installed
- db_upgraded
- wishsuite_general_tabs
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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
The following issues need your attention
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wishsuite/includes/templates/wishsuite-button-exist.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wishsuite/includes/templates/wishsuite-table.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wishsuite/includes/templates/wishsuite-count.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/wishsuite/includes/templates/wishsuite-button-add.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: product wishlist, woocommerce wishlist, wishlist, wishsuite, woocommerce
wishsuite/wishsuite.php Passed 13 tests
The entry point to "WishSuite - Wishlist for WooCommerce" version 1.3.7 is a PHP file that has certain tags in its header comment area
35 characters long description:
WooCommerce Product wishlist plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin4,844 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 976 | 1,024 | 3,732 |
CSS | 2 | 50 | 20 | 625 |
JavaScript | 3 | 92 | 52 | 392 |
SVG | 13 | 0 | 2 | 90 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 23.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 1 | 5.56% |
Methods | 172 | |
▷ Static methods | 27 | 15.70% |
▷ Public methods | 161 | 93.60% |
▷ Protected methods | 1 | 0.58% |
▷ Private methods | 10 | 5.81% |
Functions | 23 | |
▷ Named functions | 19 | 82.61% |
▷ Anonymous functions | 4 | 17.39% |
Constants | 10 | |
▷ Global constants | 7 | 70.00% |
▷ Class constants | 3 | 30.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
18 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/extensions/ht-slider-addons-pro.png | 6.41KB | 4.35KB | ▼ 32.23% |
(invalid) assets/images/extensions/ht-menu.png | 2.85KB | 0.00KB | ▼ 100.00% |
assets/images/extensions/woolentor-addons-pro.png | 3.20KB | 1.69KB | ▼ 47.09% |
(invalid) assets/images/extensions/wp-plugin-manager-pro.png | 13.31KB | 0.00KB | ▼ 100.00% |
assets/images/extensions/just-tables-pro.png | 1.02KB | 1.05KB | 0.00% |