Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.08ms] Passed 4 tests
Analyzing server-side resources used by Mitfahrgelegenheit
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.05 ▼0.37 |
Dashboard /wp-admin | 3.35 ▲0.04 | 45.07 ▼2.74 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.50 ▼1.99 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 85.13 ▼11.23 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.69 ▼4.37 |
Mitfahrgelegenheit /wp-admin/options-general.php?page=bmf-mfg | 3.28 | 30.89 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
de.bessermitfahren.options |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Mitfahrgelegenheit: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲87 | 14.48 ▲0.09 | 1.89 ▼0.39 | 39.16 ▼9.69 |
Dashboard /wp-admin | 2,222 ▲31 | 5.84 ▲0.94 | 102.61 ▲1.73 | 40.61 ▼2.43 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.02 ▼0.04 | 36.08 ▼1.44 | 34.64 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,554 ▲21 | 23.38 ▲0.10 | 657.04 ▼6.69 | 67.12 ▲16.50 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.27 ▲0.06 | 95.28 ▼0.40 | 41.56 ▼4.28 |
Mitfahrgelegenheit /wp-admin/options-general.php?page=bmf-mfg | 848 | 2.16 | 25.42 | 30.60 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mitfahrgelegenheit/functions.php
- > /wp-content/plugins/mitfahrgelegenheit/mitfahrgelegenheit.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/mitfahrgelegenheit/options.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (https://www.bessermitfahren.de/images/wordpress_example.png) image required
mitfahrgelegenheit/mitfahrgelegenheit.php 92% from 13 tests
The main PHP file in "Mitfahrgelegenheit" ver. 1.1.5 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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 plugin453 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 31 | 20 | 432 |
JavaScript | 1 | 0 | 1 | 21 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bmf_button.png | 18.30KB | 7.72KB | ▼ 57.79% |
wordpress_example.png | 33.18KB | 11.17KB | ▼ 66.34% |