Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.07MB] [CPU: ▼8.96ms] Passed 4 tests
An overview of server-side resources used by One-Click Post Checkout Registration for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▼0.54 | 17.92 ▼30.03 |
Dashboard /wp-admin | 3.40 ▲0.09 | 45.47 ▼3.45 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.13 ▲0.65 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 83.12 ▼2.99 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 34.78 ▲0.64 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by One-Click Post Checkout Registration for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,445 ▼317 | 14.30 ▼0.46 | 0.50 ▼1.15 | 16.54 ▼27.29 |
Dashboard /wp-admin | 2,195 ▲28 | 5.69 ▲0.09 | 89.41 ▼25.56 | 41.23 ▼1.00 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▲0.01 | 39.46 ▲3.36 | 33.58 ▼5.33 |
Add New Post /wp-admin/post-new.php | 1,526 ▼4 | 22.66 ▼0.52 | 686.63 ▲3.77 | 60.94 ▲3.22 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.17 ▼0.02 | 97.98 ▼0.71 | 43.07 ▲0.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
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
No output text or server-side errors detected on direct access of PHP files
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 93% 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: woocommerce marketing, post-checkout registration, woocommerce registration, woocommerce abandonment
post-checkout-registration-for-woocommerce/wc-post-checkout-registration.php 85% from 13 tests
The main PHP file in "One-Click Post Checkout Registration for WooCommerce" ver. 1.0.6 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("post-checkout-registration-for-woocommerce.php" instead of "wc-post-checkout-registration.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
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
Success! There were no dangerous files found in this plugin418 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 116 | 213 | 418 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 50.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 70.00% |
▷ Protected methods | 4 | 20.00% |
▷ Private methods | 2 | 10.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected