Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.21ms] Passed 4 tests
Analyzing server-side resources used by DSGVO Youtube
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.99 ▼9.57 |
Dashboard /wp-admin | 3.36 ▲0.05 | 43.75 ▼4.15 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 42.56 ▼8.59 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.16 ▼10.51 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 32.97 ▼0.43 |
DSGVO Youtube /wp-admin/options-general.php?page=QGA_dsgvoyoutube | 3.25 | 31.47 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DSGVO Youtube
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲127 | 13.88 ▼0.47 | 10.29 ▲8.58 | 39.55 ▼4.93 |
Dashboard /wp-admin | 2,210 ▲36 | 5.66 ▲0.07 | 81.98 ▼8.13 | 37.43 ▼2.39 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 2.02 ▼0.01 | 35.42 ▼0.91 | 31.56 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,545 ▲8 | 18.35 ▲0.28 | 609.17 ▼34.59 | 59.80 ▼1.60 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▼0.03 | 99.36 ▼5.82 | 39.77 ▼5.11 |
DSGVO Youtube /wp-admin/options-general.php?page=QGA_dsgvoyoutube | 869 | 1.99 | 21.88 | 29.79 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/dsgvo-youtube/css/style.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dsgvo-youtube/includes/add-js-css.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dsgvo-youtube/includes/add-button-texteditor-eigenesbild.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dsgvo-youtube/includes/add-button-texteditor.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dsgvo-youtube/index.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=QGA_dsgvoyoutube
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=QGA_dsgvoyoutube 160 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in dsgvo-youtube/assets to your readme.txt
dsgvo-youtube/index.php 77% from 13 tests
This is the main PHP file of "DSGVO Youtube" version 1.4.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("3.0.1" instead of "3.5")
- Description: Keep the plugin description shorter than 140 characters (currently 202 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("dsgvo-youtube.php" instead of "index.php")
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
No dangerous file extensions were detected9,123 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 1,111 | 614 | 6,977 |
CSS | 2 | 119 | 15 | 1,521 |
PO File | 5 | 85 | 95 | 404 |
PHP | 8 | 95 | 63 | 221 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 12 | |
▷ Named functions | 12 | 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
There were not PNG files found in your plugin