Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.37ms] Passed 4 tests
This is a short check of server-side resources used by ZupportDesk Live Chat Plugin (Free & Paid Plans)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.66 ▼1.61 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.54 ▼9.40 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.12 ▼5.59 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.38 ▼4.89 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.93 ▲1.60 |
Server storage [IO: ▲1.85MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 13 new options
New WordPress options |
---|
zupportdesk_userId |
widget_recent-posts |
zupportdesk_email |
theysaidso_admin_options |
zupportdesk_widgetId |
zupportdesk_companyList |
db_upgraded |
widget_recent-comments |
zupportdesk_password |
zupportdesk_selectedCompanyId |
... |
Browser metrics Passed 4 tests
A check of browser resources used by ZupportDesk Live Chat Plugin (Free & Paid Plans)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲99 | 13.46 ▼1.28 | 1.93 ▼0.24 | 43.87 ▼6.37 |
Dashboard /wp-admin | 2,237 ▲49 | 5.07 ▲0.20 | 105.31 ▲2.03 | 81.24 ▲42.63 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.36 ▲0.34 | 37.71 ▼0.99 | 35.22 ▲1.52 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 23.29 ▲0.18 | 661.02 ▼17.36 | 36.80 ▼22.50 |
Media Library /wp-admin/upload.php | 1,416 ▲31 | 4.44 ▲0.24 | 104.93 ▲4.01 | 70.96 ▲24.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/free-live-chat-support/zupport.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (36 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add images for these screenshots: #1 (Chat window on your website), #2 (ZupportDesk reports), #3 (ZupportDesk Live Chat Dashboard)
free-live-chat-support/zupport.php 92% from 13 tests
"ZupportDesk Live Chat Plugin (Free & Paid Plans)" version 2.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("free-live-chat-support.php" instead of "zupport.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected478 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 43 | 21 | 317 |
CSS | 1 | 2 | 1 | 95 |
JavaScript | 1 | 6 | 4 | 66 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 7 | |
▷ Named functions | 7 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
13 PNG files occupy 1.30MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/pluging_login_back.png | 797.42KB | 505.78KB | ▼ 36.57% |
img/font-awesome_4-6-3_times_256_0_471616_none.png | 5.23KB | 2.46KB | ▼ 52.93% |
img/user.png | 2.84KB | 3.11KB | 0.00% |
img/font-awesome_4-6-3_unlock-alt_256_0_222222_none.png | 2.24KB | 2.23KB | 0.48% |
img/cursor.png | 1.01KB | 0.80KB | ▼ 20.47% |