Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.90ms] Passed 4 tests
Analyzing server-side resources used by Wishlist for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.90 ▼0.23 |
Dashboard /wp-admin | 3.32 ▼0.02 | 47.37 ▼9.47 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 43.73 ▼1.73 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.61 ▼8.15 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 38.13 ▲4.04 |
Server storage [IO: ▲0.18MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Wishlist for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.41 ▼0.15 | 1.69 ▼0.00 | 42.87 ▲1.31 |
Dashboard /wp-admin | 2,198 ▲26 | 5.56 ▼0.19 | 83.80 ▼12.36 | 37.62 ▼3.71 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.01 | 32.84 ▼5.51 | 34.07 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.11 ▲4.85 | 667.93 ▲63.17 | 55.66 ▼16.27 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.22 ▼0.05 | 108.77 ▲13.74 | 47.80 ▲4.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in jvm-woocommerce-wishlist/assets to your readme.txt
jvm-woocommerce-wishlist/jvm-woocommerce-wishlist.php 92% from 13 tests
The main PHP script in "Wishlist for WooCommerce" version 1.3.6 is automatically included on every request by WordPress
You should first fix the following items:
- Requires at least: Required version must match the one declared in readme.txt ("5.0" instead of "4.0")
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
Good job! No executable or dangerous file extensions detected3,262 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 772 | 1,481 | 2,863 |
JavaScript | 2 | 67 | 33 | 174 |
JSON | 4 | 0 | 0 | 164 |
CSS | 1 | 7 | 9 | 49 |
SVG | 1 | 0 | 0 | 12 |
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.39 |
Average class complexity | 25.23 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 175 | |
▷ Static methods | 26 | 14.86% |
▷ Public methods | 133 | 76.00% |
▷ Protected methods | 7 | 4.00% |
▷ Private methods | 35 | 20.00% |
Functions | 24 | |
▷ Named functions | 19 | 79.17% |
▷ Anonymous functions | 5 | 20.83% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin