Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/yalst-live-chat/plugin_files/widget/yalst-widget.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; yalst_widget has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼48.72ms] Passed 4 tests
An overview of server-side resources used by yalst Live Chat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.45 ▼37.95 |
Dashboard /wp-admin | 2.08 ▼1.22 | 5.72 ▼40.64 |
Posts /wp-admin/edit.php | 2.08 ▼1.27 | 5.50 ▼38.97 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 6.14 ▼77.31 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.09 ▼30.49 |
Integration /wp-admin/admin.php?page=yalst_integration | 2.08 | 6.53 |
Registration /wp-admin/admin.php?page=yalst_registration | 2.08 | 6.67 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_live_chat |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for yalst Live Chat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.16 ▼1.49 | 1.76 ▼0.02 | 42.03 ▼3.05 |
Dashboard /wp-admin | 2,236 ▲48 | 4.91 ▼0.95 | 102.67 ▼1.24 | 70.33 ▲31.84 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.09 ▲0.06 | 39.64 ▲2.85 | 32.73 ▼3.52 |
Add New Post /wp-admin/post-new.php | 1,702 ▲169 | 24.78 ▲1.58 | 684.21 ▲8.63 | 58.77 ▼4.58 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.28 ▲0.10 | 113.12 ▲13.63 | 44.61 ▲3.07 |
Integration /wp-admin/admin.php?page=yalst_integration | 1,247 | 2.07 | 33.05 | 31.07 |
Registration /wp-admin/admin.php?page=yalst_registration | 1,105 | 2.25 | 29.86 | 24.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/yalst-live-chat/plugin_files/widget/yalst-widget.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; yalst_widget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_live_chat
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=yalst_registration
- > Deprecated in wp-content/plugins/yalst-live-chat/plugin_files/widget/yalst-widget.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; yalst_widget has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=yalst_registration
- > Deprecated in wp-content/plugins/yalst-live-chat/plugin_files/widget/yalst-widget.php+71
Function create_function() is deprecated
- > GET request to /wp-admin/admin.php?page=yalst_integration
- > Notice in wp-content/plugins/yalst-live-chat/plugin_files/classes/IntegrationHelper.class.php+10
Undefined index: yalstReiterIntegrationInput
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
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/yalst-live-chat/plugin_files/widget/yalst-widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/yalst-live-chat/plugin_files/widget/yalst-widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Wordpress-Plugin: Eine Einstellungsseite mit Einbindungscode. (Wordpress plugin: A setting page with integration code.)), #2 (Operator-Konsole: Der Arbeitsplatz der Operatoren mit Live-Besucher-Monitor. (Operator Console: The workplace of operators with live visitors monitor.)), #3 (Chatfenster: Das yalst-Chatfenster auf Besucherseite mit minimalen Anpassungen. (Chat window: The yalst chat window on the visitor side with minimal adjustments.)), #4 (Klickpfadstatistik: Eine von mehr als 60 grafisch aufbereiteten und exportierbaren Liveauswertungen und -statistiken. (Clickstream statistics: One of over 60 graphically prepared and exportable Live evaluations and statistics.)), #5 (Arbeitszeitstatistik: Eine von mehr als 60 grafisch aufbereiteten und exportierbaren Liveauswertungen und -statistiken. (Working time statistics: One of over 60 graphically prepared and exportable Live evaluations and statistics.))
- Tags: There are too many tags (21 tag instead of maximum 10)
yalst-live-chat/wp-yalst-live-chat-software.php 69% from 13 tests
The main file in "yalst Live Chat" v. 1.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
- Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: The principal plugin file should be the same as the plugin slug ("yalst-live-chat.php" instead of "wp-yalst-live-chat-software.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
There were no executable files found in this plugin1,167 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 138 | 43 | 582 |
PO File | 2 | 82 | 142 | 275 |
CSS | 1 | 43 | 1 | 210 |
JavaScript | 1 | 8 | 3 | 100 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 5.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 1 | 14.29% |
▷ Concrete classes | 6 | 85.71% |
▷ Final classes | 1 | 16.67% |
Methods | 24 | |
▷ Static methods | 3 | 12.50% |
▷ Public methods | 19 | 79.17% |
▷ Protected methods | 3 | 12.50% |
▷ Private methods | 2 | 8.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
12 PNG files occupy 0.41MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugin_files/images/tabchat.png | 8.01KB | 2.06KB | ▼ 74.28% |
screenshot-1.png | 43.36KB | 19.95KB | ▼ 53.98% |
plugin_files/images/reiter.png | 4.87KB | 1.02KB | ▼ 78.98% |
screenshot-2.png | 169.49KB | 49.10KB | ▼ 71.03% |
plugin_files/images/widget.png | 6.90KB | 1.57KB | ▼ 77.20% |