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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼4.97ms] Passed 4 tests
An overview of server-side resources used by Categorías y páginas por familia y profundidad
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 43.77 ▲1.17 |
Dashboard /wp-admin | 3.52 ▲0.22 | 46.77 ▼3.02 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 48.68 ▼4.66 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 97.46 ▼4.13 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 35.37 ▼8.08 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_fwp_related_cats |
db_upgraded |
widget_fwp_related_pages |
Browser metrics Passed 4 tests
An overview of browser requirements for Categorías y páginas por familia y profundidad
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.34 ▼1.12 | 1.71 ▼0.32 | 43.51 ▼1.71 |
Dashboard /wp-admin | 2,209 ▲21 | 4.86 ▼0.01 | 94.05 ▼23.62 | 38.11 ▼10.11 |
Posts /wp-admin/edit.php | 2,086 ▼0 | 2.05 ▲0.04 | 34.58 ▼1.15 | 33.37 ▼1.70 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 18.28 ▼4.80 | 623.01 ▲8.51 | 48.22 ▼16.86 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.21 ▼0.03 | 100.03 ▼15.80 | 42.25 ▼0.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_fwp_related_pages
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_fwp_related_cats
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/categorias-y-paginas-por-familia-y-profundidad/family-widgets.php:17
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/categorias-y-paginas-por-familia-y-profundidad/related-cats.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/categorias-y-paginas-por-familia-y-profundidad/shortcodes/shortcode-pages.php:128
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/categorias-y-paginas-por-familia-y-profundidad/related-pages.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/categorias-y-paginas-por-familia-y-profundidad/shortcodes/shortcode-cats.php:4
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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: categorias widget, related categories, paginas profundidad, mejor seo, paginas widget...
categorias-y-paginas-por-familia-y-profundidad/family-widgets.php 85% from 13 tests
This is the main PHP file of "Categorías y páginas por familia y profundidad" version 1.6.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("categorias-y-paginas-por-familia-y-profundidad.php" instead of "family-widgets.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 178 characters long)
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
There were no executable files found in this plugin1,106 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 400 | 110 | 872 |
PO File | 2 | 51 | 68 | 160 |
Markdown | 1 | 69 | 0 | 74 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 60.50 |
▷ Minimum class complexity | 60.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 11.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
No PNG files were detected