Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.40MB] [CPU: ▲2.13ms] Passed 4 tests
A check of server-side resources used by Protección de Datos RGPD
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 38.44 ▼2.91 |
Dashboard /wp-admin | 3.80 ▲0.50 | 48.29 ▲0.07 |
Posts /wp-admin/edit.php | 3.91 ▲0.56 | 53.76 ▲8.58 |
Add New Post /wp-admin/post-new.php | 6.40 ▲0.52 | 90.49 ▲5.14 |
Media Library /wp-admin/upload.php | 3.73 ▲0.50 | 39.37 ▲6.22 |
Precarga de cookies /wp-admin/admin.php?page=click-datos-lopd/admin/class-cdlopd-admin.php/custom4 | 3.71 | 34.95 |
RGPD ClickDatos /wp-admin/admin.php?page=cdlopd1 | 3.71 | 36.26 |
Páginas /wp-admin/admin.php?page=click-datos-lopd/admin/class-cdlopd-admin.php/custom3 | 3.71 | 37.24 |
Formularios /wp-admin/admin.php?page=click-datos-lopd/admin/class-cdlopd-admin.php/custom2 | 3.71 | 36.18 |
Cookies /wp-admin/admin.php?page=click-datos-lopd/admin/class-cdlopd-admin.php/custom1 | 3.71 | 35.92 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
cdlopd_content_settings |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Protección de Datos RGPD
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,056 ▲299 | 13.87 ▼0.72 | 7.14 ▲5.07 | 41.92 ▼9.27 |
Dashboard /wp-admin | 2,304 ▲116 | 5.23 ▼0.69 | 112.16 ▼2.45 | 46.53 ▼1.23 |
Posts /wp-admin/edit.php | 2,186 ▲97 | 2.36 ▲0.34 | 42.44 ▲6.19 | 36.98 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,666 ▲133 | 21.88 ▼1.18 | 642.65 ▼34.50 | 38.41 ▼25.16 |
Media Library /wp-admin/upload.php | 1,486 ▲101 | 4.47 ▲0.27 | 98.49 ▼24.78 | 43.36 ▼4.88 |
Precarga de cookies /wp-admin/admin.php?page=click-datos-lopd/admin/class-cdlopd-admin.php/custom4 | 1,316 | 2.24 | 29.75 | 28.87 |
RGPD ClickDatos /wp-admin/admin.php?page=cdlopd1 | 1,201 | 2.24 | 27.71 | 35.52 |
Páginas /wp-admin/admin.php?page=click-datos-lopd/admin/class-cdlopd-admin.php/custom3 | 1,703 | 2.18 | 27.74 | 37.89 |
Formularios /wp-admin/admin.php?page=click-datos-lopd/admin/class-cdlopd-admin.php/custom2 | 1,362 | 2.26 | 27.92 | 32.47 |
Cookies /wp-admin/admin.php?page=click-datos-lopd/admin/class-cdlopd-admin.php/custom1 | 2,569 | 2.82 | 74.23 | 36.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- cdlopd_content_settings
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 50% 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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/click-datos-lopd/admin/mail-contacto.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=click-datos-lopd/admin/class-cdlopd-admin.php/custom1
- > Javascript (severe) in unknown
http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js?ver=6.3.1 5:215 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: politica de cookies, lopd, proteccion datos, clausulas legales, rgpd
click-datos-lopd/click-datos-lopd.php Passed 13 tests
The entry point to "Protección de Datos RGPD" version 3.1.0 is a PHP file that has certain tags in its header comment area
92 characters long description:
Plugin para adecuación a RGPD LOPD. Páginas legales, banner de cookies, cláusulas legales
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected10,386 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 29 | 16 | 6,565 |
PHP | 7 | 266 | 172 | 3,081 |
XML | 2 | 0 | 0 | 358 |
PO File | 2 | 80 | 85 | 207 |
JavaScript | 3 | 17 | 29 | 175 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 109.50 |
▷ Minimum class complexity | 56.00 |
▷ Maximum class complexity | 163.00 |
Average method complexity | 4.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.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 | 52 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 52 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/trashtransparentenaranja.png | 6.05KB | 4.06KB | ▼ 32.85% |
assets/images/trashtransparenteblanca.png | 5.93KB | 4.06KB | ▼ 31.49% |