Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/alergenos-alimentarios-indianwebs/alergenos_iconos.php+29
Methods with the same name as their class will not be constructors in a future version of PHP; Alergenos_Iconos has a deprecated constructor
Server metrics [RAM: ▼1.90MB] [CPU: ▼53.51ms] Passed 4 tests
A check of server-side resources used by Alergenos Alimentarios IndianWebs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 4.30 ▼36.79 |
Dashboard /wp-admin | 2.10 ▼1.20 | 5.33 ▼44.19 |
Posts /wp-admin/edit.php | 2.10 ▼1.25 | 6.51 ▼42.11 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.78 | 5.92 ▼90.94 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 5.93 ▼26.94 |
Alérgenos Aliment. /wp-admin/options-general.php?page=alergenos_configuracion | 2.10 | 5.66 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 106 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Alergenos Alimentarios IndianWebs
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.26 ▼1.12 | 1.68 ▼0.45 | 42.33 ▼5.49 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼0.02 | 112.09 ▲8.05 | 36.01 ▼9.67 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▼0.02 | 40.43 ▲2.11 | 34.53 ▲3.22 |
Add New Post /wp-admin/post-new.php | 1,364 ▼170 | 16.92 ▼6.25 | 496.81 ▼168.98 | 46.85 ▼3.88 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.23 ▲0.01 | 101.20 ▲3.15 | 43.61 ▼2.75 |
Alérgenos Aliment. /wp-admin/options-general.php?page=alergenos_configuracion | 837 | 1.78 | 27.58 | 26.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/alergenos-alimentarios-indianwebs/alergenos_iconos.php+29
Methods with the same name as their class will not be constructors in a future version of PHP; Alergenos_Iconos has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
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
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=alergenos_configuracion
- > Deprecated in wp-content/plugins/alergenos-alimentarios-indianwebs/alergenos_iconos.php+29
Methods with the same name as their class will not be constructors in a future version of PHP; Alergenos_Iconos has a deprecated constructor
SRP 50% from 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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/alergenos-alimentarios-indianwebs/alergenos_iconos.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=alergenos_configuracion
- > Javascript (severe) in unknown
/wp-content/plugins/alergenos-alimentarios-indianwebs/js/tinymce-emoticons.js?ver=6.3.1 415:57 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png)
alergenos-alimentarios-indianwebs/alergenos_iconos.php 92% from 13 tests
Analyzing the main PHP file in "Alergenos Alimentarios IndianWebs" version 1.1
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("alergenos-alimentarios-indianwebs.php" instead of "alergenos_iconos.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,063 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 23 | 40 | 622 |
JavaScript | 3 | 259 | 42 | 206 |
PHP | 1 | 27 | 16 | 133 |
XML | 6 | 0 | 0 | 102 |
PHP code Passed 2 tests
This is a short overview 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.22 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
59 PNG files occupy 0.62MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/familia-5/huevos.png | 2.15KB | 1.08KB | ▼ 49.82% |
images/familia-6/dioxido-de-azufre-y-sulfitos.png | 4.08KB | 2.12KB | ▼ 47.98% |
js/button.png | 2.34KB | 1.25KB | ▼ 46.62% |
images/familia-1/crustaceos.png | 3.42KB | 1.88KB | ▼ 44.97% |
screenshot-1.png | 305.35KB | 78.08KB | ▼ 74.43% |