Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲1.02MB] [CPU: ▼1.15ms] 75% from 4 tests
This is a short check of server-side resources used by Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, Email, SMS, Call Button – Chaty
Please have a look at the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 1,976.19ms on /wp-admin/admin.php?page=recommended-chaty-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.32 ▲0.85 | 39.98 ▲0.23 |
Dashboard /wp-admin | 4.44 ▲1.09 | 50.95 ▼7.73 |
Posts /wp-admin/edit.php | 4.50 ▲1.13 | 55.97 ▲5.29 |
Add New Post /wp-admin/post-new.php | 6.96 ▲1.07 | 89.88 ▼2.39 |
Media Library /wp-admin/upload.php | 4.31 ▲1.07 | 47.31 ▲14.71 |
Contact form leads /wp-admin/admin.php?page=chaty-contact-form-feed | 4.61 | 59.79 |
+ Create New Widget /wp-admin/admin.php?page=chaty-upgrade | 4.14 | 31.85 |
Recommended Plugins /wp-admin/admin.php?page=recommended-chaty-plugins | 4.70 | 1,976.19 |
Dashboard /wp-admin/admin.php?page=chaty-app | 4.30 | 49.69 |
Widget Analytics /wp-admin/admin.php?page=widget-analytics | 4.64 | 47.56 |
Upgrade to Pro ⭐️ /wp-admin/admin.php?page=chaty-app-upgrade | 4.64 | 46.66 |
Server storage [IO: ▲5.35MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 195 new files
Database: 1 new table, 21 new options
New tables |
---|
wp_chaty_contact_form_leads |
New WordPress options |
---|
cht_social_whatsapp |
cht_color |
can_compress_scripts |
chaty_show_review_box_after |
cht_cta |
cht_position |
widget_icon |
cht_devices |
cht_numb_slug |
db_upgraded |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, Email, SMS, Call Button – Chaty
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲98 | 14.75 ▲0.03 | 1.61 ▼0.08 | 37.22 ▼4.64 |
Dashboard /wp-admin | 2,253 ▲76 | 5.57 ▲0.02 | 95.80 ▼5.89 | 70.34 ▲21.42 |
Posts /wp-admin/edit.php | 2,167 ▲67 | 1.98 ▼0.05 | 33.82 ▼8.49 | 34.55 ▼5.07 |
Add New Post /wp-admin/post-new.php | 1,730 ▲204 | 22.00 ▼1.37 | 785.33 ▲108.99 | 59.59 ▼8.84 |
Media Library /wp-admin/upload.php | 1,470 ▲70 | 4.18 ▼0.06 | 95.29 ▼12.79 | 73.65 ▲29.59 |
Contact form leads /wp-admin/admin.php?page=chaty-contact-form-feed | 986 | 1.82 | 34.09 | 89.61 |
+ Create New Widget /wp-admin/admin.php?page=chaty-upgrade | 1,697 | 1.79 | 28.44 | 64.21 |
Recommended Plugins /wp-admin/admin.php?page=recommended-chaty-plugins | 1,213 | 2.08 | 32.80 | 46.13 |
Dashboard /wp-admin/admin.php?page=chaty-app | 1,700 | 1.77 | 25.84 | 40.65 |
Widget Analytics /wp-admin/admin.php?page=widget-analytics | 1,057 | 1.80 | 27.00 | 43.94 |
Upgrade to Pro ⭐️ /wp-admin/admin.php?page=chaty-app-upgrade | 5,017 | 2.45 | 59.31 | 95.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_chaty_contact_form_leads
- Zombie WordPress options were found after uninstall: 21 options
- chaty_intro_popup
- can_compress_scripts
- cht_devices
- cht_color
- widget_theysaidso_widget
- cht_numb_slug
- chaty_show_review_box_after
- chaty_show_upgrade_box_after
- widget_icon
- cht_social_phone
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/chaty/views/admin/custom-tags.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
chaty/cht-icons.php 85% from 13 tests
The primary PHP file in "Floating Chat Widget: Contact Chat Icons, Telegram Chat, Line Messenger, WeChat, Email, SMS, Call Button – Chaty" version 3.1.8 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 148 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("chaty.php" instead of "cht-icons.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin43,347 lines of code in 117 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 16,359 |
PHP | 28 | 966 | 916 | 10,884 |
JavaScript | 37 | 1,036 | 929 | 7,476 |
CSS | 16 | 456 | 659 | 6,689 |
SVG | 13 | 5 | 4 | 1,133 |
Sass | 19 | 127 | 3 | 806 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
These items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 144)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 69.43 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 326.00 |
Average method complexity | 7.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 144.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 4 | 5.33% |
▷ Public methods | 71 | 94.67% |
▷ Protected methods | 1 | 1.33% |
▷ Private methods | 3 | 4.00% |
Functions | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
46 compressed PNG files occupy 0.61MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/first-widget.png | 9.96KB | 4.33KB | ▼ 56.47% |
admin/assets/images/basic-price-bg.png | 8.90KB | 9.55KB | 0.00% |
admin/assets/images/pro-chat.png | 1.69KB | 1.73KB | 0.00% |
admin/assets/images/move-icon.png | 0.53KB | 0.54KB | 0.00% |
admin/assets/images/agent-image.png | 12.14KB | 12.21KB | 0.00% |