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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.28ms] Passed 4 tests
This is a short check of server-side resources used by TT One-Page Checkout for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.67 ▲1.39 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.97 ▼21.05 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.85 ▼9.96 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.40 ▼11.50 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.67 ▲2.49 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by TT One-Page Checkout for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.16 ▼1.25 | 1.98 ▲0.13 | 44.00 ▲1.21 |
Dashboard /wp-admin | 2,218 ▲12 | 5.85 ▼0.04 | 104.45 ▼8.26 | 42.24 ▼3.33 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.01 | 34.61 ▼2.60 | 32.32 ▲1.23 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.37 ▲0.03 | 648.92 ▼38.45 | 54.06 ▲0.67 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.23 ▼0.06 | 100.64 ▼3.88 | 43.82 ▲0.20 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
Congratulations! This plugin passed the SRP test
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 ([screenhot-1.png] Screenshot Admin WooCommerce - One-Page Checkout options), #2 ([screenhot-2.png] Screenshot Frontend WooCommerce - Checkout page), #3 ([screenhot-3.png] Screenshot Frontend WooCommerce - Shop page with custom "Add to cart" button label)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== tt-one-page-checkout-for-woocommerce ===
)
tt-one-page-checkout-for-woocommerce/wc-one-page-checkout.php 92% from 13 tests
The entry point to "TT One-Page Checkout for WooCommerce" version 1.0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("tt-one-page-checkout-for-woocommerce.php" instead of "wc-one-page-checkout.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,148 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 60 | 74 | 649 |
PHP | 1 | 116 | 45 | 365 |
PO File | 2 | 48 | 51 | 134 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
27 PNG files occupy 0.41MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon-woocommerce-donation-checkout.png | 9.24KB | 4.20KB | ▼ 54.56% |
assets/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |
assets/css/images/ui-bg_glass_75_dadada_1x400.png | 0.26KB | 0.16KB | ▼ 38.93% |
assets/css/images/ui-icons_cd0a0a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/css/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |