Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.87MB] [CPU: ▼49.18ms] Passed 4 tests
This is a short check of server-side resources used by Payment Multicaixa (ProxyPay gateway) for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 5.51 ▼37.63 |
Dashboard /wp-admin | 2.14 ▼1.16 | 9.01 ▼38.91 |
Posts /wp-admin/edit.php | 2.15 ▼1.21 | 10.70 ▼34.00 |
Add New Post /wp-admin/post-new.php | 2.14 ▼3.75 | 9.27 ▼86.19 |
Media Library /wp-admin/upload.php | 2.14 ▼1.08 | 7.29 ▼27.54 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Payment Multicaixa (ProxyPay gateway) for WooCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲85 | 13.27 ▼1.03 | 4.46 ▲2.34 | 43.51 ▼6.92 |
Dashboard /wp-admin | 2,229 ▲41 | 4.98 ▲0.03 | 105.05 ▲1.16 | 42.54 ▲0.09 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.07 ▲0.04 | 35.82 ▼11.94 | 32.77 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,557 ▲21 | 18.13 ▼4.96 | 617.56 ▼15.46 | 60.11 ▲12.37 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.18 ▼0.07 | 94.86 ▼9.93 | 42.60 ▼1.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 without warnings or errors
- > Notice in wp-content/plugins/woo-multicaixa/multicaixa-woocommerce.php+30
Undefined index: WC requires at least
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
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
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\AbstractPaymentMethodType' not found in wp-content/plugins/woo-multicaixa/includes/woocommerce-blocks/MulticaixaProxyPay.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: You are using too many tags: 22 tag instead of maximum 10
woo-multicaixa/multicaixa-woocommerce.php 85% from 13 tests
"Payment Multicaixa (ProxyPay gateway) for WooCommerce" version 2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("woo-multicaixa.php" instead of "multicaixa-woocommerce.php")
- Description: Keep the plugin description shorter than 140 characters (currently 179 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,336 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 95 | 205 | 1,142 |
SVG | 5 | 1 | 2 | 164 |
JavaScript | 1 | 0 | 0 | 30 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 3 | 75.00% |
Methods | 61 | |
▷ Static methods | 3 | 4.92% |
▷ Public methods | 60 | 98.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.64% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon_multicaixa_48.png | 1.17KB | 1.03KB | ▼ 11.65% |
images/banner_multicaixa.png | 2.07KB | 1.84KB | ▼ 11.08% |