Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.62MB] [CPU: ▼290.59ms] Passed 4 tests
A check of server-side resources used by Advanced Product Wishlist for Woocommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.32 ▲0.81 | 64.89 ▲15.83 |
Dashboard /wp-admin | 4.29 ▲0.88 | 39.46 ▲7.31 |
Posts /wp-admin/edit.php | 4.39 ▲0.75 | 39.27 ▼0.05 |
Add New Post /wp-admin/post-new.php | 7.05 ▲0.05 | 91.05 ▼1,182.62 |
Media Library /wp-admin/upload.php | 4.26 ▲0.97 | 36.84 ▲13.01 |
Advanced Product Wishlist /wp-admin/admin.php?page=advanced-product-wishlist-for-woocomerce | 4.28 | 41.05 |
Server storage [IO: ▲1.88MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 92 new files
Database: no new tables, 9 new options
New WordPress options |
---|
apww_color_scheme |
apw_general_settings |
apw_wishtlist_achive |
widget_apww_wishlist_counter_widget |
apsw_license_notices_web |
apww_license |
widget_apww_display_wishlist_widget |
apw_layout |
apw_social_share |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Product Wishlist for Woocommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,381 ▲627 | 18.15 ▲2.41 | 13.77 ▲7.54 | 2.34 ▼0.17 |
Dashboard /wp-admin | 3,328 ▲467 | 8.45 ▲2.24 | 142.39 ▲10.61 | 155.95 ▼5.50 |
Posts /wp-admin/edit.php | 2,974 ▲283 | 5.11 ▲1.88 | 79.59 ▲16.00 | 141.84 ▲2.31 |
Add New Post /wp-admin/post-new.php | 1,707 ▲46 | 16.10 ▼0.23 | 378.47 ▼52.63 | 163.69 ▲5.20 |
Media Library /wp-admin/upload.php | 1,759 ▲61 | 5.97 ▲0.47 | 110.05 ▼23.47 | 187.03 ▲4.09 |
Advanced Product Wishlist /wp-admin/admin.php?page=advanced-product-wishlist-for-woocomerce | 5,712 | 5.41 | 164.12 | 199.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 9 options
- apww_license
- apsw_license_notices_web
- apw_social_share
- apw_wishtlist_achive
- apww_color_scheme
- widget_apww_wishlist_counter_widget
- apw_layout
- widget_apww_display_wishlist_widget
- apw_general_settings
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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
Please fix the following items
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/advanced-product-wishlist-for-woo/includes/class-advanced-product-wishlist-for-woocomerce-loader.php:74
- > PHP Fatal error
Uncaught Error: Class 'Predic_Widget_Form_Field' not found in wp-content/plugins/advanced-product-wishlist-for-woo/lib/predic-widget/class/fields/class-predic-widget-color-field.php:6
- > PHP Fatal error
Uncaught Error: Class 'Predic_Widget_Form_Field' not found in wp-content/plugins/advanced-product-wishlist-for-woo/lib/predic-widget/class/fields/class-predic-widget-input-field.php:6
- > PHP Fatal error
Uncaught Error: Class 'Predic_Widget_Form_Field' not found in wp-content/plugins/advanced-product-wishlist-for-woo/lib/predic-widget/class/fields/class-predic-widget-fa-iconpicker-field.php:6
- > PHP Fatal error
Uncaught Error: Class 'Predic_Widget_Form_Field' not found in wp-content/plugins/advanced-product-wishlist-for-woo/lib/predic-widget/class/fields/class-predic-widget-textarea-field.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/advanced-product-wishlist-for-woo/lib/predic-widget/examples/procedural-example.php:73
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-product-wishlist-for-woo/includes/class-advanced-product-wishlist-for-notices.php:78
- > PHP Fatal error
Uncaught Error: Class 'Predic_Widget_Form_Field' not found in wp-content/plugins/advanced-product-wishlist-for-woo/lib/predic-widget/class/fields/class-predic-widget-select-field.php:6
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/advanced-product-wishlist-for-woo/includes/class-advanced-product-wishlist-for-woocomerce-loader.php on line 74
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/advanced-product-wishlist-for-woo/lib/predic-widget/class/class-predic-widget-factory.php:6
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=advanced-product-wishlist-for-woocomerce
- > Network (severe)
wp-content/plugins/advanced-product-wishlist-for-woo/admin/css/upgrade.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Plugins Options 0), #2 (Plugins Options 1), #3 (Plugins Options 2), #4 (Plugins Options 3), #5 (Plugins Options 4)
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
advanced-product-wishlist-for-woo/advanced-product-wishlist-for-woocomerce.php 77% from 13 tests
The primary PHP file in "Advanced Product Wishlist for Woocommerce" version 1.0.6 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.6" instead of "3.0.0")
- Main file name: Name the main plugin file the same as the plugin slug ("advanced-product-wishlist-for-woo.php" instead of "advanced-product-wishlist-for-woocomerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin8,592 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 42 | 1,501 | 2,635 | 4,453 |
SVG | 2 | 0 | 0 | 2,720 |
CSS | 11 | 61 | 73 | 947 |
JavaScript | 10 | 228 | 114 | 410 |
Sass | 3 | 12 | 0 | 62 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 20.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 3.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 1 | 4.17% |
▷ Concrete classes | 23 | 95.83% |
▷ Final classes | 0 | 0.00% |
Methods | 158 | |
▷ Static methods | 6 | 3.80% |
▷ Public methods | 144 | 91.14% |
▷ Protected methods | 1 | 0.63% |
▷ Private methods | 13 | 8.23% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.22MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/owl-carousel/assets/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |
screenshot-2.png | 55.66KB | 29.54KB | ▼ 46.92% |
screenshot-4.png | 27.14KB | 15.82KB | ▼ 41.68% |
screenshot-0.png | 45.76KB | 27.34KB | ▼ 40.26% |
screenshot-5.png | 72.09KB | 45.21KB | ▼ 37.29% |