Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼1.78MB] [CPU: ▼56.05ms] Passed 4 tests
Server-side resources used by BSD Verwaltung
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.21 ▼1.25 | 5.25 ▼38.03 |
Dashboard /wp-admin | 2.23 ▼1.07 | 6.47 ▼51.38 |
Posts /wp-admin/edit.php | 2.23 ▼1.12 | 7.13 ▼44.72 |
Add New Post /wp-admin/post-new.php | 2.23 ▼3.65 | 6.38 ▼90.06 |
Media Library /wp-admin/upload.php | 2.23 ▼1.00 | 6.48 ▼31.57 |
Alle Dienste /wp-admin/edit.php?post_type=bsds | 2.23 | 6.80 |
Dienst hinzufügen /wp-admin/post-new.php?post_type=bsds | 2.23 | 6.08 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 14 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
cron_last_search_for_bsd |
widget_recent-posts |
reject_on_bsd_by_admin |
can_compress_scripts |
bsd_current_db_version |
color_picker_panel_header_active |
widget_recent-comments |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BSD Verwaltung
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,986 ▲225 | 14.11 ▼0.10 | 5.29 ▲3.47 | 40.64 ▲0.21 |
Dashboard /wp-admin | 2,278 ▲101 | 4.93 ▼0.73 | 92.33 ▲2.24 | 39.39 ▼3.80 |
Posts /wp-admin/edit.php | 2,188 ▲88 | 2.39 ▲0.24 | 42.46 ▲8.16 | 54.66 ▲18.45 |
Add New Post /wp-admin/post-new.php | 1,596 ▲65 | 23.55 ▲0.73 | 690.38 ▲28.67 | 37.42 ▼19.75 |
Media Library /wp-admin/upload.php | 1,493 ▲93 | 4.78 ▲0.36 | 101.40 ▼0.67 | 40.21 ▼4.77 |
Alle Dienste /wp-admin/edit.php?post_type=bsds | 1,226 | 2.50 | 38.44 | 43.69 |
Dienst hinzufügen /wp-admin/post-new.php?post_type=bsds | 2,379 | 7.95 | 171.87 | 65.32 |
Berichte /wp-admin/bsd-verwaltung-report.php | 26 | 0.42 | 0.07 | 13.77 |
Einstellungen /wp-admin/bsd-verwaltung-settings.php | 26 | 0.42 | 0.12 | 7.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options were found after uninstall: 14 options
- db_upgraded
- agree_on_bsd
- cron_last_search_for_bsd
- bsd_current_db_version
- access_for_frontend_panels
- reject_on_bsd_by_user
- color_picker_panel_header
- reject_on_bsd_by_admin
- widget_theysaidso_widget
- theysaidso_admin_options
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=bsds
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=bsds
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the bsd_verwaltung_timepicker_script handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=bsds
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the bsd_verwaltung__timepicker_style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=bsds
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-datepicker handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=bsds
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery-ui-datepicker-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/bsd-verwaltung/bsd-verwaltung.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bsd-verwaltung/bsd-verwaltung-report.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bsd-verwaltung/bsd-verwaltung-backend.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bsd-verwaltung/bsd-verwaltung-user.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/bsd-verwaltung/bsd-verwaltung-frontend.php:166
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bsd-verwaltung/bsd-verwaltung-settings.php:4
- > 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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=bsds
- > Network (severe)
wp-content/plugins/bsd-verwaltung/js/admin_script.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/bsd-verwaltung-report.php
- > Network (severe)
wp-admin/bsd-verwaltung-report.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/bsd-verwaltung-settings.php
- > Network (severe)
wp-admin/bsd-verwaltung-settings.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
bsd-verwaltung/bsd-verwaltung.php Passed 13 tests
The main file in "BSD Verwaltung" v. 1.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
86 characters long description:
Verwaltung und Vergabe von (Brandsicherheits-)Diensten an die Mannschaft der Feuerwehr
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,747 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 514 | 161 | 1,325 |
CSS | 3 | 29 | 0 | 236 |
JavaScript | 3 | 30 | 6 | 98 |
Markdown | 1 | 37 | 0 | 88 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 48 | |
▷ Named functions | 45 | 93.75% |
▷ Anonymous functions | 3 | 6.25% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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 |
images/truppfuehrer.png | 1.59KB | 1.19KB | ▼ 25.35% |