Benchmarks
Plugin footprint Passed 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: ▲2.07MB] [CPU: ▼290.64ms] Passed 4 tests
A check of server-side resources used by Kletterpartner-Suche
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.56 ▲2.05 | 64.08 ▲12.81 |
Dashboard /wp-admin | 5.52 ▲2.11 | 44.31 ▲11.09 |
Posts /wp-admin/edit.php | 5.74 ▲2.10 | 46.68 ▲10.73 |
Add New Post /wp-admin/post-new.php | 8.98 ▲2.01 | 101.30 ▼1,194.68 |
Media Library /wp-admin/upload.php | 5.40 ▲2.11 | 35.95 ▲10.30 |
GTC / GDPR§ /wp-admin/admin.php?page=kletterpartner-suche/kps-privacy.php | 5.37 | 32.65 |
Entries0 /wp-admin/admin.php?page=kletterpartner-suche/entries.php | 5.34 | 31.60 |
Design /wp-admin/admin.php?page=kletterpartner-suche/design.php | 5.37 | 34.66 |
Email Templates /wp-admin/admin.php?page=kletterpartner-suche/email.php | 5.37 | 34.12 |
Uninstallation /wp-admin/admin.php?page=kletterpartner-suche/uninstall.php | 5.37 | 34.57 |
Settings /wp-admin/admin.php?page=kletterpartner-suche/settings.php | 5.34 | 31.68 |
Climbing-Partner2 /wp-admin/admin.php?page=kletterpartner-suche/kps.php | 5.38 | 32.76 |
Server storage [IO: ▲2.87MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 153 new files
Database: 2 new tables, 19 new options
New tables |
---|
wp_kps_requirement |
wp_kps_entries |
New WordPress options |
---|
kps_mailFromCC |
kps_captchakeys |
kps_dsgvo |
kps_deleteNoEntryTime |
kps_kpsCounter |
kps_frontendPagination |
kps_captcha |
kps_userSettings |
kps_output |
kps_report |
... |
Browser metrics Passed 4 tests
Kletterpartner-Suche: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,964 ▲242 | 16.62 ▲0.67 | 9.77 ▲3.95 | 2.31 ▲0.04 |
Dashboard /wp-admin | 2,978 ▲117 | 6.15 ▲0.10 | 120.40 ▼13.22 | 156.64 ▼6.04 |
Posts /wp-admin/edit.php | 2,774 ▲86 | 3.36 ▲0.12 | 68.09 ▲3.30 | 141.15 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,810 ▲99 | 20.88 ▲0.15 | 426.32 ▼21.60 | 157.39 ▲2.79 |
Media Library /wp-admin/upload.php | 1,780 ▲85 | 5.54 ▲0.04 | 133.39 ▼10.91 | 186.37 ▼4.87 |
GTC / GDPR§ /wp-admin/admin.php?page=kletterpartner-suche/kps-privacy.php | 1,236 | 2.70 | 57.07 | 144.44 |
Entries0 /wp-admin/admin.php?page=kletterpartner-suche/entries.php | 1,463 | 2.70 | 55.48 | 136.75 |
Design /wp-admin/admin.php?page=kletterpartner-suche/design.php | 4,542 | 2.72 | 60.97 | 127.87 |
Email Templates /wp-admin/admin.php?page=kletterpartner-suche/email.php | 2,434 | 2.70 | 57.20 | 113.88 |
Uninstallation /wp-admin/admin.php?page=kletterpartner-suche/uninstall.php | 1,211 | 2.68 | 56.83 | 112.82 |
Settings /wp-admin/admin.php?page=kletterpartner-suche/settings.php | 2,692 | 2.89 | 55.67 | 126.93 |
Climbing-Partner2 /wp-admin/admin.php?page=kletterpartner-suche/kps.php | 2,185 | 3.28 | 69.11 | 150.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=kletterpartner-suche/entries.php
- > Notice in wp-content/plugins/kletterpartner-suche/admin/kps-entries.php+71
Undefined index: show
- 8 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=kletterpartner-suche/entries.php
- > Notice in wp-content/plugins/kletterpartner-suche/admin/kps-entries.php+485
Undefined variable: show
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=kletterpartner-suche/entries.php
- > Notice in wp-content/plugins/kletterpartner-suche/admin/kps-entries.php+934
Undefined variable: pagination
- > GET request to /wp-admin/admin.php?page=kletterpartner-suche/settings.php
- > Notice in wp-content/plugins/kletterpartner-suche/admin/kps-settings.php+1440
Undefined variable: checkedDeleteTimeEntry
- > GET request to /wp-admin/admin.php?page=kletterpartner-suche/settings.php
- > Notice in wp-content/plugins/kletterpartner-suche/admin/kps-settings.php+1444
Undefined variable: checkedDeleteTimeNoEntry
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=kletterpartner-suche/settings.php
- > Notice in wp-content/plugins/kletterpartner-suche/admin/kps-settings.php+300
Undefined variable: countAction
- 11 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=kletterpartner-suche/settings.php
- > Notice in wp-content/plugins/kletterpartner-suche/admin/kps-settings.php+300
Trying to get property 'isLockedBoth' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=kletterpartner-suche/settings.php
- > Notice in wp-content/plugins/kletterpartner-suche/admin/kps-settings.php+1319
Trying to access array offset on value of type bool
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
The following issues need your attention
- 33× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/kletterpartner-suche/functions/kps-privacy.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/kletterpartner-suche/classes/kps-delete.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/kletterpartner-suche/classes/kps-activation.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/kletterpartner-suche/admin/kps-install.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/kletterpartner-suche/classes/kps-entries.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/kletterpartner-suche/classes/kps-hash.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/kletterpartner-suche/admin/kps-email.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/kletterpartner-suche/frontend/kps-delete.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/kletterpartner-suche/functions/kps-mail-contents.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/kletterpartner-suche/functions/kps-frontend-pagination.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: wandern, klettern, climb, climbing, tekking...
kletterpartner-suche/kps.php 85% from 13 tests
"Kletterpartner-Suche" version 2.4.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("kletterpartner-suche.php" instead of "kps.php")
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
No dangerous file extensions were detected18,805 lines of code in 119 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 1,430 | 2,458 | 10,240 |
PO File | 6 | 2,498 | 3,551 | 7,468 |
CSS | 2 | 77 | 104 | 497 |
SVG | 75 | 0 | 0 | 307 |
Markdown | 1 | 36 | 0 | 165 |
JavaScript | 2 | 35 | 89 | 128 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 29.44 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 126 | |
▷ Static methods | 4 | 3.17% |
▷ Public methods | 116 | 92.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 7.94% |
Functions | 84 | |
▷ Named functions | 84 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/gfx/valid-html401-blue.png | 1.63KB | 1.42KB | ▼ 12.64% |
admin/gfx/invisible_badge.png | 4.85KB | 2.44KB | ▼ 49.65% |
admin/gfx/mysql.png | 8.83KB | 3.82KB | ▼ 56.76% |
admin/gfx/html5.png | 1.32KB | 0.96KB | ▼ 27.10% |
admin/gfx/php7.png | 1.50KB | 1.44KB | ▼ 3.85% |