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.00MB] [CPU: ▼9.29ms] Passed 4 tests
An overview of server-side resources used by MultiVendorX Razorpay Split Payment
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.80 ▼3.64 |
Dashboard /wp-admin | 3.32 ▼0.03 | 44.69 ▼13.70 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.76 ▼3.31 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 81.53 ▼16.49 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.05 ▼1.88 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 97 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
MultiVendorX Razorpay Split Payment: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲67 | 13.18 ▼1.20 | 1.69 ▼0.01 | 40.06 ▲1.28 |
Dashboard /wp-admin | 2,222 ▲33 | 4.86 ▼0.07 | 102.88 ▼2.44 | 41.49 ▼2.74 |
Posts /wp-admin/edit.php | 2,102 ▲16 | 2.00 ▲0.01 | 41.33 ▲7.50 | 35.37 ▲2.57 |
Add New Post /wp-admin/post-new.php | 1,546 ▲9 | 23.35 ▲0.23 | 671.82 ▼8.35 | 53.23 ▼2.98 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.21 ▼0.05 | 95.44 ▼6.69 | 41.78 ▼2.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 54× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/wcmp-razorpay-split-payment/razorpay-sdk/libs/Requests-1.6.1/library/Requests/Exception/HTTP/428.php:15
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/wcmp-razorpay-split-payment/razorpay-sdk/libs/Requests-1.6.1/library/Requests/Exception/HTTP/431.php:15
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/wcmp-razorpay-split-payment/razorpay-sdk/libs/Requests-1.6.1/library/Requests/Exception/HTTP/411.php:13
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/wcmp-razorpay-split-payment/razorpay-sdk/libs/Requests-1.6.1/library/Requests/Exception/HTTP/505.php:13
- > PHP Fatal error
Uncaught Error: Class 'Razorpay\\Api\\Entity' not found in wp-content/plugins/wcmp-razorpay-split-payment/razorpay-sdk/src/Customer.php:5
- > PHP Fatal error
Uncaught Error: Class 'Razorpay\\Api\\Entity' not found in wp-content/plugins/wcmp-razorpay-split-payment/razorpay-sdk/src/Transfer.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Requests_Auth' not found in wp-content/plugins/wcmp-razorpay-split-payment/razorpay-sdk/libs/Requests-1.6.1/library/Requests/Auth/Basic.php:18
- > PHP Fatal error
Uncaught Error: Class 'Razorpay\\Api\\Entity' not found in wp-content/plugins/wcmp-razorpay-split-payment/razorpay-sdk/src/Order.php:5
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/wcmp-razorpay-split-payment/razorpay-sdk/libs/Requests-1.6.1/library/Requests/Exception/HTTP/408.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Requests_Transport' not found in wp-content/plugins/wcmp-razorpay-split-payment/razorpay-sdk/libs/Requests-1.6.1/library/Requests/Transport/fsockopen.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Payment Gateway Settings Panel.), #2 (WooCommerce Checkout Option)
wcmp-razorpay-split-payment/mvx-razorpay-checkout-gateway.php 77% from 13 tests
This is the main PHP file of "MultiVendorX Razorpay Split Payment" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wcmp-razorpay-split-payment.php" instead of "mvx-razorpay-checkout-gateway.php")
- Description: Keep the plugin description shorter than 140 characters (currently 149 characters long)
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
No dangerous file extensions were detected5,030 lines of code in 90 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 89 | 1,085 | 3,129 | 4,978 |
JavaScript | 1 | 6 | 3 | 52 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 9.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 193.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 80 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 80 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 329 | |
▷ Static methods | 62 | 18.84% |
▷ Public methods | 248 | 75.38% |
▷ Protected methods | 71 | 21.58% |
▷ Private methods | 10 | 3.04% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 46 | |
▷ Global constants | 3 | 6.52% |
▷ Class constants | 43 | 93.48% |
▷ Public constants | 43 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/payment.png | 7.40KB | 7.69KB | 0.00% |
images/logo.png | 6.57KB | 3.03KB | ▼ 53.81% |