Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼294.12ms] Passed 4 tests
Server-side resources used by Live Chat from ClickDesk - Live Chat - Help Desk Plugin for Websites
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.05 | 59.39 ▲0.25 |
Dashboard /wp-admin | 3.44 ▲0.03 | 33.86 ▼2.01 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 47.75 ▲10.08 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.07 | 100.88 ▼1,181.64 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 31.77 ▲6.93 |
ClickDesk Webchat /wp-admin/admin.php?page=clickdesk-submenu-page | 3.29 | 25.40 |
ClickDesk /wp-admin/admin.php?page=landing | 3.29 | 25.65 |
ClickDesk Live-Chat /wp-admin/admin.php?page=livily_dashboard | 3.27 | 28.30 |
Server storage [IO: ▲1.58MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Live Chat from ClickDesk - Live Chat - Help Desk Plugin for Websites: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,813 ▲91 | 15.86 ▼0.25 | 6.43 ▲0.23 | 2.35 ▼0.26 |
Dashboard /wp-admin | 2,921 ▲67 | 6.06 ▼0.10 | 117.77 ▼18.24 | 171.26 ▲3.56 |
Posts /wp-admin/edit.php | 2,715 ▲27 | 3.25 ▲0.19 | 66.94 ▲0.67 | 136.13 ▼11.23 |
Add New Post /wp-admin/post-new.php | 1,716 ▼46 | 16.93 ▼2.53 | 417.99 ▲29.97 | 158.88 ▲1.07 |
Media Library /wp-admin/upload.php | 1,727 ▲29 | 5.55 ▲0.06 | 130.29 ▼13.88 | 210.19 ▲22.38 |
ClickDesk Webchat /wp-admin/admin.php?page=clickdesk-submenu-page | 1,119 | 2.42 | 52.06 | 184.98 |
ClickDesk /wp-admin/admin.php?page=landing | 1,143 | 2.38 | 51.94 | 159.55 |
ClickDesk Live-Chat /wp-admin/admin.php?page=livily_dashboard | 1,504 | 7.53 | 199.88 | 139.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 0% 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
- > GET request to /wp-admin/admin.php?page=livily_dashboard
- > Notice in wp-content/plugins/clickdesk-live-support-chat-plugin/clickdesk.php+172
Undefined index: cdwidgetid
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 fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/clickdesk-live-support-chat-plugin/cd-authentication.php
- > /wp-content/plugins/clickdesk-live-support-chat-plugin/cd-landing.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/clickdesk-live-support-chat-plugin/clickdesk.php:99
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=livily_dashboard
- > Security (severe) in unknown
https://my.clickdesk.com/register 163 Blocked autofocusing on a element in a cross-origin subframe.
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Chat Window Templates), #2 (Live support your visitors even on mobile!), #3 (How ClickDesk works), #4 (Web Chat Interface), #5 (Real-time Website Visitors Information), #6 (Visitor Information List View), #7 (Social Toolbar), #8 (Reports), #9 (Customizable Live chat forms (Online/ Offline)), #10 (Customized chat themes), #11 (Add Operator), #12 (Department added and plugin installed successfully)
clickdesk-live-support-chat-plugin/clickdesk.php 85% from 13 tests
The entry point to "Live Chat from ClickDesk - Live Chat - Help Desk Plugin for Websites" version 4.4 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("clickdesk-live-support-chat-plugin.php" instead of "clickdesk.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 224 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin149 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 85 | 46 | 145 |
JavaScript | 1 | 3 | 0 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 1.46MB with 0.75MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 54.00KB | 54.43KB | 0.00% |
screenshot-5.png | 367.27KB | 141.06KB | ▼ 61.59% |
screenshot-6.png | 147.98KB | 55.95KB | ▼ 62.19% |
screenshot-2.png | 115.54KB | 39.96KB | ▼ 65.41% |
screenshot-9.png | 40.65KB | 12.87KB | ▼ 68.34% |