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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.39MB] [CPU: ▼2.31ms] Passed 4 tests
Analyzing server-side resources used by Custom Thank You Page Customize For WooCommerce by Binary Carpenter
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 38.78 ▼5.90 |
Dashboard /wp-admin | 3.73 ▲0.43 | 49.72 ▼3.06 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 53.61 ▼0.37 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 99.72 ▲0.37 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 36.25 ▲0.11 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Custom Thank You Page Customize For WooCommerce by Binary Carpenter: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.12 ▼0.22 | 1.69 ▼0.14 | 35.57 ▼9.57 |
Dashboard /wp-admin | 2,195 ▲20 | 5.61 ▼0.06 | 92.29 ▼29.82 | 43.90 ▲0.38 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.01 | 39.86 ▲0.60 | 34.86 ▲2.60 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.63 ▲0.37 | 645.35 ▲0.13 | 55.21 ▲0.35 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.22 ▼0.03 | 96.05 ▼0.97 | 40.89 ▼2.52 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function BinaryCarpenter\\BC_TK\\add_action() in wp-content/plugins/bc-woo-custom-thank-you-pages/Initiator.php:603
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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
6 plugin tags: order received, custom thank you page, woocommerce, woocommerce thank you page, thank you page builder...
bc-woo-custom-thank-you-pages/Initiator.php 77% from 13 tests
The entry point to "Custom Thank You Page Customize For WooCommerce by Binary Carpenter" version 1.4.11 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("bc-woo-custom-thank-you-pages.php" instead of "Initiator.php")
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "3.0.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
Success! There were no dangerous files found in this plugin10,596 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 3,552 | 83 | 8,692 |
PHP | 9 | 550 | 362 | 1,903 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 25.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 135 | |
▷ Static methods | 89 | 65.93% |
▷ Public methods | 127 | 94.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 5.93% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 97 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 97 | 100.00% |
▷ Public constants | 97 | 100.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
No PNG files were detected