Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/einsatzberichte-oo/einsatzberichte.php+20
date_default_timezone_set(): Timezone ID '' is invalid
Server metrics [RAM: ▼1.59MB] [CPU: ▼51.07ms] Passed 4 tests
This is a short check of server-side resources used by Einsatzberichte OOE
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.40 ▼1.06 | 5.12 ▼36.62 |
Dashboard /wp-admin | 2.42 ▼0.88 | 8.08 ▼39.26 |
Posts /wp-admin/edit.php | 2.42 ▼0.94 | 7.34 ▼37.26 |
Add New Post /wp-admin/post-new.php | 2.42 ▼3.47 | 6.15 ▼91.15 |
Media Library /wp-admin/upload.php | 2.42 ▼0.81 | 6.25 ▼29.77 |
Server storage [IO: ▲1.55MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 46 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_eib_widget_lfd |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_eib_widget_last |
widget_eib_widget_stats |
widget_recent-comments |
widget_eib_widget_map |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Einsatzberichte OOE
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲89 | 13.45 ▼0.86 | 1.62 ▼0.26 | 38.62 ▼12.42 |
Dashboard /wp-admin | 2,228 ▲40 | 5.13 ▼0.77 | 104.78 ▼12.82 | 41.22 ▼3.71 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.27 ▲0.23 | 35.92 ▼1.84 | 33.98 ▲0.41 |
Add New Post /wp-admin/post-new.php | 6,243 ▲4,707 | 25.99 ▲2.97 | 901.82 ▲209.39 | 57.98 ▲5.72 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 4.42 ▲0.17 | 98.73 ▼5.86 | 41.07 ▼7.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/einsatzberichte-oo/einsatzberichte.php+20
date_default_timezone_set(): Timezone ID '' is invalid
- The uninstall procedure has failed, leaving 10 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_eib_widget_stats
- widget_eib_widget_map
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_eib_widget_last
- widget_eib_widget_lfd
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/einsatzberichte-oo/einsatzberichte.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
einsatzberichte-oo/einsatzberichte.php 85% from 13 tests
The principal PHP file in "Einsatzberichte OOE" v. 0.1.4 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("einsatzberichte-oo.php" instead of "einsatzberichte.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 331 characters long)
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
Success! There were no dangerous files found in this plugin9,436 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 4 | 6 | 13 | 2,377 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 2 | 187 | 105 | 831 |
JavaScript | 4 | 0 | 17 | 31 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 4.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 15 | 93.75% |
▷ Anonymous functions | 1 | 6.25% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There were not PNG files found in your plugin