Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▲0.75ms] Passed 4 tests
Server-side resources used by Automatic Safe Update
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.74 ▲0.95 |
Dashboard /wp-admin | 3.34 ▲0.03 | 55.03 ▲1.22 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.47 ▲2.17 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.37 ▼1.33 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.51 ▲2.98 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Automatic Safe Update
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲76 | 13.71 ▼0.57 | 1.68 ▼0.33 | 42.48 ▼3.38 |
Dashboard /wp-admin | 2,247 ▲44 | 5.03 ▼0.83 | 107.80 ▼3.83 | 38.73 ▼7.53 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.02 ▼0.01 | 36.76 ▲0.20 | 34.59 ▼1.01 |
Add New Post /wp-admin/post-new.php | 1,544 ▼1 | 23.08 ▼0.25 | 615.69 ▼23.86 | 50.57 ▼27.14 |
Media Library /wp-admin/upload.php | 1,423 ▲20 | 4.29 ▲0.03 | 100.96 ▼5.90 | 44.41 ▼7.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 10 options
- asu_actualizaciones_informadas
- db_upgraded
- widget_theysaidso_widget
- asu_hash
- can_compress_scripts
- theysaidso_admin_options
- asu_json
- widget_recent-posts
- asu_log
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/automatic-safe-update/includes/configuracion.php
- > /wp-content/plugins/automatic-safe-update/admin/options.php
- > /wp-content/plugins/automatic-safe-update/uninstall.php
- > /wp-content/plugins/automatic-safe-update/includes/mail.php
- > /wp-content/plugins/automatic-safe-update/includes/functions.php
- > /wp-content/plugins/automatic-safe-update/lista_opciones.php
- > /wp-content/plugins/automatic-safe-update/automatic-safe-update.php
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: safety, versions, actualizacin, seguridad, versiones...
automatic-safe-update/automatic-safe-update.php 92% from 13 tests
The main file in "Automatic Safe Update" v. 1.1.11 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,236 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 191 | 355 | 1,236 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.18 |
▷ 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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 27.27% |
Functions | 83 | |
▷ Named functions | 83 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/automatic-safe-update-32x32.png | 0.67KB | 0.83KB | 0.00% |