Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.00ms] Passed 4 tests
A check of server-side resources used by WooCommerce Checkout On Popup (FREE)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 45.31 ▲4.45 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.40 ▼5.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.39 ▼19.21 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 101.93 ▲3.29 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.39 ▼2.89 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
woocommerce_cart_redirect_after_add |
widget_recent-posts |
widget_recent-comments |
woocommerce_enable_ajax_add_to_cart |
woocommerce_enable_shipping_calc |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Checkout On Popup (FREE)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲11 | 13.26 ▲0.03 | 1.66 ▼3.27 | 42.45 ▼2.00 |
Dashboard /wp-admin | 2,203 ▼3 | 5.80 ▲0.93 | 97.69 ▼14.59 | 36.29 ▼7.22 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▲0.01 | 49.19 ▲9.13 | 38.24 ▲2.46 |
Add New Post /wp-admin/post-new.php | 1,534 ▼0 | 23.01 ▼0.28 | 636.12 ▲15.19 | 51.53 ▼2.50 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.21 ▲0.02 | 95.18 ▼5.89 | 40.65 ▼1.16 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 9 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- woocommerce_enable_shipping_calc
- widget_theysaidso_widget
- woocommerce_enable_ajax_add_to_cart
- woocommerce_cart_redirect_after_add
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Please take a closer look at the following
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-checkout-on-popup-free/includes/shop/wcp-class-style-script.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-checkout-on-popup-free/includes/class-wcp-front-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-checkout-on-popup-free/includes/class-wcp-main.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-checkout-on-popup-free/includes/shop/class-style-script_backup.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-checkout-on-popup-free/includes/admin/wcp-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/woo-checkout-on-popup-free/wcp-index.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-checkout-on-popup-free/includes/shop/wcp-class-cart.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-checkout-on-popup-free/includes/shop/wcp-class-checkout.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-checkout-on-popup-free/includes/shop/wcp-class-modal.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-checkout-on-popup-free/includes/admin/wcp-custom-woocommerce.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Add descriptions for screenshots #6, #7 in woo-checkout-on-popup-free/assets to your readme.txt
- Screenshots: Add an image for screenshot #1 (screenshot-1, Checkout screen.)
woo-checkout-on-popup-free/wcp-index.php 77% from 13 tests
"WooCommerce Checkout On Popup (FREE)" version 1.1.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: Required version does not match the one declared in readme.txt ("3.0.1" instead of "3.4.0")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-checkout-on-popup-free.php" instead of "wcp-index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,784 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 197 | 35 | 1,687 |
CSS | 4 | 7 | 10 | 92 |
JavaScript | 2 | 0 | 7 | 5 |
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.25 |
Average class complexity | 5.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 3 | 8.33% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/assets/images/mini_cart2.png | 0.98KB | 1.05KB | 0.00% |
includes/assets/images/mini_cart.png | 0.83KB | 0.87KB | 0.00% |