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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.20MB] [CPU: ▼2.28ms] Passed 4 tests
This is a short check of server-side resources used by Autopopulate Checkout for Woocommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.18 | 41.62 ▼6.91 |
Dashboard /wp-admin | 3.52 ▲0.21 | 54.87 ▲1.62 |
Posts /wp-admin/edit.php | 3.64 ▲0.27 | 56.47 ▲1.76 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 94.77 ▼5.60 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 39.21 ▲3.48 |
AutoPopulate Checkout for Woo /wp-admin/tools.php?page=autopopulate-checkout-woo | 3.42 | 33.87 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Autopopulate Checkout for Woocommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.33 ▼0.32 | 1.78 ▼0.01 | 45.11 ▼2.94 |
Dashboard /wp-admin | 2,199 ▲22 | 5.61 ▼0.04 | 93.53 ▲3.61 | 42.32 ▼1.82 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.08 | 36.42 ▼3.45 | 33.66 ▲1.92 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.20 ▼0.10 | 694.03 ▲8.96 | 56.01 ▲6.72 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.01 | 99.27 ▼14.03 | 43.77 ▼0.48 |
AutoPopulate Checkout for Woo /wp-admin/tools.php?page=autopopulate-checkout-woo | 1,066 | 2.00 | 21.80 | 27.97 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 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 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
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/autopopulate-checkout-for-woocommerce/admin/partials/autopopulate-checkout-woo-admin-display.php
- > /wp-content/plugins/autopopulate-checkout-for-woocommerce/public/partials/autopopulate-checkout-woo-public-display.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/autopopulate-checkout-for-woocommerce/admin/partials/autopopulate-checkout-woo-admin-field-text.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/autopopulate-checkout-for-woocommerce/admin/partials/autopopulate-checkout-woo-admin-field-select.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/autopopulate-checkout-for-woocommerce/admin/partials/autopopulate-checkout-woo-admin-field-checkbox.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/autopopulate-checkout-for-woocommerce/admin/partials/autopopulate-checkout-woo-admin-field-textarea.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/autopopulate-checkout-for-woocommerce/admin/partials/autopopulate-checkout-woo-admin-section-messages.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/autopopulate-checkout-for-woocommerce/admin/partials/autopopulate-checkout-woo-admin-page-settings.php:18
- > PHP Fatal error
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 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: autopopulate checkout, prefill checkout, woocommerce checkout, woocommerce
autopopulate-checkout-for-woocommerce/autopopulate-checkout-woo.php 69% from 13 tests
This is the main PHP file of "Autopopulate Checkout for Woocommerce" version 1.0.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("3.0.1" instead of "3.0")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("autopopulate-checkout-for-woocommerce.php" instead of "autopopulate-checkout-woo.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 155 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin930 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 405 | 722 | 927 |
JavaScript | 1 | 2 | 27 | 3 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 18.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 3 | 5.56% |
▷ Public methods | 37 | 68.52% |
▷ Protected methods | 1 | 1.85% |
▷ Private methods | 16 | 29.63% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin