Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.25ms] Passed 4 tests
Server-side resources used by Tiledesk — Live Chat and Chatbots Integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.26 ▲6.43 |
Dashboard /wp-admin | 3.34 ▲0.04 | 43.65 ▼0.20 |
Posts /wp-admin/edit.php | 3.40 ▲0.03 | 43.68 ▼5.78 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.05 | 81.20 ▼1.43 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 40.68 ▲7.65 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
tiledesk-async-load |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tiledesk — Live Chat and Chatbots Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.36 ▲0.01 | 2.46 ▲0.89 | 44.87 ▲1.85 |
Dashboard /wp-admin | 2,220 ▲43 | 5.60 ▼0.07 | 81.68 ▼6.62 | 84.42 ▲44.57 |
Posts /wp-admin/edit.php | 2,125 ▲22 | 2.02 ▼0.01 | 34.80 ▼8.46 | 32.54 ▼6.24 |
Add New Post /wp-admin/post-new.php | 1,700 ▲163 | 22.39 ▲4.26 | 700.90 ▲51.12 | 55.82 ▼20.12 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.25 ▼0.02 | 100.46 ▲6.80 | 71.00 ▲27.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- tiledesk-async-load
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/tiledesk-live-chat/templates/options.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tiledesk-live-chat/tiledesk-live-chat.php:218
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/tiledesk-live-chat/templates/footer-admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_json_encode() in wp-content/plugins/tiledesk-live-chat/templates/footer-embed.php:2
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots need descriptions #10, #11, #9 in tiledesk-live-chat/assets to your readme.txt
tiledesk-live-chat/tiledesk-live-chat.php Passed 13 tests
The entry point to "Tiledesk — Live Chat and Chatbots Integration" version 1.0.8 is a PHP file that has certain tags in its header comment area
109 characters long description:
Add Tiledesk Live Chat into your site allowing you to build complex conversational bots in just a few clicks.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin657 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 67 | 12 | 364 |
PHP | 4 | 43 | 55 | 181 |
JavaScript | 1 | 13 | 30 | 112 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 3 | 23.08% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 1 | 11.11% |
▷ Class constants | 8 | 88.89% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.13MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
media/img/color-pallete.png | 75.64KB | 34.31KB | ▼ 54.64% |
media/img/checkmark.png | 0.43KB | 0.28KB | ▼ 34.31% |
media/img/blocks-bg.png | 7.75KB | 8.95KB | 0.00% |
media/img/icon.png | 0.15KB | 0.13KB | ▼ 15.82% |
media/img/brand-logo.png | 1.29KB | 0.74KB | ▼ 43.17% |