Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.58MB] [CPU: ▼5.01ms] Passed 4 tests
Server-side resources used by Webling
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.38 | 47.89 ▲3.61 |
Dashboard /wp-admin | 3.96 ▲0.62 | 54.65 ▼9.04 |
Posts /wp-admin/edit.php | 4.02 ▲0.66 | 51.23 ▲0.66 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 92.24 ▼15.25 |
Media Library /wp-admin/upload.php | 3.89 ▲0.66 | 43.87 ▲9.42 |
Anmeldeformulare /wp-admin/admin.php?page=webling_page_main | 3.80 | 38.86 |
Anmeldeformular erstellen /wp-admin/admin.php?page=webling_page_form_edit | 3.83 | 40.95 |
Mitgliederlisten /wp-admin/admin.php?page=webling_page_memberlist_list | 3.80 | 39.52 |
Einstellungen /wp-admin/admin.php?page=webling_page_settings | 3.80 | 37.96 |
Mitgliederliste erstellen /wp-admin/admin.php?page=webling_page_memberlist_edit | 3.83 | 36.72 |
Server storage [IO: ▲1.54MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 102 new files
Database: 4 new tables, 8 new options
New tables |
---|
wp_webling_forms |
wp_webling_cache |
wp_webling_memberlists |
wp_webling_form_fields |
New WordPress options |
---|
webling-db-version |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
webling-options |
Browser metrics Passed 4 tests
Webling: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲55 | 14.28 ▲0.12 | 1.90 ▼0.09 | 37.67 ▼5.73 |
Dashboard /wp-admin | 2,227 ▲50 | 5.53 ▼0.15 | 87.05 ▼11.10 | 42.76 ▲1.22 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.01 ▼0.02 | 34.72 ▼2.67 | 34.02 ▼2.38 |
Add New Post /wp-admin/post-new.php | 1,554 ▲26 | 22.97 ▼0.33 | 644.39 ▼24.45 | 54.27 ▲5.66 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.18 ▲0.01 | 97.70 ▼7.83 | 41.01 ▼7.60 |
Anmeldeformulare /wp-admin/admin.php?page=webling_page_main | 972 | 1.90 | 28.73 | 28.84 |
Anmeldeformular erstellen /wp-admin/admin.php?page=webling_page_form_edit | 829 | 1.77 | 28.02 | 25.77 |
Mitgliederlisten /wp-admin/admin.php?page=webling_page_memberlist_list | 969 | 1.92 | 28.89 | 28.11 |
Einstellungen /wp-admin/admin.php?page=webling_page_settings | 911 | 1.91 | 23.10 | 29.87 |
Mitgliederliste erstellen /wp-admin/admin.php?page=webling_page_memberlist_edit | 829 | 1.76 | 23.68 | 25.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie tables were found after uninstall: 4 tables
- wp_webling_form_fields
- wp_webling_memberlists
- wp_webling_forms
- wp_webling_cache
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/webling/src/admin/admin.php
- > /wp-content/plugins/webling/webling.php
- 32× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/webling/src/admin/errors/no_connection.html.php:1
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/webling/vendor/usystems/webling-api-php/tests/Webling/API/../../../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/webling/vendor/usystems/webling-api-php/tests/Webling/API/CurlHttpTest.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/webling/src/admin/errors/no_read_access.html.php:1
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/webling/vendor/usystems/webling-api-php/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/webling/vendor/usystems/webling-api-php/examples/image_proxy.php on line 9
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/webling/vendor/usystems/webling-api-php/tests/Webling/API/../../../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/webling/vendor/usystems/webling-api-php/tests/Webling/API/CertificateTest.php on line 4
- > PHP Fatal error
Uncaught Error: Interface 'Webling\\CacheAdapters\\ICacheAdapter' not found in wp-content/plugins/webling/vendor/usystems/webling-api-php/src/Webling/CacheAdapters/FileCacheAdapter.php:7
- > PHP Warning
require_once(wp-content/plugins/webling/vendor/usystems/webling-api-php/tests/Webling/Cache/../../../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/webling/vendor/usystems/webling-api-php/tests/Webling/Cache/FileCacheTest.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Webling\\API\\CurlHttp' not found in wp-content/plugins/webling/vendor/usystems/webling-api-php/tests/Webling/API/Mocks/CurlHttpMock.php:9
- > PHP Fatal error
Uncaught Error: Interface 'Webling\\API\\IResponse' not found in wp-content/plugins/webling/vendor/usystems/webling-api-php/src/Webling/API/Response.php:5
- > PHP Warning
require_once(wp-content/plugins/webling/vendor/usystems/webling-api-php/tests/Webling/Cache/../../../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/webling/vendor/usystems/webling-api-php/tests/Webling/Cache/CacheTest.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
8 plugin tags: anmeldung, webling, verein, vereinsverwaltung, mitglieder...
webling/webling.php Passed 13 tests
The main file in "Webling" v. 3.8.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
80 characters long description:
Mitgliederdaten aus der Vereinssoftware webling.eu auf deiner Webseite anzeigen.
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
Good job! No executable or dangerous file extensions detected29,338 lines of code in 87 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 5,160 | 3,977 | 20,757 |
PHP | 64 | 1,022 | 985 | 5,283 |
CSS | 8 | 125 | 130 | 2,587 |
HTML | 1 | 96 | 16 | 447 |
JSON | 4 | 0 | 0 | 152 |
Markdown | 1 | 32 | 0 | 70 |
YAML | 1 | 4 | 0 | 21 |
XML | 1 | 0 | 0 | 14 |
Bourne Shell | 2 | 4 | 2 | 7 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 15.49 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 31 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 31 | 100.00% |
▷ Final classes | 2 | 6.45% |
Methods | 272 | |
▷ Static methods | 45 | 16.54% |
▷ Public methods | 233 | 85.66% |
▷ Protected methods | 21 | 7.72% |
▷ Private methods | 18 | 6.62% |
Functions | 29 | |
▷ Named functions | 26 | 89.66% |
▷ Anonymous functions | 3 | 10.34% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/jquery-ui-1.12.1.custom/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
js/jquery-ui-1.12.1.custom/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
js/jquery-ui-1.12.1.custom/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
js/jquery-ui-1.12.1.custom/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
js/jquery-ui-1.12.1.custom/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |