Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.10MB] [CPU: ▼38.89ms] Passed 4 tests
A check of server-side resources used by Pronosticos Apuestas TAP
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.56 | 46.88 ▲8.80 |
Dashboard /wp-admin | 3.87 ▲0.56 | 24.12 ▼29.56 |
Posts /wp-admin/edit.php | 3.87 ▲0.51 | 21.73 ▼32.78 |
Add New Post /wp-admin/post-new.php | 3.87 ▼2.02 | 23.64 ▼79.53 |
Media Library /wp-admin/upload.php | 3.87 ▲0.64 | 21.50 ▼13.67 |
Suscripciones /wp-admin/admin.php?page=pronosticos-apuestas-tap/suscripciones | 3.87 | 21.67 |
Ajustes /wp-admin/admin.php?page=pronosticos-apuestas-tap | 3.87 | 23.80 |
Server storage [IO: ▲1.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 138 new files
Database: 2 new tables, 12 new options
New tables |
---|
tapa_suscripcion |
tapa_pedido |
New WordPress options |
---|
PRONOSTICO_APUESTAS_PAGINA_PAYPAL_PAGO_CANCELADO |
widget_recent-comments |
PRONOSTICO_APUESTAS_PROMOCION |
theysaidso_admin_options |
PRONOSTICO_APUESTAS_METODOS_PAGO |
PRONOSTICO_APUESTAS_PAGINA_CARRITO |
db_upgraded |
PRONOSTICO_APUESTAS_PAGINA_PAYPAL_PAGO_ACEPTADO |
PRONOSTICO_APUESTAS_PAGINA_SOPORTE |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Pronosticos Apuestas TAP: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,955 ▲194 | 14.44 ▲0.09 | 2.26 ▲0.27 | 40.72 ▼0.69 |
Dashboard /wp-admin | 2,361 ▲184 | 6.18 ▲0.56 | 111.22 ▲7.81 | 39.43 ▼7.61 |
Posts /wp-admin/edit.php | 2,286 ▲186 | 3.30 ▲1.33 | 49.98 ▲6.64 | 36.31 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,579 ▲53 | 23.55 ▼0.10 | 676.75 ▼53.97 | 35.26 ▼22.19 |
Media Library /wp-admin/upload.php | 1,429 ▲26 | 4.17 ▼0.04 | 82.93 ▼14.46 | 41.93 ▲0.98 |
Suscripciones /wp-admin/admin.php?page=pronosticos-apuestas-tap/suscripciones | 1,339 | 3.81 | 84.30 | 41.30 |
Ajustes /wp-admin/admin.php?page=pronosticos-apuestas-tap | 1,609 | 3.27 | 52.67 | 26.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/pronosticos-apuestas-tap/admin/includes/cmb/init.php+748
count(): Parameter must be an array or an object that implements Countable
- The uninstall procedure failed, leaving 2 tables in the database
- tapa_pedido
- tapa_suscripcion
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-comments
- PRONOSTICO_APUESTAS_PROMOCION
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- PRONOSTICO_APUESTAS_METODOS_PAGO
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pronosticos-apuestas-tap
- > Warning in wp-content/plugins/pronosticos-apuestas-tap/admin/includes/cmb/init.php+748
count(): Parameter must be an array or an object that implements Countable
SRP 0% 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 take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/pronosticos-apuestas-tap/public/views/public.php
- > /wp-content/plugins/pronosticos-apuestas-tap/admin/includes/cmb/tests/phpunit/includes/bootstrap.php
- 26× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/pronosticos-apuestas-tap/admin/views/suscripciones-delete.php:5
- > PHP Fatal error
Uncaught Error: Interface 'PronosticosApuestasTAP\\Common\\BaseRepositoryInterface' not found in wp-content/plugins/pronosticos-apuestas-tap/includes/AbstractRepository.php:5
- > PHP Fatal error
Uncaught Error: Class 'PronosticosApuestasTAP\\Common\\AbstractRepository' not found in wp-content/plugins/pronosticos-apuestas-tap/includes/PedidoRepository.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/pronosticos-apuestas-tap/admin/views/suscripciones-fixed-records.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/pronosticos-apuestas-tap/public/views/shopping-cart-step-pago.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/pronosticos-apuestas-tap/public/views/shopping-cart-step-paysafecard.php:2
- > PHP Fatal error
Uncaught Error: Class 'PronosticosApuestasTAP\\Common\\AbstractRepository' not found in wp-content/plugins/pronosticos-apuestas-tap/includes/UsuarioRepository.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/pronosticos-apuestas-tap/public/views/shopping-cart-invalid.php:4
- > PHP Fatal error
Uncaught Error: Class 'PronosticosApuestasTAP\\Common\\AbstractRepository' not found in wp-content/plugins/pronosticos-apuestas-tap/includes/SuscripcionRepository.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/pronosticos-apuestas-tap/public/views/paypal-response-success.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: tipsters, apuestas, picks, pronosticos
pronosticos-apuestas-tap/pronosticos-apuestas-tap.php Passed 13 tests
"Pronosticos Apuestas TAP" version 1.2.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
45 characters long description:
Plugin para gestionar pronosticos de apuestas
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin16,967 lines of code in 80 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 2,270 | 7,329 | 8,559 |
PHP | 44 | 1,049 | 2,002 | 6,254 |
CSS | 12 | 211 | 121 | 1,741 |
Markdown | 3 | 88 | 0 | 288 |
Bourne Shell | 1 | 15 | 4 | 59 |
JSON | 1 | 0 | 0 | 31 |
YAML | 1 | 5 | 0 | 18 |
XML | 1 | 0 | 1 | 17 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 28.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 136.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 1 | 4.76% |
▷ Concrete classes | 20 | 95.24% |
▷ Final classes | 0 | 0.00% |
Methods | 298 | |
▷ Static methods | 53 | 17.79% |
▷ Public methods | 277 | 92.95% |
▷ Protected methods | 7 | 2.35% |
▷ Private methods | 14 | 4.70% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 2 | 12.50% |
▷ Class constants | 14 | 87.50% |
▷ Public constants | 14 | 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
39 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/includes/cmb/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
admin/assets/images/sort_desc_disabled.png | 1.02KB | 0.25KB | ▼ 75.98% |
admin/assets/images/sort_desc.png | 1.10KB | 0.25KB | ▼ 77.73% |
admin/includes/cmb/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
admin/assets/css/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |