Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/free-woocommerce-wishlist/includes/class_wishlist.php+5
Methods with the same name as their class will not be constructors in a future version of PHP; FWWL_Wishlist has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼63.82ms] Passed 4 tests
An overview of server-side resources used by Free WooCommerce Wishlist
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 4.96 ▼41.74 |
Dashboard /wp-admin | 2.09 ▼1.25 | 4.84 ▼64.40 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 5.61 ▼46.46 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.08 ▼102.68 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 5.85 ▼32.89 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_fwwl_wishlists |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Free WooCommerce Wishlist
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲139 | 13.42 ▼0.51 | 9.05 ▲7.27 | 40.45 ▼2.96 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.01 | 93.78 ▲5.05 | 37.45 ▼3.46 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.01 | 35.67 ▼1.04 | 33.91 ▼0.61 |
Add New Post /wp-admin/post-new.php | 1,526 ▼1 | 23.31 ▲0.27 | 656.11 ▲4.96 | 61.20 ▼0.69 |
Media Library /wp-admin/upload.php | 1,391 ▼9 | 4.17 ▲0.06 | 98.85 ▼19.48 | 42.86 ▼8.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/free-woocommerce-wishlist/includes/class_wishlist.php+5
Methods with the same name as their class will not be constructors in a future version of PHP; FWWL_Wishlist has a deprecated constructor
- Zombie tables were found after uninstall: 1 table
- wp_fwwl_wishlists
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/free-woocommerce-wishlist/free-woocommerce-wishlist.php:43
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/free-woocommerce-wishlist/free-woocommerce-wishlist.php on line 36
- > 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
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: wishlist, free, woocommerce
free-woocommerce-wishlist/free-woocommerce-wishlist.php Passed 13 tests
Analyzing the main PHP file in "Free WooCommerce Wishlist" version 1.0.0
58 characters long description:
A simple and free wishlist plugin to use with WooCommerce.
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
Success! There were no dangerous files found in this plugin348 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 87 | 19 | 170 |
CSS | 1 | 11 | 0 | 79 |
PO File | 2 | 22 | 26 | 70 |
JavaScript | 1 | 2 | 0 | 29 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 16 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin