Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.32ms] Passed 4 tests
Server-side resources used by Checkout Upsell Funnel for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 33.90 ▼4.12 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.98 ▼11.12 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.31 ▲1.89 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.90 ▲6.05 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.60 ▲0.06 |
Server storage [IO: ▲3.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 122 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_vi_wcuf_order_info |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checkout Upsell Funnel for WooCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲51 | 14.69 ▲0.33 | 1.67 ▼0.19 | 41.30 ▲0.10 |
Dashboard /wp-admin | 2,206 ▲26 | 5.61 ▼0.06 | 83.14 ▼4.63 | 40.60 ▼0.45 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 1.98 ▼0.03 | 40.50 ▲4.22 | 38.47 ▼4.02 |
Add New Post /wp-admin/post-new.php | 1,536 ▲5 | 23.40 ▲0.23 | 591.88 ▼111.41 | 63.10 ▲9.64 |
Media Library /wp-admin/upload.php | 1,405 ▲8 | 4.19 ▼0.00 | 99.68 ▲3.67 | 41.62 ▼4.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_vi_wcuf_order_info
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
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
4 plugin tags: order bump, woocommerce, upsell funnel, checkout upsell funnel for woo
checkout-upsell-funnel-for-woo/checkout-upsell-funnel-for-woo.php Passed 13 tests
This is the main PHP file of "Checkout Upsell Funnel for WooCommerce" version 1.0.10, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
126 characters long description:
Checkout Upsell Funnel For Woo displays product suggestion and smart order bump on checkout page with the attractive discounts
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin21,773 lines of code in 86 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 368 | 195 | 9,001 |
JavaScript | 21 | 1,216 | 390 | 7,414 |
SVG | 8 | 3 | 24 | 3,368 |
CSS | 32 | 296 | 162 | 1,990 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 115)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 66.84 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 279.00 |
Average method complexity | 8.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 115.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 175 | |
▷ Static methods | 41 | 23.43% |
▷ Public methods | 162 | 92.57% |
▷ Protected methods | 2 | 1.14% |
▷ Private methods | 11 | 6.29% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.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
1 PNG file occupies 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |