Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.82ms] Passed 4 tests
This is a short check of server-side resources used by Live Chat
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.50 ▲2.16 |
Dashboard /wp-admin | 3.35 ▲0.01 | 49.02 ▼14.85 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.38 ▼1.17 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.94 ▼12.26 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.59 ▲1.01 |
IMsupporting Chat /wp-admin/options-general.php?page=imsupportingchat | 3.22 | 31.68 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 23 new options
New WordPress options |
---|
ims_topcss |
widget_recent-comments |
ims_password |
ims_popupimage |
widget_theysaidso_widget |
widget_recent-posts |
ims_fixed |
ims_position |
ims_popupbutton |
ims_popuptop |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Live Chat
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲80 | 14.75 ▲0.39 | 2.10 ▲0.04 | 47.07 ▲6.91 |
Dashboard /wp-admin | 2,199 ▲19 | 5.64 ▼0.01 | 87.66 ▼12.95 | 36.84 ▼0.75 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.03 | 35.50 ▼3.70 | 35.17 ▼0.83 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.54 ▲0.46 | 643.45 ▼35.89 | 49.70 ▼4.56 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.26 ▲0.05 | 97.63 ▼6.41 | 41.02 ▼8.13 |
IMsupporting Chat /wp-admin/options-general.php?page=imsupportingchat | 976 | 2.06 | 24.75 | 56.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=imsupportingchat
- > Notice in wp-content/plugins/imsupporting/imsupporting-admin.php+168
Undefined variable: adddetails
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 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/imsupporting/imsupporting-screen-display.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/imsupporting/imsupporting-admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/imsupporting/imsupporting-live-chat-plugin.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (20 tag instead of maximum 10)
imsupporting/imsupporting-live-chat-plugin.php 92% from 13 tests
Analyzing the main PHP file in "Live Chat" version 4.0.0.3
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("imsupporting.php" instead of "imsupporting-live-chat-plugin.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
Success! There were no dangerous files found in this plugin324 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 60 | 48 | 324 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 6 | |
▷ Named functions | 6 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.40MB with 0.36MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner-772x250.png | 407.29KB | 42.24KB | ▼ 89.63% |