Benchmarks
Plugin footprint Passed 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.01MB] [CPU: ▼139.49ms] Passed 4 tests
Server-side resources used by esbleibtdabei.at
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 30.53 ▲0.68 |
Dashboard /wp-admin | 3.07 ▲0.02 | 48.24 ▲1.52 |
Posts /wp-admin/edit.php | 3.12 ▲0.02 | 41.58 ▼1.90 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 87.89 ▼555.60 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 32.01 ▼1.12 |
esbleibtdabei.at /wp-admin/options-general.php?page=ebd_settings_page | 2.99 | 29.36 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by esbleibtdabei.at
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,720 ▲124 | 15.90 ▲0.76 | 11.34 ▲2.35 | 48.47 ▲1.20 |
Dashboard /wp-admin | 2,984 ▲53 | 5.94 ▼0.01 | 153.41 ▲6.60 | 103.68 ▼8.28 |
Posts /wp-admin/edit.php | 2,756 ▲17 | 2.72 ▼0.00 | 73.59 ▲3.19 | 92.89 ▲1.49 |
Add New Post /wp-admin/post-new.php | 1,694 ▲11 | 18.81 ▲0.41 | 381.34 ▲2.68 | 110.05 ▼2.83 |
Media Library /wp-admin/upload.php | 1,827 ▲20 | 5.01 ▼0.02 | 152.81 ▲5.85 | 122.96 ▲7.42 |
esbleibtdabei.at /wp-admin/options-general.php?page=ebd_settings_page | 1,177 | 2.09 | 62.91 | 73.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/esbleibtdabeiat/esbleibtdabei-at.php
- > /wp-content/plugins/esbleibtdabeiat/ebd-settings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: bwp, campaign, wahl, bwp2016, vdb...
esbleibtdabeiat/esbleibtdabei-at.php 92% from 13 tests
The main PHP file in "esbleibtdabei.at" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("esbleibtdabeiat.php" instead of "esbleibtdabei-at.php")
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
Good job! No executable or dangerous file extensions detected181 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 2 | 16 | 128 |
CSS | 2 | 2 | 0 | 53 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
2 PNG files occupy 0.35MB with 0.25MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/ebd-klein.png | 34.65KB | 10.35KB | ▼ 70.14% |
img/ebd-gross.png | 324.86KB | 95.75KB | ▼ 70.52% |