Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.24ms] Passed 4 tests
An overview of server-side resources used by Flexible Wishlist for WooCommerce - Ecommerce Wishlist & Save for later
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 36.49 ▼3.09 |
Dashboard /wp-admin | 3.40 ▲0.09 | 44.31 ▼2.51 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 45.76 ▼5.24 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.07 ▼10.11 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.54 ▼2.02 |
Server storage [IO: ▲1.40MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 443 new files
Database: no new tables, 8 new options
New WordPress options |
---|
plugin_activation_flexible-wishlist/flexible-wishlist.php |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
wpdesk_requirements_plugins_data |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Flexible Wishlist for WooCommerce - Ecommerce Wishlist & Save for later
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.28 ▼0.10 | 1.68 ▼0.00 | 43.10 ▲2.52 |
Dashboard /wp-admin | 2,195 ▲18 | 5.51 ▼0.16 | 81.64 ▼16.37 | 36.49 ▼9.33 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.03 ▲0.09 | 38.57 ▲1.03 | 32.31 ▼6.63 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 22.74 ▼0.74 | 614.55 ▼22.21 | 70.82 ▲15.75 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.23 ▲0.05 | 98.56 ▼4.14 | 41.04 ▼14.10 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- plugin_activation_flexible-wishlist/flexible-wishlist.php
Smoke tests 75% from 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)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 215× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'FlexibleWishlistVendor\\Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/flexible-wishlist/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SamplingHandler.php:28
- > PHP Fatal error
Uncaught Error: Interface 'FlexibleWishlistVendor\\WPDesk\\PluginBuilder\\Plugin\\Hookable' not found in wp-content/plugins/flexible-wishlist/src/Service/UserAuthManager.php:17
- > PHP Fatal error
Uncaught Error: Class 'FlexibleWishlistVendor\\Codeception\\Lib\\Generator\\Test' not found in wp-content/plugins/flexible-wishlist/vendor_prefixed/wpdesk/wp-codeception/src/WPDesk/Codeception/Command/AcceptanceTestGenerator.php:11
- > PHP Fatal error
Uncaught Error: Class 'WPDesk\\FlexibleWishlist\\Settings\\Option\\OptionBase' not found in wp-content/plugins/flexible-wishlist/src/Settings/Option/TextArchiveUrlOption.php:8
- > PHP Fatal error
Uncaught Error: Class 'FlexibleWishlistVendor\\Monolog\\Formatter\\JsonFormatter' not found in wp-content/plugins/flexible-wishlist/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/LogglyFormatter.php:18
- > PHP Fatal error
Uncaught Error: Class 'FlexibleWishlistVendor\\Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/flexible-wishlist/vendor_prefixed/monolog/monolog/src/Monolog/Handler/SlackHandler.php:23
- > PHP Fatal error
Uncaught Error: Class 'FlexibleWishlistVendor\\Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/flexible-wishlist/vendor_prefixed/monolog/monolog/src/Monolog/Formatter/LineFormatter.php:22
- > PHP Fatal error
Uncaught Error: Interface 'FlexibleWishlistVendor\\WPDesk\\PluginBuilder\\Plugin\\Hookable' not found in wp-content/plugins/flexible-wishlist/src/Settings/SettingsPageGenerator.php:14
- > PHP Fatal error
Uncaught Error: Class 'FlexibleWishlistVendor\\Monolog\\Handler\\MailHandler' not found in wp-content/plugins/flexible-wishlist/vendor_prefixed/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php:21
- > PHP Fatal error
Uncaught Error: Interface 'FlexibleWishlistVendor\\Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/flexible-wishlist/vendor_prefixed/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: ecommerce wishlist, product wishlist, woocommerce wishlist, wishlist, wishlist for woocommerce
flexible-wishlist/flexible-wishlist.php Passed 13 tests
The primary PHP file in "Flexible Wishlist for WooCommerce - Ecommerce Wishlist & Save for later" version 1.2.10 is used by WordPress to initiate all plugin functionality
124 characters long description:
Let your customers create their own multiple and intuitive WooCommerce wishlists and customize them entirely to their needs.
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
There were no executable files found in this plugin18,302 lines of code in 428 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 389 | 1,626 | 11,617 | 17,097 |
JSON | 19 | 0 | 0 | 783 |
JavaScript | 10 | 34 | 3 | 207 |
CSS | 7 | 19 | 2 | 131 |
SVG | 1 | 0 | 0 | 59 |
Markdown | 2 | 5 | 0 | 25 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 5.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 54 | |
Interfaces | 57 | |
Traits | 11 | |
Classes | 283 | |
▷ Abstract classes | 14 | 4.95% |
▷ Concrete classes | 269 | 95.05% |
▷ Final classes | 1 | 0.37% |
Methods | 1,567 | |
▷ Static methods | 86 | 5.49% |
▷ Public methods | 1,242 | 79.26% |
▷ Protected methods | 175 | 11.17% |
▷ Private methods | 150 | 9.57% |
Functions | 60 | |
▷ Named functions | 14 | 23.33% |
▷ Anonymous functions | 46 | 76.67% |
Constants | 199 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 199 | 100.00% |
▷ Public constants | 199 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.12MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/assets/images/octolize.com.png | 88.91KB | 39.07KB | ▼ 56.06% |
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/assets/images/wpdesk.net.png | 2.36KB | 2.43KB | 0.00% |
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/assets/images/wpdesk.pl.png | 2.36KB | 2.43KB | 0.00% |
assets/img/flexible-wishlist.png | 12.35KB | 5.49KB | ▼ 55.55% |
vendor_prefixed/wpdesk/wp-wpdesk-tracker/src/assets/images/logo.png | 2.36KB | 2.43KB | 0.00% |