Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.08MB] [CPU: ▲5.84ms] Passed 4 tests
This is a short check of server-side resources used by Wishlist
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.71 ▲1.24 | 51.99 ▲2.93 |
Dashboard /wp-admin | 4.42 ▲1.11 | 64.52 ▲9.92 |
Posts /wp-admin/edit.php | 4.48 ▲1.12 | 67.28 ▲18.78 |
Add New Post /wp-admin/post-new.php | 6.95 ▲1.05 | 105.47 ▲2.98 |
Media Library /wp-admin/upload.php | 4.26 ▲1.03 | 49.55 ▲7.51 |
All Wishlists /wp-admin/edit.php?post_type=wishlist | 4.46 | 58.28 |
Settings /wp-admin/edit.php?post_type=wishlist&page=wishlist-settings | 4.39 | 54.69 |
Server storage [IO: ▲5.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 71 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_pickplugins_wl_data |
wp_pickplugins_wl_urlid |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
wishlist_plugin_info |
widget_recent-comments |
wishlist_settings |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Wishlist
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,039 ▲278 | 14.88 ▲0.60 | 6.05 ▲4.13 | 43.01 ▼5.91 |
Dashboard /wp-admin | 2,366 ▲192 | 6.23 ▲0.56 | 125.21 ▲25.14 | 48.85 ▲6.75 |
Posts /wp-admin/edit.php | 2,294 ▲194 | 3.40 ▲1.43 | 55.42 ▲13.29 | 35.82 ▼3.64 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 23.40 ▲0.46 | 632.08 ▼90.49 | 34.47 ▼21.79 |
Media Library /wp-admin/upload.php | 1,434 ▲37 | 4.23 ▲0.00 | 89.15 ▼33.81 | 44.67 ▼14.46 |
All Wishlists /wp-admin/edit.php?post_type=wishlist | 1,859 | 3.36 | 55.89 | 33.78 |
Settings /wp-admin/edit.php?post_type=wishlist&page=wishlist-settings | 5,331 | 7.71 | 183.97 | 45.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables were found after uninstall: 2 tables
- wp_pickplugins_wl_urlid
- wp_pickplugins_wl_data
- Zombie WordPress options detected upon uninstall: 8 options
- can_compress_scripts
- theysaidso_admin_options
- wishlist_settings
- widget_recent-posts
- db_upgraded
- wishlist_plugin_info
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=wishlist&page=wishlist-settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,moxiejs,plupload,wp-codemirror,code-editor&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).Lazy is not a function" "TypeError: $(...).Lazy is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/wishlist/assets/settings-tabs/settings-tabs.js?ver=6.3.1:311:20)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,moxiejs,plupload,wp-codemirror,code-editor&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,moxiejs,plupload,wp-codemirror,code-editor&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/edit.php?post_type=wishlist&page=wishlist-settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,moxiejs,plupload,wp-codemirror,code-editor&ver=6.3.1 1:28721 Uncaught TypeError: $(...).Lazy is not a function
Optimizations
Plugin configuration 97% 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 need to be fixed:
- Screenshots: Please describe screenshot #5 in wishlist/assets to your readme.txt
wishlist/wishlist.php Passed 13 tests
The main file in "Wishlist" v. 1.0.39 serves as a complement to information provided in readme.txt and as the entry point to the plugin
68 characters long description:
Add wish-list feature to your WooCommerce product or any post types.
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
There were no executable files found in this plugin22,063 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 12 | 11,553 |
PHP | 23 | 2,913 | 201 | 4,975 |
CSS | 10 | 1,849 | 124 | 4,044 |
JavaScript | 5 | 590 | 133 | 879 |
PO File | 1 | 208 | 265 | 490 |
JSON | 1 | 3 | 0 | 122 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 91.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 641.00 |
Average method complexity | 12.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 62 | 98.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.59% |
Functions | 86 | |
▷ Named functions | 86 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin