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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.07ms] Passed 4 tests
Server-side resources used by Bauernregeln
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.86 ▲2.60 |
Dashboard /wp-admin | 3.33 ▼0.01 | 44.51 ▼12.60 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.51 ▲1.27 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 78.82 ▼12.91 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.47 ▼0.03 |
Bauernregeln /wp-admin/options-general.php?page=bauernregeln | 3.22 | 30.35 |
Server storage [IO: ▲0.04MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_bauernregeln |
New WordPress options |
---|
widget_bauernregeln |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
bauernregeln_db_version |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bauernregeln
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.04 ▼0.56 | 1.70 ▲0.01 | 44.10 ▲3.92 |
Dashboard /wp-admin | 2,199 ▲21 | 5.54 ▼0.15 | 93.43 ▼7.26 | 36.49 ▼1.96 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.02 | 38.03 ▲5.44 | 35.43 ▲1.76 |
Add New Post /wp-admin/post-new.php | 1,531 ▼6 | 23.20 ▲5.31 | 615.65 ▼10.90 | 46.90 ▼25.79 |
Media Library /wp-admin/upload.php | 1,395 ▼5 | 4.25 ▲0.04 | 98.00 ▼15.73 | 42.65 ▼5.45 |
Bauernregeln /wp-admin/options-general.php?page=bauernregeln | 866 | 2.14 | 23.11 | 40.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: widget, german proverbs, bauernregeln
bauernregeln/bauernregeln.php Passed 13 tests
This is the main PHP file of "Bauernregeln" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
86 characters long description:
Shows a german weather proverb or country saying, called Bauernregel, for every month.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin625 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 144 | 530 |
PO File | 1 | 33 | 33 | 95 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 10.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 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 | 2 | |
▷ Named functions | 2 | 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 are no PNG files in this plugin