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.09MB] [CPU: ▼4.48ms] Passed 4 tests
A check of server-side resources used by Wettervorhersage
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 42.07 ▼3.88 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.45 ▼3.78 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 54.13 ▲3.38 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 91.05 ▼12.09 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.86 ▲1.83 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_wettervorhersage_widget |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Wettervorhersage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲140 | 13.37 ▼1.02 | 9.43 ▲7.61 | 43.11 ▲0.97 |
Dashboard /wp-admin | 2,202 ▲22 | 5.62 ▼0.03 | 93.67 ▲5.89 | 40.90 ▼3.33 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.96 ▼0.07 | 41.38 ▲5.71 | 36.11 ▼0.34 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.50 ▲0.51 | 664.67 ▼4.94 | 55.43 ▼25.53 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.14 ▼0.14 | 99.53 ▼10.12 | 41.32 ▼3.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_wettervorhersage_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Please take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wettervorhersage/public/partials/wettervorhersage-public-display.php
- > /wp-content/plugins/wettervorhersage/admin/partials/wettervorhersage-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6 in wettervorhersage/assets to your readme.txt
wettervorhersage/wettervorhersage.php Passed 13 tests
The main PHP file in "Wettervorhersage" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
77 characters long description:
Wettervorhersage is a top nutch weather forecasting widget English and German
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,077 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 119 | 17 | 471 |
PHP | 12 | 149 | 551 | 389 |
JavaScript | 2 | 51 | 56 | 181 |
SVG | 4 | 0 | 0 | 36 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 4.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 1.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected