Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/mostrar-ip-publica-widget-texto/widget-ip-publica.php+96
Function create_function() is deprecated
Server metrics [RAM: ▼1.94MB] [CPU: ▼55.68ms] Passed 4 tests
A check of server-side resources used by Widget para añadir la IP Pública de nuestros visitantes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.41 | 4.79 ▼35.17 |
Dashboard /wp-admin | 2.08 ▼1.27 | 6.63 ▼55.39 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 5.49 ▼38.98 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 6.03 ▼93.17 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 6.04 ▼29.57 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_vdd_ip_publica_widget |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Widget para añadir la IP Pública de nuestros visitantes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.56 ▼1.10 | 2.18 ▲0.39 | 45.22 ▲0.82 |
Dashboard /wp-admin | 2,203 ▲21 | 4.88 ▼0.08 | 112.80 ▲7.06 | 42.95 ▲1.06 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.05 | 34.06 ▼2.55 | 34.47 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,514 ▼16 | 17.76 ▼0.39 | 691.65 ▲82.30 | 61.95 ▼2.99 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.28 ▲0.05 | 94.57 ▼2.59 | 40.52 ▼5.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/mostrar-ip-publica-widget-texto/widget-ip-publica.php+96
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_vdd_ip_publica_widget
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/mostrar-ip-publica-widget-texto/widget-ip-publica.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Un sitio de WordPress con el plugin en la barra lateral.) image not found
mostrar-ip-publica-widget-texto/widget-ip-publica.php 92% from 13 tests
The principal PHP file in "Widget para añadir la IP Pública de nuestros visitantes" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("mostrar-ip-publica-widget-texto.php" instead of "widget-ip-publica.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin61 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 17 | 61 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin