Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/contenido-del-dia/contenido-del-dia.php+102
Function create_function() is deprecated
Server metrics [RAM: ▼1.92MB] [CPU: ▼53.68ms] Passed 4 tests
A check of server-side resources used by Contenido del dia
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 5.32 ▼32.87 |
Dashboard /wp-admin | 2.08 ▼1.22 | 7.00 ▼43.47 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 6.64 ▼48.38 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 6.05 ▼90.00 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 4.74 ▼30.34 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_cdd_contenidodeldiawidget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Contenido del dia
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.09 | 1.67 ▼0.04 | 40.68 ▼0.50 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▼0.12 | 84.97 ▼6.75 | 39.54 ▲0.29 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.97 ▼0.01 | 38.15 ▼0.65 | 35.72 ▼5.48 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.12 ▲5.07 | 659.60 ▲27.79 | 53.46 ▼15.54 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.13 ▼0.09 | 95.94 ▼12.65 | 41.92 ▼7.43 |
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
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/contenido-del-dia/contenido-del-dia.php+102
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 7 options
- widget_cdd_contenidodeldiawidget
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 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/contenido-del-dia/contenido-del-dia.php:42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
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: A description for screenshot #3 is required in contenido-del-dia/assets to your readme.txt
contenido-del-dia/contenido-del-dia.php 92% from 13 tests
The entry point to "Contenido del dia" version 2.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 173 characters long)
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
Everything looks great! No dangerous files found in this plugin1 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
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin