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
Installer ran successfully
Server metrics [RAM: ▼0.14MB] [CPU: ▼11.16ms] Passed 4 tests
A check of server-side resources used by WP-xPerts Woocommerce Custom Thank you Page
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▼0.62 | 17.78 ▼26.49 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.64 ▼6.75 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 51.45 ▼0.74 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 92.15 ▼10.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 40.76 ▲6.31 |
Woo Thank-You Page /wp-admin/options-general.php?page=wx-woo-thank-you | 3.23 | 32.12 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP-xPerts Woocommerce Custom Thank you Page
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,449 ▼312 | 14.19 ▼0.16 | 0.80 ▼1.75 | 19.60 ▼23.30 |
Dashboard /wp-admin | 2,202 ▲22 | 5.56 ▼0.10 | 91.85 ▼7.74 | 40.93 ▼3.25 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.07 | 39.38 ▼1.51 | 37.94 ▲1.45 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.03 ▼0.06 | 670.39 ▼13.78 | 66.05 ▲12.49 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.22 ▲0.04 | 98.00 ▼3.49 | 45.13 ▼3.11 |
Woo Thank-You Page /wp-admin/options-general.php?page=wx-woo-thank-you | 845 | 2.00 | 25.60 | 28.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=wx-woo-thank-you
- > Notice in wp-content/plugins/wp-xperts-woocommerce-custom-thank-you-page/inc/wx-cr-settings.php+62
Trying to access array offset on value of type bool
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: woo custom thank you page, woocommerce, custom redirect, woo thank you page redirect
wp-xperts-woocommerce-custom-thank-you-page/woo-custom-thankyou-page.php 77% from 13 tests
"WP-xPerts Woocommerce Custom Thank you Page" version 1.2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 230 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-xperts-woocommerce-custom-thank-you-page.php" instead of "woo-custom-thankyou-page.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected175 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 28 | 9 | 162 |
CSS | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin