Benchmarks
Plugin footprint 83% 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.24MB] [CPU: ▲1.35ms] Passed 4 tests
A check of server-side resources used by NS Wishlist For Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 50.79 ▲10.11 |
Dashboard /wp-admin | 3.54 ▲0.24 | 54.79 ▲2.52 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 56.48 ▲2.83 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.26 | 97.52 ▼6.75 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 43.13 ▲6.79 |
How to install premium version /wp-admin/admin.php?page=how-to-install-premium-version | 3.40 | 36.20 |
Wishlist /wp-admin/admin.php?page=ns-wishlist-for-woocommerce/ns-admin-options/ns_admin_option_dashboard.php | 3.46 | 39.82 |
/wp-admin/admin.php?page=plugineye218 | 3.43 | 45.26 |
Server storage [IO: ▲7.15MB] [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: 97 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
nsww_reviews_installed_on |
widget_ns_wishlist |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for NS Wishlist For Woocommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,170 ▲424 | 13.91 ▼0.32 | 14.08 ▲12.49 | 38.01 ▼8.14 |
Dashboard /wp-admin | 2,224 ▲36 | 4.86 ▼1.04 | 107.50 ▼1.03 | 69.24 ▲24.53 |
Posts /wp-admin/edit.php | 2,125 ▲33 | 2.00 ▼0.00 | 37.77 ▼3.70 | 34.98 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,541 ▼1 | 23.03 ▼0.21 | 694.10 ▲63.29 | 51.41 ▼1.31 |
Media Library /wp-admin/upload.php | 1,412 ▲21 | 4.20 ▼0.03 | 99.51 ▼3.16 | 77.46 ▲33.31 |
How to install premium version /wp-admin/admin.php?page=how-to-install-premium-version | 684 | 1.14 | 6.57 | 20.90 |
Wishlist /wp-admin/admin.php?page=ns-wishlist-for-woocommerce/ns-admin-options/ns_admin_option_dashboard.php | 1,545 | 9.06 | 251.38 | 54.85 |
/wp-admin/admin.php?page=plugineye218 | 903 | 2.03 | 29.59 | 26.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- widget_theysaidso_widget
- widget_recent-comments
- nsww_reviews_installed_on
- widget_recent-posts
- theysaidso_admin_options
- widget_ns_wishlist
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=how-to-install-premium-version
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ns-wishlist-for-woocommerce/plugineye/plugineye-ajax/plugineye_on_deactivation_function.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ns-wishlist-for-woocommerce/ns-woocommerce-wishlist-single-product.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ns-wishlist-for-woocommerce/ns-woocommerce-wishlist-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ns-wishlist-for-woocommerce/ns-woocommerce-wishlist-share.php:56
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ns-wishlist-for-woocommerce/ns-woocommerce-wishlist-loop-product.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Single product wishlist.), #2 (Shop & Widget.), #3 (Wishlist page.)
ns-wishlist-for-woocommerce/ns-woocommerce-wishlist.php 92% from 13 tests
The main file in "NS Wishlist For Woocommerce" v. 2.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("ns-wishlist-for-woocommerce.php" instead of "ns-woocommerce-wishlist.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected15,096 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 8 | 0 | 15 | 9,715 |
CSS | 7 | 1,457 | 19 | 3,683 |
PHP | 19 | 238 | 479 | 1,526 |
JavaScript | 4 | 36 | 59 | 172 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 23.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 15 | 39.47% |
▷ Public methods | 24 | 63.16% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 36.84% |
Functions | 33 | |
▷ Named functions | 20 | 60.61% |
▷ Anonymous functions | 13 | 39.39% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
13 PNG files occupy 0.56MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 24.71KB | 6.38KB | ▼ 74.19% |
screenshot-7.png | 131.00KB | 43.10KB | ▼ 67.10% |
ns-admin-options/img/backend-sidebar-icon.png | 1.48KB | 0.54KB | ▼ 63.47% |
screenshot-6.png | 35.07KB | 10.04KB | ▼ 71.36% |
ns-admin-options/img/nswish-bannerone.png | 21.82KB | 8.76KB | ▼ 59.84% |