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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.24ms] Passed 4 tests
Server-side resources used by Kiasa UPI QR Code Payment Plugin for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.63 ▲0.46 |
Dashboard /wp-admin | 3.34 ▲0.03 | 43.77 ▼5.48 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.69 ▲0.07 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.73 ▼9.93 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.07 ▼1.62 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Kiasa UPI QR Code Payment Plugin for WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.32 ▼1.06 | 1.76 ▼0.10 | 41.47 ▼3.96 |
Dashboard /wp-admin | 2,206 ▲15 | 5.90 ▲1.00 | 109.39 ▲8.05 | 36.43 ▼5.35 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.06 | 35.35 ▲0.27 | 31.57 ▼3.52 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.10 ▲5.61 | 673.65 ▲11.86 | 56.01 ▲0.13 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.15 ▼0.08 | 96.06 ▼7.58 | 45.02 ▼3.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
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
Good news, no errors were detected
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: payment gateway, india, payments, ecommerce, unified payments interface...
woo-upi-payment/woocommerce-UPI-payment.php 85% from 13 tests
Analyzing the main PHP file in "Kiasa UPI QR Code Payment Plugin for WooCommerce" version 1.2
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 151 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-upi-payment.php" instead of "woocommerce-UPI-payment.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin145 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 64 | 96 | 144 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin