Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▲1.52ms] Passed 4 tests
A check of server-side resources used by Thank You Page Customizer for WooCommerce - Increase Your Sales
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 48.98 ▲10.38 |
Dashboard /wp-admin | 3.47 ▲0.16 | 46.54 ▼2.65 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 53.19 ▲4.82 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 96.60 ▲2.20 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.23 ▲1.69 |
Server storage [IO: ▲2.29MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 110 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Thank You Page Customizer for WooCommerce - Increase Your Sales: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.33 ▼0.03 | 1.67 ▼0.03 | 40.99 ▼2.93 |
Dashboard /wp-admin | 2,198 ▲18 | 5.63 ▲0.10 | 90.03 ▼0.19 | 41.01 ▼2.34 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 1.95 ▼0.08 | 40.58 ▲2.70 | 36.18 ▲0.57 |
Add New Post /wp-admin/post-new.php | 1,543 ▲6 | 18.21 ▼0.31 | 610.19 ▲7.20 | 72.87 ▲6.26 |
Media Library /wp-admin/upload.php | 1,412 ▲9 | 4.23 ▲0.00 | 95.01 ▼5.65 | 49.76 ▲5.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: woocommerce thank you page, custom thank you page for woocommerce, wc custom thank you, woocommerce thank you page customizer, woocommerce thank you page coupon
woo-thank-you-page-customizer/woo-thank-you-page-customizer.php 92% from 13 tests
"Thank You Page Customizer for WooCommerce - Increase Your Sales" version 1.1.1'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:
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin19,390 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 580 | 233 | 8,619 |
JavaScript | 14 | 1,323 | 433 | 6,660 |
CSS | 21 | 324 | 148 | 1,951 |
SVG | 4 | 0 | 9 | 1,626 |
PO File | 1 | 234 | 417 | 534 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 40.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 231.00 |
Average method complexity | 5.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 117 | |
▷ Static methods | 4 | 3.42% |
▷ Public methods | 86 | 73.50% |
▷ Protected methods | 12 | 10.26% |
▷ Private methods | 19 | 16.24% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
38 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/markers/red-pushpin.png | 1.30KB | 1.41KB | 0.00% |
images/markers/pink-pushpin.png | 1.39KB | 1.40KB | 0.00% |
images/markers/if-marker-10.png | 1.53KB | 1.51KB | ▼ 0.90% |
images/markers/if-marker-8.png | 1.61KB | 1.51KB | ▼ 6.31% |
images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |