Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲7.31ms] Passed 4 tests
An overview of server-side resources used by Administración de Pedidos Servientrega
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.66 ▼0.80 |
Dashboard /wp-admin | 3.35 ▲0.05 | 63.94 ▲8.19 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 69.80 ▲21.83 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 102.76 ▲0.03 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 57.95 ▲21.82 |
Generación de Envíos /wp-admin/admin.php?page=servientrega-generacion-envio | 3.32 | 53.03 |
/wp-admin/admin.php?page=servientrega-upload | 3.22 | 54.17 |
Inicio /wp-admin/admin.php?page=servientrega-inicio | 3.27 | 49.55 |
Configuración /wp-admin/admin.php?page=servientrega-general | 3.31 | 55.84 |
Server storage [IO: ▲4.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 92 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_PedidoEnvio |
New WordPress options |
---|
can_compress_scripts |
recovery_mode_email_last_sent |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Administración de Pedidos Servientrega
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲176 | 14.55 ▲0.17 | 1.79 ▼0.25 | 39.92 ▼6.42 |
Dashboard /wp-admin | 2,314 ▲123 | 6.17 ▲0.27 | 124.90 ▲24.58 | 50.07 ▲5.71 |
Posts /wp-admin/edit.php | 2,200 ▲111 | 2.93 ▲0.89 | 45.14 ▲8.57 | 32.46 ▼2.66 |
Add New Post /wp-admin/post-new.php | 1,622 ▲101 | 24.15 ▲1.01 | 675.38 ▼7.47 | 35.74 ▼19.30 |
Media Library /wp-admin/upload.php | 1,502 ▲111 | 5.36 ▲1.16 | 106.51 ▲3.29 | 45.60 ▼2.43 |
Generación de Envíos /wp-admin/admin.php?page=servientrega-generacion-envio | 3,193 | 3.77 | 163.18 | 145.93 |
/wp-admin/admin.php?page=servientrega-upload | 785 | 2.56 | 15.52 | 20.46 |
Inicio /wp-admin/admin.php?page=servientrega-inicio | 2,004 | 2.42 | 35.98 | 63.60 |
Configuración /wp-admin/admin.php?page=servientrega-general | 1,780 | 2.49 | 35.28 | 75.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 successfully, leaving 1 table in the database
- wp_PedidoEnvio
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- recovery_mode_email_last_sent
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=servientrega-upload
- > Warning in wp-content/plugins/administracion-de-pedidos-servientrega/admonpedidosservientrega.php+268
require_once(includes/importar_pedidosenvios.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=servientrega-upload
- > Compile error in wp-content/plugins/administracion-de-pedidos-servientrega/admonpedidosservientrega.php+268
require_once(): Failed opening required 'includes/importar_pedidosenvios.php' (include_path='.:/usr/share/php')
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- License uri: Invalid URI found ("")
administracion-de-pedidos-servientrega/admonpedidosservientrega.php 85% from 13 tests
The main PHP script in "Administración de Pedidos Servientrega" version 1.0.4 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("administracion-de-pedidos-servientrega.php" instead of "admonpedidosservientrega.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin22,483 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 18 | 0 | 15 | 10,565 |
PHP | 29 | 1,108 | 103 | 6,784 |
CSS | 7 | 55 | 31 | 2,624 |
JavaScript | 14 | 329 | 653 | 2,510 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 51 | |
▷ Named functions | 51 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.26MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/flags.png | 69.20KB | 23.42KB | ▼ 66.16% |
includes/images/apple-touch-icon-114x114-precomposed.png | 3.76KB | 2.03KB | ▼ 45.97% |
includes/images/logo-servientrega.png | 12.54KB | 5.50KB | ▼ 56.19% |
includes/images/flags@2x.png | 170.28KB | 68.04KB | ▼ 60.04% |
includes/images/apple-touch-icon-72x72-precomposed.png | 2.81KB | 1.39KB | ▼ 50.35% |