Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▲4.60ms] Passed 4 tests
Analyzing server-side resources used by Máxima Velocidad
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 45.72 ▲5.34 |
Dashboard /wp-admin | 3.45 ▲0.14 | 57.21 ▲6.85 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 48.66 ▲1.78 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 101.27 ▲4.43 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 43.79 ▲8.11 |
Deshacer Cambiar Thumnbails a Webp /wp-admin/admin.php?page=maxvDeshacerCambiarThumbs-slug | 3.34 | 36.94 |
Comparar imagenes /wp-admin/admin.php?page=maxvCompararImagenes-slug | 3.34 | 43.44 |
Volver al Origen de todos los cambios /wp-admin/admin.php?page=maxvVolverAlOrigen-slug | 3.34 | 28.98 |
Cambiar Thumnbails a Webp /wp-admin/admin.php?page=maxvCambiarThumbs-slug | 3.31 | 33.89 |
Server storage [IO: ▲0.24MB] [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: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
maxvConfiguracion |
Browser metrics Passed 4 tests
An overview of browser requirements for Máxima Velocidad
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.75 ▲0.14 | 1.72 ▼0.03 | 43.43 ▼2.97 |
Dashboard /wp-admin | 2,207 ▲27 | 5.64 ▼0.22 | 98.86 ▲8.52 | 41.50 ▼2.99 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 2.02 ▲0.02 | 34.64 ▼4.46 | 34.46 ▼1.61 |
Add New Post /wp-admin/post-new.php | 1,433 ▼112 | 18.06 ▼4.98 | 664.91 ▲8.04 | 60.11 ▼3.61 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.22 ▼0.02 | 111.30 ▲4.39 | 43.15 ▼3.75 |
Deshacer Cambiar Thumnbails a Webp /wp-admin/admin.php?page=maxvDeshacerCambiarThumbs-slug | 790 | 2.17 | 28.24 | 26.43 |
Comparar imagenes /wp-admin/admin.php?page=maxvCompararImagenes-slug | 790 | 2.01 | 30.00 | 36.38 |
Volver al Origen de todos los cambios /wp-admin/admin.php?page=maxvVolverAlOrigen-slug | 769 | 2.02 | 27.20 | 27.09 |
Cambiar Thumnbails a Webp /wp-admin/admin.php?page=maxvCambiarThumbs-slug | 769 | 2.08 | 27.00 | 26.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- maxvConfiguracion
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=maxvCambiarThumbs-slug
- > Notice in wp-content/plugins/maxima-velocidad/inc/maxvAdmin.php+101
Undefined index: compresionWebp
- > GET request to /wp-admin/admin.php?page=maxvCambiarThumbs-slug
- > Notice in wp-content/plugins/maxima-velocidad/inc/maxvAdmin.php+107
Undefined index: cantidadProcesar
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
Almost there! Just fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/maxima-velocidad/maxima-velicidad.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/maxima-velocidad/inc/maxvAdmin.php:7
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Cambiar las imágenes destacadas (Thumbnails) requiere solo clickear un botón. Y siempre se puede deshacer.), #2 (Máxima Velocidad detecta las imagenes que no se pueden cambiar: GIF animados y tanto GIF como PNG transparente. Para cada imagen informa el tamaño original y el nuevo, para que puedas conocer cuánto ganaste en peso de archivos.)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== maxima-velocidad ===
)
maxima-velocidad/maxima-velicidad.php 92% from 13 tests
The main PHP script in "Máxima Velocidad" version 1.1 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("maxima-velocidad.php" instead of "maxima-velicidad.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected638 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 103 | 33 | 638 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 44.50 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 3.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 56.67% |
▷ Protected methods | 12 | 40.00% |
▷ Private methods | 1 | 3.33% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.21MB with 0.13MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 136.88KB | 45.37KB | ▼ 66.86% |
assets/screenshot-1.png | 78.58KB | 30.33KB | ▼ 61.40% |