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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.05ms] Passed 4 tests
An overview of server-side resources used by NC Wishlist for Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.66 ▲3.31 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.84 ▼3.64 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.33 ▲1.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.90 ▼8.99 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.46 ▲4.37 |
Server storage [IO: ▲0.09MB] [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: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for NC Wishlist for Woocommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.29 ▼1.46 | 1.71 ▲0.01 | 42.88 ▲1.73 |
Dashboard /wp-admin | 2,206 ▲24 | 5.79 ▼0.02 | 101.17 ▼7.70 | 39.82 ▼1.75 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.07 ▲0.05 | 39.39 ▲0.81 | 36.23 ▲2.79 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.60 ▲0.13 | 657.57 ▼37.22 | 52.06 ▼2.31 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.24 ▲0.02 | 108.37 ▲9.96 | 47.52 ▲3.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nc-wishlist-for-woocommerce/public/includes/nc-wishlist-for-woocommerce-ajax.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nc-wishlist-for-woocommerce/inc/nc_wishlist_ajax.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nc-wishlist-for-woocommerce/inc/nc_wishlist_contents.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nc-wishlist-for-woocommerce/public/includes/nc-wishlist-for-woocommerce-wishlist-items.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nc-wishlist-for-woocommerce/admin/includes/nc-wishlist-for-woocommerce-settings-form.php:17
- > PHP Notice
Undefined index: nc_wihslist_items in wp-content/plugins/nc-wishlist-for-woocommerce/inc/nc_wishlist_contents.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function wc_print_notices() in wp-content/plugins/nc-wishlist-for-woocommerce/inc/wishlist-items.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nc-wishlist-for-woocommerce/inc/nc_wishlist_settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nc-wishlist-for-woocommerce/public/includes/nc-wishlist-for-woocommerce-contents.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: woocommerce wishlist, wishlist, wishlist woocommerce
nc-wishlist-for-woocommerce/nc-wishlist-for-woocommerce.php Passed 13 tests
The primary PHP file in "NC Wishlist for Woocommerce" version 1.0.1 is used by WordPress to initiate all plugin functionality
91 characters long description:
NC Wishlist for woocommerce allow you to add wishlist functionality to your ecommerce store
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,053 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 414 | 666 | 1,043 |
CSS | 2 | 0 | 4 | 10 |
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.30 |
Average class complexity | 7.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 1.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 1 | 2.27% |
▷ Public methods | 39 | 88.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.36% |
Functions | 5 | |
▷ Named functions | 5 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin