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
Install script ran successfully
Server metrics [RAM: ▼0.26MB] [CPU: ▼15.64ms] Passed 4 tests
Analyzing server-side resources used by BeRocket Custom Thank You Page
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 33.45 ▼9.17 |
Dashboard /wp-admin | 3.38 ▲0.07 | 46.44 ▼11.61 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 51.60 ▲4.78 |
Add New Post /wp-admin/post-new.php | 4.67 ▼1.22 | 42.81 ▼42.90 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.70 ▲1.14 |
Thank you page /wp-admin/admin.php?page=custompage | 3.28 | 31.84 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
recovery_mode_email_last_sent |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BeRocket Custom Thank You Page
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,686 ▼60 | 13.18 ▼1.09 | 1.15 ▼0.69 | 24.57 ▼21.35 |
Dashboard /wp-admin | 2,206 ▲18 | 4.87 ▼0.01 | 108.81 ▼9.23 | 41.20 ▼2.46 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.03 | 40.76 ▲4.35 | 34.80 ▲1.85 |
Add New Post /wp-admin/post-new.php | 45 ▼1,493 | 0.44 ▼22.83 | 0.08 ▼636.86 | 11.27 ▼41.58 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.17 ▼0.04 | 98.40 ▼2.22 | 60.68 ▲17.29 |
Thank you page /wp-admin/admin.php?page=custompage | 843 | 2.08 | 26.23 | 22.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- recovery_mode_email_last_sent
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
7 plugin tags: upsell, redirect after order, cross-sell, after order page, custom thank you page...
berocket-custom-thank-you-page-for-woocommerce/thank-you-page.php 85% from 13 tests
The main file in "BeRocket Custom Thank You Page" v. 1.0.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("berocket-custom-thank-you-page-for-woocommerce.php" instead of "thank-you-page.php")
- Text Domain: The text domain should only use lowercase characters and dashes
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
No dangerous file extensions were detected423 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 50 | 82 | 348 |
PO File | 1 | 12 | 12 | 43 |
JavaScript | 1 | 6 | 0 | 32 |
CSS | 1 | 1 | 0 | 0 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 63.00 |
▷ Minimum class complexity | 63.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 5.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin