Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.82ms] Passed 4 tests
Analyzing server-side resources used by Flüchtlingen helfen
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.24 ▼2.56 |
Dashboard /wp-admin | 3.34 ▼0.00 | 48.90 ▼12.39 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.80 ▼5.35 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.19 ▼14.96 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.05 ▲2.54 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/fluchtlingen-helfen/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 13 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
fh1man_zindex |
can_compress_scripts |
fh1man_type |
widget_recent-comments |
db_upgraded |
fh1man_sticky |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Flüchtlingen helfen
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲103 | 14.76 ▲0.59 | 2.02 ▲0.29 | 45.28 ▲1.81 |
Dashboard /wp-admin | 2,225 ▲21 | 5.86 ▲0.79 | 113.78 ▲2.26 | 44.57 ▲4.06 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▼0.02 | 35.82 ▼0.23 | 32.75 ▼2.37 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.03 ▲5.57 | 637.77 ▼19.37 | 56.78 ▲2.86 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.18 ▼0.06 | 99.02 ▼1.75 | 41.32 ▼4.33 |
Flüchtlingen helfen /wp-admin/fluechtlingen-helfen.php | 26 | 0.44 | 0.10 | 13.66 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/fluchtlingen-helfen/fluechtlingen-helfen.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/fluechtlingen-helfen.php
- > Network (severe)
wp-admin/fluechtlingen-helfen.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (simple Settings - left or right?), #2 (left), #3 (right), #4 (screenshot of linked google map)
fluchtlingen-helfen/fluechtlingen-helfen.php 92% from 13 tests
"Flüchtlingen helfen" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("fluchtlingen-helfen.php" instead of "fluechtlingen-helfen.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin176 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 46 | 24 | 99 |
CSS | 1 | 8 | 0 | 40 |
PO File | 1 | 10 | 10 | 37 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 12 | |
▷ Named functions | 12 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.37MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 12.86KB | 7.66KB | ▼ 40.43% |
fluechtlingen-helfen-links.png | 7.38KB | 4.77KB | ▼ 35.35% |
fluechtlingen-helfen-rechts.png | 7.85KB | 4.83KB | ▼ 38.50% |
screenshot-1.png | 19.40KB | 10.78KB | ▼ 44.45% |
screenshot-4.png | 305.47KB | 110.68KB | ▼ 63.77% |