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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.51ms] Passed 4 tests
A check of server-side resources used by Upsells add to Cart Ajax Modal Popup | Boost Woocommerce Cross Sales
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 40.98 ▼1.66 |
Dashboard /wp-admin | 3.37 ▲0.02 | 50.79 ▼14.67 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 47.52 ▼4.11 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 90.66 ▼9.61 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 41.30 ▲2.15 |
Woocommerce Cross Sales Popup /wp-admin/admin.php?page=webd-woocommerce-crosell-popup | 3.26 | 34.56 |
Server storage [IO: ▲1.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
woocommerce_enable_ajax_add_to_cart |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Upsells add to Cart Ajax Modal Popup | Boost Woocommerce Cross Sales
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲165 | 13.94 ▼0.69 | 10.04 ▲8.43 | 42.65 ▼2.31 |
Dashboard /wp-admin | 2,222 ▲41 | 5.94 ▲0.29 | 95.82 ▼15.04 | 42.00 ▼2.23 |
Posts /wp-admin/edit.php | 2,126 ▲23 | 2.29 ▲0.29 | 38.71 ▼0.78 | 35.46 ▼1.35 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.10 ▲0.25 | 675.46 ▼5.60 | 36.85 ▼15.27 |
Media Library /wp-admin/upload.php | 1,421 ▲24 | 4.43 ▲0.24 | 101.73 ▼26.40 | 41.75 ▼19.73 |
Woocommerce Cross Sales Popup /wp-admin/admin.php?page=webd-woocommerce-crosell-popup | 1,016 | 1.87 | 31.09 | 29.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- woocommerce_enable_ajax_add_to_cart
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
6 plugin tags: add to cart popup woocommerce, cart popup, woocommerce cart popup, woocommerce cart, boost sales...
webd-woocommerce-crosell-popup/webd-woocommerce-crosell-popup.php 92% from 13 tests
"Upsells add to Cart Ajax Modal Popup | Boost Woocommerce Cross Sales" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.0.1" instead of "2.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,172 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 685 |
PHP | 2 | 74 | 26 | 224 |
CSS | 3 | 33 | 7 | 178 |
JavaScript | 2 | 26 | 7 | 62 |
PO File | 1 | 3 | 5 | 23 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/WebdWoocommerceCrosellPopup.png | 7.15KB | 6.88KB | ▼ 3.85% |