Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.57ms] Passed 4 tests
Analyzing server-side resources used by TezroPay Checkout for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.94 ▼5.56 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.13 ▼3.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.78 ▼4.13 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.91 ▼21.22 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.55 ▼0.87 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for TezroPay Checkout for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.23 ▼0.33 | 2.13 ▲0.35 | 40.70 ▼3.16 |
Dashboard /wp-admin | 2,195 ▲18 | 5.63 ▼0.04 | 82.52 ▼6.47 | 38.28 ▼8.71 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▲0.05 | 36.02 ▼5.81 | 31.55 ▼9.14 |
Add New Post /wp-admin/post-new.php | 1,528 ▼9 | 23.32 ▲5.29 | 670.95 ▲63.04 | 57.26 ▼8.23 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.17 ▼0.00 | 92.82 ▼4.62 | 40.20 ▼6.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: payment gateway, tezro, crypto, bitcoin, tether...
tezropay-checkout-for-woocommerce/index.php 92% from 13 tests
The main PHP file in "TezroPay Checkout for WooCommerce" ver. 1.1.9 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tezropay-checkout-for-woocommerce.php" instead of "index.php")
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
Everything looks great! No dangerous files found in this plugin2,301 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 227 | 97 | 1,252 |
JavaScript | 4 | 84 | 29 | 808 |
SVG | 2 | 0 | 0 | 157 |
CSS | 1 | 0 | 0 | 84 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 37 | |
▷ Named functions | 36 | 97.30% |
▷ Anonymous functions | 1 | 2.70% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 18.76KB | 8.22KB | ▼ 56.18% |
images/pay.tezro.png | 1.83KB | 1.88KB | 0.00% |
assets/icon-256x256.png | 13.18KB | 5.36KB | ▼ 59.34% |
assets/1b.png | 49.47KB | 11.32KB | ▼ 77.12% |
assets/2b.png | 49.45KB | 13.22KB | ▼ 73.26% |