Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.67ms] Passed 4 tests
This is a short check of server-side resources used by DSGVO/GDPR Cookies, DSE, Impressum & Google Fonts Proxy
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.17 ▼1.10 |
Dashboard /wp-admin | 3.31 ▼0.03 | 44.86 ▼15.28 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.23 ▼3.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.79 ▼11.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.28 ▲8.22 |
Server storage [IO: ▲0.57MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by DSGVO/GDPR Cookies, DSE, Impressum & Google Fonts Proxy
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.19 ▼1.16 | 1.58 ▼0.14 | 39.68 ▼3.88 |
Dashboard /wp-admin | 2,215 ▲27 | 5.86 ▲0.97 | 101.15 ▼14.91 | 38.78 ▼3.48 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.03 ▲0.05 | 35.02 ▼1.07 | 34.88 ▼0.12 |
Add New Post /wp-admin/post-new.php | 1,524 ▲10 | 23.47 ▲5.89 | 666.66 ▲76.73 | 56.75 ▲3.61 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.24 ▲0.06 | 106.55 ▲8.40 | 46.72 ▲4.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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 fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/dsgvo-de/bc-dsgvo-de.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: google fonts, google analytics, gdspr, datenschutz, dsgvo
dsgvo-de/bc-dsgvo-de.php 85% from 13 tests
The main file in "DSGVO/GDPR Cookies, DSE, Impressum & Google Fonts Proxy" v. 1.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dsgvo-de.php" instead of "bc-dsgvo-de.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,352 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 17 | 750 |
PO File | 1 | 142 | 142 | 579 |
CSS | 2 | 0 | 0 | 22 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.44MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/5c1a95c6303beb2cc68cc8400ac6ffe0.png | 186.84KB | 72.81KB | ▼ 61.03% |
assets/screenshot-2.png | 38.72KB | 19.78KB | ▼ 48.92% |
assets/screenshot-3.png | 78.59KB | 37.71KB | ▼ 52.02% |
assets/screenshot-6.png | 28.17KB | 15.75KB | ▼ 44.09% |
assets/screenshot-5.png | 27.50KB | 15.75KB | ▼ 42.72% |