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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.45ms] Passed 4 tests
Analyzing server-side resources used by Tidio – Live Chat & AI Chatbots
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.40 ▲0.04 |
Dashboard /wp-admin | 3.34 ▲0.04 | 50.43 ▲0.25 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.63 ▲0.28 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.62 ▼6.35 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.58 ▲1.98 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 69 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
tidio-async-load |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Tidio – Live Chat & AI Chatbots
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲167 | 14.28 ▼0.09 | 2.00 ▲0.21 | 43.37 ▼0.08 |
Dashboard /wp-admin | 2,310 ▲133 | 5.59 ▼0.11 | 95.61 ▼3.31 | 46.00 ▲4.03 |
Posts /wp-admin/edit.php | 2,214 ▲114 | 2.18 ▲0.18 | 37.32 ▼0.25 | 36.71 ▲2.54 |
Add New Post /wp-admin/post-new.php | 1,615 ▲87 | 23.10 ▲0.08 | 666.44 ▼5.19 | 62.15 ▲4.27 |
Media Library /wp-admin/upload.php | 1,517 ▲117 | 4.19 ▲0.02 | 110.50 ▲11.15 | 47.71 ▲3.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- tidio-async-load
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 46× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/tidio-live-chat/src/Container.php
- > /wp-content/plugins/tidio-live-chat/src/WooCommerceSdk/WooCommerceApiV3ClientFactory.php
- > /wp-content/plugins/tidio-live-chat/src/TidioSdk/Exception/CannotIntegrateWithProjectException.php
- > /wp-content/plugins/tidio-live-chat/src/Http/Exception/HttpClientException.php
- > /wp-content/plugins/tidio-live-chat/config.php
- > /wp-content/plugins/tidio-live-chat/src/Admin/Notice/Views/NoticeTemplate.php
- > /wp-content/plugins/tidio-live-chat/src/TidioSdk/Dto/ApiCredentialsDto.php
- > /wp-content/plugins/tidio-live-chat/src/Encryption/Service/EncryptionServiceFactory.php
- > /wp-content/plugins/tidio-live-chat/src/TidioSdk/Exception/CannotRetrieveAccessTokensException.php
- > /wp-content/plugins/tidio-live-chat/src/Encryption/EncryptionService.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: chat, chatbot, livechat, mailchimp, zendesk...
tidio-live-chat/tidio-elements.php 92% from 13 tests
The main PHP script in "Tidio – Live Chat & AI Chatbots" version 6.0.11 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("tidio-live-chat.php" instead of "tidio-elements.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin2,890 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 56 | 699 | 813 | 2,864 |
JSON | 2 | 0 | 0 | 18 |
CSS | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 4.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 20 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 43 | |
▷ Abstract classes | 1 | 2.33% |
▷ Concrete classes | 42 | 97.67% |
▷ Final classes | 1 | 2.38% |
Methods | 215 | |
▷ Static methods | 47 | 21.86% |
▷ Public methods | 162 | 75.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 53 | 24.65% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 41 | |
▷ Global constants | 2 | 4.88% |
▷ Class constants | 39 | 95.12% |
▷ Public constants | 39 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin