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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.08ms] Passed 4 tests
An overview of server-side resources used by Pagopar - WooCommerce Gateway
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.19 ▼3.62 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.99 ▼2.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.31 ▼0.74 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.11 ▼21.48 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.10 ▲1.54 |
Server storage [IO: ▲1.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 116 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Pagopar - WooCommerce Gateway
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.73 ▲0.35 | 1.66 ▼0.16 | 41.94 ▼2.81 |
Dashboard /wp-admin | 2,198 ▲21 | 5.66 ▲0.03 | 82.07 ▼4.49 | 37.52 ▼9.18 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.05 | 38.63 ▼0.64 | 35.18 ▲1.90 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.01 ▼0.62 | 646.43 ▼67.29 | 52.01 ▼8.20 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.21 ▲0.02 | 95.45 ▼10.16 | 41.21 ▼2.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 10× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/pagopar-woocommerce-gateway/includes/efectivo/pagopar_efectivo.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/pagopar-woocommerce-gateway/dashboard-envio.php:113
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/pagopar-woocommerce-gateway/includes/tarjetas/pagopar_tarjetas.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/pagopar-woocommerce-gateway/dashboard-configuracion-avanzada.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/pagopar-woocommerce-gateway/pagopar-multimedios-pago.php:554
- > PHP Fatal error
Uncaught Error: Call to undefined function WC() in wp-content/plugins/pagopar-woocommerce-gateway/dashboard-medios-pago.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function WC() in wp-content/plugins/pagopar-woocommerce-gateway/dashboard-chequeo.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pagopar-woocommerce-gateway/pagopar-direcciones.php:329
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/pagopar-woocommerce-gateway/dashboard-footer.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function WC() in wp-content/plugins/pagopar-woocommerce-gateway/dashboard-split-billing.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 75% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
- License: No value
- Donate link: Please fix this invalid url: ""
- License uri: Please fix this invalid url: ""
pagopar-woocommerce-gateway/woocommerce-pagopar-gateway.php 92% from 13 tests
The principal PHP file in "Pagopar - WooCommerce Gateway" v. 2.6.6 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("pagopar-woocommerce-gateway.php" instead of "woocommerce-pagopar-gateway.php")
Code Analysis 97% from 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
No dangerous file extensions were detected10,812 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 2,922 | 2,142 | 8,967 |
CSS | 5 | 155 | 189 | 1,056 |
JavaScript | 9 | 174 | 90 | 671 |
Markdown | 1 | 49 | 0 | 118 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 111)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 192.00 |
Average method complexity | 3.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 111.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 98 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 78 | 79.59% |
▷ Protected methods | 1 | 1.02% |
▷ Private methods | 19 | 19.39% |
Functions | 129 | |
▷ Named functions | 126 | 97.67% |
▷ Anonymous functions | 3 | 2.33% |
Constants | 26 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 26 | 100.00% |
▷ Public constants | 26 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
69 PNG files occupy 0.26MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/footer/dark/practipago.png | 2.32KB | 1.62KB | ▼ 30.29% |
images/footer/light/zimple.png | 2.72KB | 1.52KB | ▼ 44.01% |
images/footer/dark/aquipago.png | 2.55KB | 1.72KB | ▼ 32.41% |
images/medios-pagos/aquipago.png | 2.59KB | 1.72KB | ▼ 33.45% |
images/footer/light/cabal.png | 2.41KB | 1.66KB | ▼ 31.26% |