Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.77MB] [CPU: ▼38.26ms] Passed 4 tests
Analyzing server-side resources used by Einsatzverwaltung
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.36 | 42.59 ▼0.90 |
Dashboard /wp-admin | 3.18 ▼0.13 | 21.34 ▼28.87 |
Posts /wp-admin/edit.php | 3.18 ▼0.18 | 22.10 ▼27.33 |
Add New Post /wp-admin/post-new.php | 3.18 ▼2.71 | 21.25 ▼82.51 |
Media Library /wp-admin/upload.php | 3.18 ▼0.05 | 21.27 ▼14.32 |
Einsatzberichte importieren /wp-admin/tools.php?page=einsatzvw-tool-import | 3.87 | 40.92 |
Einsatzberichte exportieren /wp-admin/tools.php?page=einsatzvw-tool-export | 3.18 | 22.09 |
Add New /wp-admin/post-new.php?post_type=einsatz | 3.18 | 20.00 |
Externe Einsatzmittel /wp-admin/edit-tags.php?taxonomy=exteinsatzmittel&post_type=einsatz | 3.18 | 22.18 |
Incident Categories /wp-admin/edit-tags.php?taxonomy=einsatzart&post_type=einsatz | 3.18 | 21.95 |
Fahrzeuge /wp-admin/edit-tags.php?taxonomy=fahrzeug&post_type=einsatz | 3.18 | 21.54 |
Einsatzverwaltung /wp-admin/options-general.php?page=einsatzvw-settings | 3.69 | 39.91 |
All Incident Reports /wp-admin/edit.php?post_type=einsatz | 3.18 | 20.89 |
Units /wp-admin/edit-tags.php?taxonomy=evw_unit&post_type=einsatz | 3.18 | 19.87 |
Alerting Methods /wp-admin/edit-tags.php?taxonomy=alarmierungsart&post_type=einsatz | 3.18 | 19.81 |
Server storage [IO: ▲1.76MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 139 new files
Database: no new tables, 10 new options
New WordPress options |
---|
einsatzvw_category |
widget_recent-incidents-formatted |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_einsatzverwaltung_widget |
einsatzvw_db_version |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Einsatzverwaltung
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲165 | 13.73 ▼0.70 | 1.72 ▼0.11 | 43.82 ▲0.56 |
Dashboard /wp-admin | 2,297 ▲106 | 5.22 ▲0.31 | 105.06 ▲0.84 | 38.52 ▼0.82 |
Posts /wp-admin/edit.php | 2,155 ▲63 | 2.28 ▲0.24 | 40.99 ▲0.66 | 33.30 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,590 ▲56 | 23.46 ▲0.19 | 688.45 ▲21.36 | 39.71 ▼25.10 |
Media Library /wp-admin/upload.php | 1,471 ▲80 | 4.38 ▲0.18 | 91.85 ▼17.75 | 43.39 ▼2.65 |
Einsatzberichte importieren /wp-admin/tools.php?page=einsatzvw-tool-import | 862 | 1.87 | 30.85 | 26.67 |
Einsatzberichte exportieren /wp-admin/tools.php?page=einsatzvw-tool-export | 1,010 | 1.95 | 29.81 | 28.48 |
Add New /wp-admin/post-new.php?post_type=einsatz | 6,676 | 21.79 | 918.27 | 41.05 |
Externe Einsatzmittel /wp-admin/edit-tags.php?taxonomy=exteinsatzmittel&post_type=einsatz | 1,354 | 2.06 | 30.60 | 28.20 |
Incident Categories /wp-admin/edit-tags.php?taxonomy=einsatzart&post_type=einsatz | 1,697 | 3.80 | 53.72 | 29.86 |
Fahrzeuge /wp-admin/edit-tags.php?taxonomy=fahrzeug&post_type=einsatz | 1,466 | 2.08 | 30.35 | 28.34 |
Einsatzverwaltung /wp-admin/options-general.php?page=einsatzvw-settings | 1,031 | 2.65 | 42.67 | 25.11 |
All Incident Reports /wp-admin/edit.php?post_type=einsatz | 1,186 | 2.26 | 33.10 | 30.26 |
Units /wp-admin/edit-tags.php?taxonomy=evw_unit&post_type=einsatz | 1,388 | 2.09 | 29.71 | 27.59 |
Alerting Methods /wp-admin/edit-tags.php?taxonomy=alarmierungsart&post_type=einsatz | 1,318 | 2.05 | 31.03 | 27.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/einsatzverwaltung/Export/Tool.php+65
Undefined index: page
- This plugin does not fully uninstall, leaving 10 options in the database
- db_upgraded
- widget_recent-posts
- einsatzvw_category
- widget_einsatzverwaltung_widget
- widget_recent-incidents-formatted
- widget_recent-comments
- theysaidso_admin_options
- einsatzvw_db_version
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=einsatzvw-tool-export
- > Notice in wp-content/plugins/einsatzverwaltung/Export/Tool.php+66
Undefined index: download
- 9 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=alarmierungsart&post_type=einsatz
- > Notice in wp-content/plugins/einsatzverwaltung/Export/Tool.php+65
Undefined index: page
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/einsatzverwaltung/einsatzverwaltung.php
- 38× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'abrain\\Einsatzverwaltung\\CustomFields\\CustomField' not found in wp-content/plugins/einsatzverwaltung/CustomFields/UrlInput.php:13
- > PHP Fatal error
Uncaught Error: Class 'abrain\\Einsatzverwaltung\\Import\\Sources\\AbstractSource' not found in wp-content/plugins/einsatzverwaltung/Import/Sources/Csv.php:9
- > PHP Fatal error
Uncaught Error: Interface 'abrain\\Einsatzverwaltung\\Types\\CustomTaxonomy' not found in wp-content/plugins/einsatzverwaltung/Types/AlertingMethod.php:10
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/einsatzverwaltung/Widgets/AbstractWidget.php:12
- > PHP Fatal error
Uncaught Error: Interface 'abrain\\Einsatzverwaltung\\Types\\CustomType' not found in wp-content/plugins/einsatzverwaltung/Types/CustomTaxonomy.php:9
- > PHP Fatal error
Uncaught Error: Class 'abrain\\Einsatzverwaltung\\Shortcodes\\AbstractShortcode' not found in wp-content/plugins/einsatzverwaltung/Shortcodes/ReportArchives.php:11
- > PHP Fatal error
Uncaught Error: Interface 'abrain\\Einsatzverwaltung\\Types\\CustomTaxonomy' not found in wp-content/plugins/einsatzverwaltung/Types/Vehicle.php:29
- > PHP Fatal error
Uncaught Error: Class 'abrain\\Einsatzverwaltung\\CustomFields\\CustomField' not found in wp-content/plugins/einsatzverwaltung/CustomFields/UnitSelector.php:16
- > PHP Fatal error
Uncaught Error: Interface 'abrain\\Einsatzverwaltung\\Export\\Formats\\Format' not found in wp-content/plugins/einsatzverwaltung/Export/Formats/AbstractFormat.php:13
- > PHP Fatal error
Uncaught Error: Class 'abrain\\Einsatzverwaltung\\Settings\\Pages\\SubPage' not found in wp-content/plugins/einsatzverwaltung/Settings/Pages/About.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: fire department, feuerwehr, ems
einsatzverwaltung/einsatzverwaltung.php Passed 13 tests
The principal PHP file in "Einsatzverwaltung" v. 1.10.2 is loaded by WordPress automatically on each request
70 characters long description:
Public incident reports for fire departments and other rescue services
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected18,984 lines of code in 131 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 90 | 1,758 | 3,953 | 9,857 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 5 | 41 | 15 | 2,512 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
Markdown | 1 | 58 | 0 | 281 |
JavaScript | 6 | 17 | 4 | 137 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 12.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 20 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 84 | |
▷ Abstract classes | 9 | 10.71% |
▷ Concrete classes | 75 | 89.29% |
▷ Final classes | 0 | 0.00% |
Methods | 653 | |
▷ Static methods | 36 | 5.51% |
▷ Public methods | 515 | 78.87% |
▷ Protected methods | 27 | 4.13% |
▷ Private methods | 111 | 17.00% |
Functions | 39 | |
▷ Named functions | 2 | 5.13% |
▷ Anonymous functions | 37 | 94.87% |
Constants | 33 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 33 | 100.00% |
▷ Public constants | 33 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin