Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.74ms] Passed 4 tests
A check of server-side resources used by MultiVendorX Cointopay Gateway
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.56 ▼3.62 |
Dashboard /wp-admin | 3.34 ▲0.03 | 47.44 ▼0.21 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.77 ▲0.16 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.99 ▼15.27 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.47 ▲2.49 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for MultiVendorX Cointopay Gateway
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲95 | 14.50 ▼0.18 | 1.84 ▼0.17 | 41.22 ▼3.91 |
Dashboard /wp-admin | 2,216 ▲28 | 5.90 ▲1.05 | 107.22 ▲3.20 | 46.26 ▲0.31 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.00 ▼0.01 | 39.70 ▲3.59 | 39.97 ▲4.11 |
Add New Post /wp-admin/post-new.php | 1,558 ▲30 | 18.20 ▼0.03 | 622.17 ▲7.23 | 55.26 ▲0.50 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.27 ▲0.02 | 96.62 ▼8.73 | 43.36 ▼1.34 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/mvx-cointopay-gateway/classes/class-mvx-cointopay-gateway-payment-method.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: cointopay gateway, commission, vendor, multivendorx, wc marketplace...
mvx-cointopay-gateway/mvx-cointopay-gateway.php Passed 13 tests
This is the main PHP file of "MultiVendorX Cointopay Gateway" version 1.2.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
114 characters long description:
MVX Cointopay Gateway is a payment gateway for woocommerce shopping plateform also compatible with WC Marketplace.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected635 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 95 | 82 | 596 |
JavaScript | 1 | 5 | 8 | 39 |
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.40 |
Average class complexity | 13.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 3 | 13.04% |
▷ Public methods | 21 | 91.30% |
▷ Protected methods | 2 | 8.70% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/check.png | 2.47KB | 2.29KB | ▼ 7.17% |
assets/images/fail.png | 2.15KB | 1.72KB | ▼ 19.99% |
assets/images/cointopay.png | 6.90KB | 2.94KB | ▼ 57.45% |