Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.42MB] [CPU: ▲5.24ms] Passed 4 tests
A check of server-side resources used by Protección de datos - RGPD
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 45.52 ▲5.84 |
Dashboard /wp-admin | 3.81 ▲0.50 | 50.72 ▲2.16 |
Posts /wp-admin/edit.php | 3.86 ▲0.50 | 51.60 ▲2.90 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 96.52 ▲10.05 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 42.66 ▲10.31 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Protección de datos - RGPD: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲51 | 13.13 ▼1.45 | 4.50 ▲2.65 | 43.00 ▲3.20 |
Dashboard /wp-admin | 2,228 ▲40 | 4.87 ▼0.02 | 108.72 ▼5.77 | 41.89 ▼2.87 |
Posts /wp-admin/edit.php | 2,115 ▲23 | 2.06 ▲0.00 | 41.43 ▲0.40 | 34.96 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 17.79 ▼5.40 | 668.50 ▲79.07 | 56.89 ▼1.21 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.23 ▼0.05 | 97.08 ▼5.43 | 40.39 ▼2.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 11× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/proteccion-datos-rgpd/admin/options.php
- > /wp-content/plugins/proteccion-datos-rgpd/uninstall.php
- > /wp-content/plugins/proteccion-datos-rgpd/formularios.php
- > /wp-content/plugins/proteccion-datos-rgpd/lista_opciones.php
- > /wp-content/plugins/proteccion-datos-rgpd/politica-privacidad.php
- > /wp-content/plugins/proteccion-datos-rgpd/pie.php
- > /wp-content/plugins/proteccion-datos-rgpd/insercion-cookies.php
- > /wp-content/plugins/proteccion-datos-rgpd/proteccion-datos-rgpd.php
- > /wp-content/plugins/proteccion-datos-rgpd/jetpack-suscripcion.php
- > /wp-content/plugins/proteccion-datos-rgpd/politica-cookies.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)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
proteccion-datos-rgpd/proteccion-datos-rgpd.php 85% from 13 tests
The primary PHP file in "Protección de datos - RGPD" version 0.65 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 147 characters long)
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
Success! There were no dangerous files found in this plugin2,343 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 315 | 282 | 2,343 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 190 | |
▷ Named functions | 190 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/proteccion-datos-rgpd-32x32.png | 0.82KB | 0.68KB | ▼ 16.61% |