Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/imagen-del-dia/imagen-del-dia.php+102
Function create_function() is deprecated
Server metrics [RAM: ▼1.89MB] [CPU: ▼192.13ms] Passed 4 tests
Server-side resources used by Imagen del dia
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.74 ▼1.10 | 12.38 ▼31.55 |
Dashboard /wp-admin | 1.76 ▼1.30 | 10.16 ▼35.11 |
Posts /wp-admin/edit.php | 1.76 ▼1.35 | 12.93 ▼43.70 |
Add New Post /wp-admin/post-new.php | 1.76 ▼3.67 | 10.36 ▼647.94 |
Media Library /wp-admin/upload.php | 1.76 ▼1.25 | 10.85 ▼41.78 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_idd_imagendeldiawidget |
Browser metrics Passed 4 tests
A check of browser resources used by Imagen del dia
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,693 ▲58 | 15.25 ▼0.13 | 10.29 ▲1.75 | 95.56 ▼2.48 |
Dashboard /wp-admin | 2,944 ▲44 | 6.07 ▲0.11 | 125.94 ▲1.06 | 219.27 ▼14.56 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.74 ▼0.01 | 71.55 ▼0.78 | 185.12 ▲11.37 |
Add New Post /wp-admin/post-new.php | 1,872 ▲257 | 19.04 ▼2.36 | 366.34 ▲79.35 | 233.19 ▲6.23 |
Media Library /wp-admin/upload.php | 1,807 ▲3 | 5.06 ▼0.02 | 153.44 ▼9.24 | 262.27 ▲24.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/imagen-del-dia/imagen-del-dia.php+102
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 1 option
- widget_idd_imagendeldiawidget
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 everything seems fine, this is not an exhaustive test
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/imagen-del-dia/imagen-del-dia.php:42
- > PHP Fatal error
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)
Everything seems fine on the user side
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
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #3, #4 in imagen-del-dia/assets to your readme.txt
imagen-del-dia/imagen-del-dia.php 92% from 13 tests
The main file in "Imagen del dia" v. 2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 220 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1 line of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin