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: ▲0.00MB] [CPU: ▼2.44ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce WishList
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 47.28 ▲4.46 |
Dashboard /wp-admin | 3.31 ▲0.00 | 54.26 ▲2.34 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 70.53 ▲15.66 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.78 ▼15.91 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.42 ▼0.65 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
woowl-page-id |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce WishList
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲29 | 13.80 ▲0.55 | 2.09 ▲0.39 | 42.04 ▼4.00 |
Dashboard /wp-admin | 2,206 ▼0 | 5.91 ▲0.03 | 107.25 ▼1.45 | 37.56 ▼8.26 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.03 | 40.66 ▲1.95 | 37.08 ▲1.93 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.24 ▲4.73 | 681.24 ▲34.69 | 53.39 ▼0.65 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▼0.03 | 99.05 ▼12.63 | 43.20 ▼2.85 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- woowl-page-id
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/woo-wishlist/includes/class-wc-settings-wishlist.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: wishlist, woocommerce
woo-wishlist/woo-wishlist.php Passed 13 tests
The main PHP file in "WooCommerce WishList" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
49 characters long description:
A plugin to add wishlist on woocommerce products.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin857 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 83 | 93 | 857 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 39.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 5.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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 files were detected