Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/anadir-iconos-validacion-w3c-validator/Widget_W3C_Validator.php+202
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼62.18ms] Passed 4 tests
Analyzing server-side resources used by Widget para añadir los iconos de validación de W3C Validator
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.43 | 4.72 ▼44.11 |
Dashboard /wp-admin | 2.10 ▼1.29 | 5.65 ▼63.88 |
Posts /wp-admin/edit.php | 2.10 ▼1.30 | 5.88 ▼42.54 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.83 | 6.26 ▼98.17 |
Media Library /wp-admin/upload.php | 2.10 ▼1.17 | 9.46 ▼26.53 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_vdd_w3c_validator_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Widget para añadir los iconos de validación de W3C Validator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.41 ▲0.06 | 1.59 ▼0.20 | 39.14 ▼3.06 |
Dashboard /wp-admin | 2,192 ▲15 | 5.73 ▲0.17 | 82.79 ▼12.76 | 40.30 ▼0.01 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.98 ▲0.01 | 35.41 ▼1.07 | 34.25 ▼4.77 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.79 ▲0.70 | 666.06 ▼45.56 | 64.59 ▲12.07 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.17 ▼0.00 | 96.41 ▼3.84 | 43.47 ▼1.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/anadir-iconos-validacion-w3c-validator/Widget_W3C_Validator.php+202
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- widget_vdd_w3c_validator_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/anadir-iconos-validacion-w3c-validator/Widget_W3C_Validator.php:82
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Screenshot #1 (Un sitio de WordPress con el plugin en la barra lateral.) image required
anadir-iconos-validacion-w3c-validator/Widget_W3C_Validator.php 92% from 13 tests
The primary PHP file in "Widget para añadir los iconos de validación de W3C Validator" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("anadir-iconos-validacion-w3c-validator.php" instead of "Widget_W3C_Validator.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin134 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 50 | 20 | 134 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Icons/valid-HTML5.png | 7.72KB | 3.53KB | ▼ 54.25% |
Icons/valid-xhtml10.png | 1.84KB | 1.31KB | ▼ 28.64% |
Icons/valid-ISOHTML.png | 2.37KB | 2.08KB | ▼ 12.09% |