Benchmarks
Plugin footprint 65% 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: ▼1.61MB] [CPU: ▼48.71ms] Passed 4 tests
A check of server-side resources used by Gartentechnik.com
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.38 ▼1.08 | 9.82 ▼33.98 |
Dashboard /wp-admin | 2.40 ▼0.91 | 12.07 ▼40.10 |
Posts /wp-admin/edit.php | 2.40 ▼0.96 | 12.69 ▼39.61 |
Add New Post /wp-admin/post-new.php | 2.40 ▼3.49 | 11.30 ▼81.15 |
Media Library /wp-admin/upload.php | 2.40 ▼0.84 | 13.88 ▼20.23 |
API-Key /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key | 2.40 | 11.50 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 49 new files
Database: no new tables, 15 new options
New WordPress options |
---|
widget_gartentechnik-com-kontaktformular |
widget_gartentechnik-com-lieferanten |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_gartentechnik-com-angesagte-kategorien |
widget_gartentechnik-com-servicegebiet |
widget_gartentechnik-com-oeffnungszeiten |
widget_gartentechnik-com-newsletter-abonnieren |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Gartentechnik.com
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,014 ▲228 | 14.40 ▼0.28 | 13.27 ▲11.17 | 42.27 ▼2.56 |
Dashboard /wp-admin | 2,242 ▲65 | 5.00 ▼0.64 | 88.32 ▼16.54 | 39.76 ▼2.06 |
Posts /wp-admin/edit.php | 2,152 ▲52 | 2.43 ▲0.41 | 41.76 ▲3.51 | 36.49 ▲3.64 |
Add New Post /wp-admin/post-new.php | 1,566 ▲40 | 21.71 ▲4.06 | 666.10 ▼12.96 | 38.21 ▼19.22 |
Media Library /wp-admin/upload.php | 1,461 ▲58 | 4.58 ▲0.33 | 90.47 ▼14.39 | 44.51 ▼2.44 |
API-Key /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key | 994 | 2.60 | 41.34 | 31.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/gartentechnik-com/plugin.php+112
Undefined index: HTTPS
- This plugin did not uninstall successfully, leaving 15 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_gartentechnik-com-oeffnungszeiten
- widget_gartentechnik-com-angebote
- widget_gartentechnik-com-angesagte-kategorien
- widget_recent-comments
- widget_gartentechnik-com-produkt
- can_compress_scripts
- widget_gartentechnik-com-newsletter-abonnieren
- theysaidso_admin_options
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key
- > Notice in wp-content/plugins/gartentechnik-com/plugin.php+92
Undefined index: HTTP_REFERER
- > GET request to /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key
- > Notice in wp-content/plugins/gartentechnik-com/plugin.php+112
Undefined index: HTTPS
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key
- > Notice in wp-content/plugins/gartentechnik-com/classes/EinstellungsRegister.php+17
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key
- > Notice in wp-content/plugins/gartentechnik-com/classes/MotoristPlugin.php+280
Undefined index: HTTP_X_FORWARDED_FOR
- > GET request to /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key
- > Notice in wp-content/plugins/gartentechnik-com/classes/MotoristPlugin.php+280
Undefined index: HTTP_X_REAL_IP
- > GET request to /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key
- > Notice in wp-content/plugins/gartentechnik-com/classes/MotoristPlugin.php+280
Undefined index: X_REAL_IP
- > GET request to /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key
- > Notice in wp-content/plugins/gartentechnik-com/classes/MotoristPlugin.php+280
Undefined index: HTTP_CLIENT_IP
- > GET request to /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key
- > Notice in wp-content/plugins/gartentechnik-com/classes/MotoristPlugin.php+280
Undefined index: HTTP_X_FORWARDED
- > GET request to /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key
- > Notice in wp-content/plugins/gartentechnik-com/classes/MotoristPlugin.php+280
Undefined index: HTTP_FORWARDED_FOR
- > GET request to /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key
- > Notice in wp-content/plugins/gartentechnik-com/classes/MotoristPlugin.php+280
Undefined index: HTTP_FORWARDED
- > GET request to /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key
- > Notice in wp-content/plugins/gartentechnik-com/classes/MotoristPlugin.php+280
Undefined index: HTTP_CF_CONNECTING_IP
- > GET request to /wp-admin/admin.php?page=gartentechnik_com-admin-wp-api-key
- > Notice in wp-content/plugins/gartentechnik-com/classes/MotoristPlugin.php+428
Undefined index: x-response-detail
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gartentechnik-com/_gt4.php:43
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: sales, sell, e-commerce, ecommerce, store
gartentechnik-com/plugin.php 85% from 13 tests
The entry point to "Gartentechnik.com" version 2.4.5 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gartentechnik-com.php" instead of "plugin.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 180 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin3,849 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 374 | 212 | 3,667 |
HTML | 2 | 3 | 0 | 91 |
XSLT | 1 | 0 | 0 | 77 |
PO File | 1 | 0 | 0 | 14 |
JavaScript | 2 | 0 | 2 | 0 |
PHP code Passed 2 tests
A short review 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.38 |
Average class complexity | 19.59 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 123.00 |
Average method complexity | 3.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 156 | |
▷ Static methods | 31 | 19.87% |
▷ Public methods | 111 | 71.15% |
▷ Protected methods | 26 | 16.67% |
▷ Private methods | 19 | 12.18% |
Functions | 70 | |
▷ Named functions | 8 | 11.43% |
▷ Anonymous functions | 62 | 88.57% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin