Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.36ms] Passed 4 tests
A check of server-side resources used by Simplificar menú de administración
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 46.43 ▲2.60 |
Dashboard /wp-admin | 3.34 ▼0.01 | 49.84 ▼16.01 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.26 ▼3.94 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 97.36 ▼8.08 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.39 ▲4.25 |
Simplificar menú /wp-admin/options-general.php?page=jlwebcom_simplifica_admin_menu_conf | 3.20 | 29.48 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 16 new options
New WordPress options |
---|
jlwebcom_simplifica_admin_menu_Plugins-0 |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
jlwebcom_simplifica_admin_menu_Tools |
widget_recent-posts |
jlwebcom_simplifica_admin_menu_Posts |
jlwebcom_simplifica_admin_menu_Settings |
jlwebcom_simplifica_admin_menu_Users |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Simplificar menú de administración
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.78 ▲0.15 | 2.60 ▲0.87 | 43.40 ▼2.94 |
Dashboard /wp-admin | 2,210 ▲19 | 4.84 ▼0.06 | 100.99 ▼7.39 | 39.04 ▲1.32 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.02 | 40.55 ▲0.23 | 34.95 ▼0.66 |
Add New Post /wp-admin/post-new.php | 1,541 ▲20 | 23.42 ▲0.09 | 676.26 ▲34.74 | 62.64 ▼5.65 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.19 ▼0.00 | 98.54 ▼5.13 | 42.75 ▼6.51 |
Simplificar menú /wp-admin/options-general.php?page=jlwebcom_simplifica_admin_menu_conf | 908 | 2.03 | 26.61 | 25.10 |
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: 16 options
- can_compress_scripts
- jlwebcom_simplifica_admin_menu_Plugins-0
- jlwebcom_simplifica_admin_menu_Comments-00-Comments-in-moderation
- jlwebcom_simplifica_admin_menu_Dashboard
- jlwebcom_simplifica_admin_menu_Settings
- jlwebcom_simplifica_admin_menu_Users
- db_upgraded
- jlwebcom_simplifica_admin_menu_Pages
- widget_recent-posts
- jlwebcom_simplifica_admin_menu_Posts
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=jlwebcom_simplifica_admin_menu_conf
- > Warning in wp-content/plugins/simplificar-menu-de-administracion/jlwebcom-simplificar-admin-menu.php+101
Use of undefined constant on - assumed 'on' (this will throw an Error in a future version of PHP)
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/simplificar-menu-de-administracion/jlwebcom-simplificar-admin-menu/index.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simplificar-menu-de-administracion/jlwebcom-simplificar-admin-menu.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/simplificar-menu-de-administracion/index.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simplificar-menu-de-administracion/jlwebcom-simplificar-admin-menu/jlwebcom-simplificar-admin-menu.php:17
- > 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 83% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Formulario de administración jlwebcom-simplificar-adminmenu-formulario.png), #2 (Menú con opciones limitadas jlwebcom-simplificar-adminmenu-resultado.png)
simplificar-menu-de-administracion/jlwebcom-simplificar-admin-menu.php 69% from 13 tests
The main file in "Simplificar menú de administración" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simplificar-menu-de-administracion.php" instead of "jlwebcom-simplificar-admin-menu.php")
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.0" instead of "7.2")
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.9.4" instead of "5.2")
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
No dangerous file extensions were detected271 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 33 | 42 | 263 |
JSON | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 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