Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/boxy-woocommerce-custom-redirect-after-checkout/boxy woocommerce custom redirect after checkout .php+165
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.90MB] [CPU: ▼49.64ms] Passed 4 tests
An overview of server-side resources used by Boxy woocommerce custom redirect after checkout
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.38 | 5.45 ▼34.89 |
Dashboard /wp-admin | 2.11 ▼1.20 | 6.09 ▼38.39 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 6.32 ▼38.21 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 6.77 ▼87.07 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 5.30 ▼28.42 |
Boxy Wc Redirect /wp-admin/options-general.php?page=boxy-wc-redirect | 2.11 | 6.54 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Boxy woocommerce custom redirect after checkout
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.25 ▼1.33 | 1.63 ▼0.26 | 44.35 ▼3.75 |
Dashboard /wp-admin | 2,210 ▲24 | 5.82 ▲0.87 | 99.49 ▼14.66 | 38.43 ▼9.28 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.04 ▲0.02 | 35.91 ▼4.21 | 33.98 ▼1.33 |
Add New Post /wp-admin/post-new.php | 1,549 ▲13 | 23.46 ▲0.22 | 662.78 ▲33.20 | 59.04 ▲10.43 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.01 | 98.95 ▼3.52 | 41.20 ▼3.21 |
Boxy Wc Redirect /wp-admin/options-general.php?page=boxy-wc-redirect | 779 | 2.06 | 26.19 | 27.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/boxy-woocommerce-custom-redirect-after-checkout/boxy woocommerce custom redirect after checkout .php+165
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=boxy-wc-redirect
- > Notice in wp-content/plugins/boxy-woocommerce-custom-redirect-after-checkout/boxy woocommerce custom redirect after checkout .php+165
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
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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: boxy plugins, woocommerce thankyou page, wocommerce custom redirect
boxy-woocommerce-custom-redirect-after-checkout/boxy woocommerce custom redirect after checkout .php 85% from 13 tests
"Boxy woocommerce custom redirect after checkout" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("boxy-woocommerce-custom-redirect-after-checkout.php" instead of "boxy woocommerce custom redirect after checkout .php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin246 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 137 | 535 | 240 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 1.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 4 | |
▷ Named functions | 4 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin