Benchmarks
Plugin footprint 65% 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.14MB] [CPU: ▼3.83ms] Passed 4 tests
Server-side resources used by Addonify - WooCommerce Wishlist
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 41.33 ▲0.14 |
Dashboard /wp-admin | 3.45 ▲0.14 | 46.56 ▼2.71 |
Posts /wp-admin/edit.php | 3.57 ▲0.20 | 48.80 ▲1.12 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 80.24 ▼13.10 |
Media Library /wp-admin/upload.php | 3.38 ▲0.14 | 36.23 ▲0.37 |
Server storage [IO: ▲2.36MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 185 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_addonify_wishlist_table |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
addonify_wishlist_wishlist_page |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Addonify - WooCommerce Wishlist
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲48 | 14.22 ▼0.10 | 1.64 ▼0.28 | 44.20 ▼1.56 |
Dashboard /wp-admin | 2,218 ▲40 | 5.61 ▼0.11 | 92.28 ▼22.46 | 38.90 ▼5.28 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 2.01 ▲0.06 | 39.54 ▲3.37 | 37.01 ▲2.07 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.14 ▼0.14 | 671.89 ▲19.01 | 61.62 ▲10.09 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.18 ▼0.11 | 98.29 ▼4.63 | 41.71 ▼0.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_addonify_wishlist_table
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- addonify_wishlist_wishlist_page
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 14× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/addonify-wishlist/includes/addonify-wishlist-template-functions.php:472
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/addonify-wishlist/includes/setting-functions/settings-v2.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-wishlist/includes/setting-functions/fields_v2/wishlist-notice.php:127
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/addonify-wishlist/public/templates/addonify-wishlist-modal-content.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-wishlist/includes/setting-functions/fields_v2/popup-modal.php:266
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/addonify-wishlist/includes/class-addonify-wishlist-database-handler.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-wishlist/includes/setting-functions/fields_v2/wishlist-sidebar.php:325
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-wishlist/includes/setting-functions/fields_v2/wishlist-page.php:84
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/addonify-wishlist/public/templates/addonify-wishlist-page-loop.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-wishlist/includes/setting-functions/fields_v2/general.php:122
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/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
6 plugin tags: wishlist, e-commerce, woocommerce, product wishlist, ecommerce...
addonify-wishlist/addonify-wishlist.php Passed 13 tests
"Addonify - WooCommerce Wishlist" version 2.0.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
125 characters long description:
Addonify WooCommerce Wishlist is a light-weight yet powerful tool that adds a wishlist functionality to your e-commerce shop.
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
Good job! No executable or dangerous file extensions detected7,825 lines of code in 83 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 66 | 1,615 | 2,999 | 7,084 |
JSON | 2 | 0 | 0 | 510 |
Markdown | 2 | 72 | 0 | 149 |
CSS | 6 | 21 | 8 | 54 |
JavaScript | 7 | 0 | 0 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 26.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 199 | |
▷ Static methods | 33 | 16.58% |
▷ Public methods | 176 | 88.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 23 | 11.56% |
Functions | 102 | |
▷ Named functions | 90 | 88.24% |
▷ Anonymous functions | 12 | 11.76% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin