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
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.74ms] Passed 4 tests
A check of server-side resources used by wpShopGermany - Händlerbund
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.99 ▲4.23 |
Dashboard /wp-admin | 3.40 ▲0.09 | 46.95 ▼0.59 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.31 ▼1.88 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 84.09 ▼18.77 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.92 ▼1.71 |
Händlerbund /wp-admin/options-general.php?page=wpshopgermany-hb-Admin | 3.39 | 36.27 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
mod_hb |
Browser metrics Passed 4 tests
An overview of browser requirements for wpShopGermany - Händlerbund
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.19 ▼0.42 | 1.69 ▼0.16 | 43.92 ▲3.16 |
Dashboard /wp-admin | 2,199 ▲22 | 5.59 ▼0.02 | 81.79 ▼6.87 | 42.16 ▲0.72 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.98 ▼0.04 | 33.25 ▼5.10 | 35.97 ▼3.42 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 22.38 ▼0.74 | 672.11 ▲46.35 | 53.46 ▼5.58 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.17 ▼0.03 | 92.78 ▼5.55 | 43.61 ▼2.05 |
Händlerbund /wp-admin/options-general.php?page=wpshopgermany-hb-Admin | 1,227 | 1.99 | 21.70 | 29.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wpshopgermany-handlerbund/wpshopgermany-haendlerbund.php:35
- > PHP Warning
Use of undefined constant WP_CONTENT_URL - assumed 'WP_CONTENT_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpshopgermany-handlerbund/wpshopgermany-haendlerbund.php on line 19
- > PHP Fatal error
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 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (Plugin Einstellungen)
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wpshopgermany-handlerbund ===
) - Tags: There are too many tags (13 tag instead of maximum 10)
wpshopgermany-handlerbund/wpshopgermany-haendlerbund.php 85% from 13 tests
Analyzing the main PHP file in "wpShopGermany - Händlerbund" version 1.7
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wpshopgermany-handlerbund.php" instead of "wpshopgermany-haendlerbund.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin822 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 358 | 96 | 822 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 38.50 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.17% |
Functions | 10 | |
▷ Named functions | 10 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin