Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.81ms] Passed 4 tests
An overview of server-side resources used by Gestor de Google Analytics fácil
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.27 ▼2.21 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.42 ▲0.78 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.84 ▲1.02 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 86.77 ▼6.81 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.56 ▲4.36 |
Añadir G-Analytics /wp-admin/options-general.php?page=jlwebcom_ganalytics_conf | 3.21 | 32.52 |
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: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
jlwebcom_ganalytics_id_usuario |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Gestor de Google Analytics fácil
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 14.48 ▲0.11 | 1.82 ▼0.19 | 44.58 ▼2.88 |
Dashboard /wp-admin | 2,210 ▲22 | 5.84 ▲0.94 | 105.10 ▼4.79 | 40.44 ▼2.65 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.06 ▲0.01 | 34.08 ▼6.54 | 32.00 ▼2.86 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.86 ▼5.20 | 680.16 ▲8.81 | 60.44 ▲8.42 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.21 ▼0.08 | 101.57 ▼7.39 | 42.11 ▼6.76 |
Añadir G-Analytics /wp-admin/options-general.php?page=jlwebcom_ganalytics_conf | 775 | 2.05 | 26.31 | 23.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- jlwebcom_ganalytics_id_usuario
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/gestor-de-google-analytics-facil/index.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gestor-de-google-analytics-facil/jlwebcom-ganalytics.php:15
- > 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)
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Formulario de administración jlwebcom-ganalytics-formulario-admin.png), #2 (Icono para envío de mensajes jlwebcom-ganalytics-código.png), #3 (Panel de Google Analytics jlwebcom-ganalytics-gráfica.png)
gestor-de-google-analytics-facil/jlwebcom-ganalytics.php 69% from 13 tests
This is the main PHP file of "Gestor de Google Analytics fácil" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Requires PHP: Required version does not match the one declared in readme.txt ("7.0" instead of "7.2")
- Requires at least: Required version does not match the one declared in readme.txt ("4.9.4" instead of "5.2")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("gestor-de-google-analytics-facil.php" instead of "jlwebcom-ganalytics.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected74 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 12 | 22 | 67 |
JSON | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin