Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.78ms] Passed 4 tests
Server-side resources used by Increase Sales WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.12 ▼6.40 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.29 ▼3.08 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.38 ▼1.50 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.41 ▲0.72 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.10 ▼4.13 |
Server storage [IO: ▲4.90MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 107 new files
Database: 1 new table, 17 new options
New tables |
---|
wp_qcld_conversion_tracker |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
qcld_cross_sell_lang_out_of_stock |
widget_recent-comments |
qcld_cross_sell_product_details_display_mode |
db_upgraded |
qcld_cross_sell_show_cart_page |
qcld_cross_sell_display_mode |
qcld_cross_sell_lang_add_to_cart |
qcld_cross_sell_lang_wrap_title |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Increase Sales WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.38 ▲0.25 | 2.54 ▲0.74 | 44.01 ▼1.41 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.01 | 95.48 ▼1.18 | 45.17 ▲5.86 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.95 ▼0.06 | 42.74 ▲7.46 | 37.67 ▲2.61 |
Add New Post /wp-admin/post-new.php | 1,526 ▼8 | 23.23 ▲4.91 | 648.35 ▼45.38 | 53.75 ▼37.77 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▼0.04 | 97.96 ▼10.25 | 44.92 ▼1.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_qcld_conversion_tracker
- The uninstall procedure has failed, leaving 17 options in the database
- qcld_con_tracker
- qcld_cross_sell_lang_continue_shopping_text
- theysaidso_admin_options
- qcld_cross_sell_lang_add_to_cart
- qcld_cross_sell_lang_wrap_title
- qcld_cross_sell_show_cart_page
- widget_recent-posts
- widget_recent-comments
- qcld_cross_sell_lang_out_of_stock
- qcld_cross_sell_order_notification_min_ago
- ...
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please fix the following items
- 7× PHP files output text when accessed directly:
- > /wp-content/plugins/increase-sales/qcld-cross-sell-continue-shopping.php
- > /wp-content/plugins/increase-sales/qcld-cross-sell-assets.php
- > /wp-content/plugins/increase-sales/qcld-cross-sell-admin-data-in.php
- > /wp-content/plugins/increase-sales/qcld-cross-sell-order-notification.php
- > /wp-content/plugins/increase-sales/qcld-cross-sell-main.php
- > /wp-content/plugins/increase-sales/qcld-cross-sell-ajax.php
- > /wp-content/plugins/increase-sales/qcld-cross-sell-admin-wrapper.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/increase-sales/conversion-tracker/class-qc-conversion-tracker.php:508
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: cross sells, woocommerce, cross-sells, increase sales, more sales...
increase-sales/qcld-cross-sell-main.php 92% from 13 tests
"Increase Sales WooCommerce" version 1.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("increase-sales.php" instead of "qcld-cross-sell-main.php")
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 detected24,764 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 1,349 | 215 | 15,036 |
JavaScript | 12 | 1,277 | 677 | 4,986 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 9 | 542 | 153 | 2,071 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 15 | |
▷ Static methods | 2 | 13.33% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 21 | 91.30% |
▷ Anonymous functions | 2 | 8.70% |
Constants | 3 | |
▷ Global constants | 3 | 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
26 PNG files occupy 0.41MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
qc-support-promo-page/images/feature01.png | 6.14KB | 2.76KB | ▼ 55.04% |
qc-support-promo-page/images/feature02.png | 5.13KB | 2.39KB | ▼ 53.37% |
qc-support-promo-page/images/icon.png | 31.48KB | 11.39KB | ▼ 63.81% |
assets/images/placeholder.png | 2.75KB | 2.92KB | 0.00% |
qc-support-promo-page/images/icon-pack/service-04.png | 1.67KB | 0.90KB | ▼ 46.47% |