Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.74ms] Passed 4 tests
An overview of server-side resources used by Voyapp - Lugares y Cotizador de Despachos
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.78 ▼3.09 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.57 ▼7.91 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.90 ▼2.84 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.97 ▼16.78 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.81 ▼3.16 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 71 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Voyapp - Lugares y Cotizador de Despachos
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.37 ▼0.01 | 1.76 ▼0.23 | 36.90 ▼6.21 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.03 | 91.53 ▲1.90 | 40.99 ▲3.67 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.02 ▲0.04 | 38.07 ▲1.35 | 35.57 ▼2.02 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.10 ▼0.06 | 661.62 ▼26.39 | 55.94 ▼0.35 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.23 ▼0.04 | 96.14 ▼2.37 | 41.29 ▼1.49 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/voya-chile-lugares-y-cotizador-de-despachos/includes/classes/tables/voya_despachos_shipping_label_list_table.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/voya-chile-lugares-y-cotizador-de-despachos/includes/classes/voya_despachos_calculo.php:3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/voya-chile-lugares-y-cotizador-de-despachos/includes/classes/tables/voya_despachos_shipping_label_list_table.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/voya-chile-lugares-y-cotizador-de-despachos/includes/classes/tables/voya_despachos_shipping_label_list_table.php on line 4
- > PHP Warning
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)
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Requires php: Invalid version format
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
voya-chile-lugares-y-cotizador-de-despachos/voya-despachos.php 77% from 13 tests
"Voyapp - Lugares y Cotizador de Despachos" version 1.6.15's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 296 characters long)
- Requires PHP: Periods and digits should be used for the required version number (ex. "7.0" instead of "7.0 or greater")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("voya-chile-lugares-y-cotizador-de-despachos.php" instead of "voya-despachos.php")
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 detected12,108 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 287 | 169 | 11,551 |
JavaScript | 5 | 59 | 8 | 557 |
PHP code Passed 2 tests
A brief analysis 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.49 |
Average class complexity | 41.20 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 5.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 72.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 57 | 64.04% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 32 | 35.96% |
Functions | 16 | |
▷ Named functions | 12 | 75.00% |
▷ Anonymous functions | 4 | 25.00% |
Constants | 19 | |
▷ Global constants | 12 | 63.16% |
▷ Class constants | 7 | 36.84% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
45 PNG files occupy 0.22MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/assets/couriers_logos/cl_urbano.png | 1.76KB | 1.07KB | ▼ 38.99% |
public/assets/couriers_logos/default.png | 5.27KB | 3.16KB | ▼ 39.96% |
public/assets/couriers_logos/cl_emov.png | 4.00KB | 2.14KB | ▼ 46.46% |
public/assets/couriers_logos/cl_cargoex.png | 13.68KB | 5.15KB | ▼ 62.35% |
public/assets/couriers_logos/cl_gorabbit.png | 6.81KB | 3.32KB | ▼ 51.23% |