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.09MB] [CPU: ▼2.78ms] Passed 4 tests
A check of server-side resources used by Asesor de Cookies RGPD para normativa europea
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.39 ▼5.10 |
Dashboard /wp-admin | 3.39 ▲0.09 | 55.24 ▲0.09 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 53.07 ▼1.69 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 96.26 ▼3.01 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.77 ▼1.30 |
Asesor de cookies /wp-admin/tools.php?page=cdp_cookies | 3.30 | 34.57 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Asesor de Cookies RGPD para normativa europea: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲145 | 13.54 ▼0.77 | 11.00 ▲9.21 | 53.35 ▲6.66 |
Dashboard /wp-admin | 2,209 ▲29 | 5.68 ▲0.05 | 87.76 ▼12.06 | 41.56 ▼6.90 |
Posts /wp-admin/edit.php | 2,114 ▲11 | 2.04 ▲0.02 | 41.63 ▲0.35 | 36.11 ▼3.21 |
Add New Post /wp-admin/post-new.php | 1,536 ▼9 | 17.65 ▼5.62 | 649.74 ▼44.65 | 56.65 ▼2.72 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.23 ▲0.04 | 97.05 ▼12.08 | 45.92 ▼1.05 |
Asesor de cookies /wp-admin/tools.php?page=cdp_cookies | 1,145 | 1.84 | 24.11 | 37.74 |
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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
10 plugin tags: policy, spain, law, politica, espaa...
asesor-cookies-para-la-ley-en-espana/plugin.php 85% from 13 tests
"Asesor de Cookies RGPD para normativa europea" version 0.34's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 240 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("asesor-cookies-para-la-ley-en-espana.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,468 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 16 | 45 | 531 |
PHP | 4 | 72 | 229 | 432 |
HTML | 4 | 23 | 13 | 308 |
JavaScript | 2 | 49 | 68 | 194 |
Markdown | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
An overview 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.36 |
Average class complexity | 9.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 22 | 91.67% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected