Click to Chat 4.39

Does Click to Chat work with WordPress 7.0 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 121.99 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version7.0
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 700,000+
WordPress.org page https://wordpress.org/plugins/click-to-chat-for-whatsapp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=click-to-chat-for-whatsapp%2Fclick-to-chat.php&plugin_status=all&paged=1&s&_wpnonce=f3f2e4d110
Aspect after-activation
HTTP status 200
Load time 0.934 s
Memory usage 4.04 MiB
JS errors None
Resource errors None

Click to Chat

Page screenshot: Click to Chat
URL /wp-admin/admin.php?page=click-to-chat
Aspect menu-item
HTTP status 200
Load time 0.826 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

Click to Chat → Greetings

Page screenshot: Click to Chat → Greetings
URL /wp-admin/admin.php?page=click-to-chat-greetings
Aspect menu-item
HTTP status 200
Load time 1.696 s
Memory usage 4.11 MiB
JS errors None
Resource errors None

Click to Chat → Customize

Page screenshot: Click to Chat → Customize
URL /wp-admin/admin.php?page=click-to-chat-customize-styles
Aspect menu-item
HTTP status 200
Load time 0.567 s
Memory usage 4 MiB
JS errors None
Resource errors None

Click to Chat → Other Settings

Page screenshot: Click to Chat → Other Settings
URL /wp-admin/admin.php?page=click-to-chat-other-settings
Aspect menu-item
HTTP status 200
Load time 1.022 s
Memory usage 4 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.269 s
Memory usage 4.28 MiB
JS errors None
Resource errors None

Add Post ‹ Test site — WordPress

Page screenshot: Add Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 1.727 s
Memory usage 6.7 MiB
JS errors None
Resource errors None

Add Page ‹ Test site — WordPress

Page screenshot: Add Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 1.637 s
Memory usage 6.69 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.627 s0.924 s+0.297 s3.93 MiB4.06 MiB+ 134.91 KiB
/wp-admin/edit.php0.513 s0.528 s+0.015 s3.98 MiB4.11 MiB+ 134.61 KiB
/wp-admin/post-new.php1.990 s2.134 s+0.144 s6.56 MiB6.7 MiB+ 146.83 KiB
/wp-admin/upload.php0.722 s0.698 s-0.024 s3.89 MiB4 MiB+ 117.51 KiB
/wp-admin/options-writing.php1.035 s0.528 s-0.507 s3.86 MiB3.98 MiB+ 121.5 KiB
/wp-admin/media-new.php0.659 s0.512 s-0.147 s3.85 MiB3.98 MiB+ 129.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.503 s0.787 s+0.284 s3.86 MiB4 MiB+ 134.87 KiB
/wp-admin/post-new.php?post_type=page1.761 s1.613 s-0.148 s6.55 MiB6.69 MiB+ 142.35 KiB
/wp-admin/options-discussion.php0.785 s0.544 s-0.241 s3.86 MiB3.98 MiB+ 118 KiB
/wp-admin/edit-comments.php0.541 s0.865 s+0.324 s3.89 MiB4 MiB+ 117.5 KiB
/0.269 s0.244 s-0.025 s4.23 MiB4.27 MiB+ 44.12 KiB
Average 0.855 s0.852 s-0.003 s4.41 MiB4.52 MiB+ 121.99 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP47.2%14,8764,767148
JavaScript27.7%8,7362,33221
CSS24.9%7,85515916
SVG0.2%5004
Total 31,517 7,258 189

PHP Code Analysis | More results »

Lines of code 11,970
Total complexity 2,144
Median class complexity 24.0
Median method complexity 2.0
Most complex class HT_CTC_Chat
Most complex function HT_CTC_Chat::chat()
Classes 53
Methods 319
Functions 16

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 18

Meta Boxes

{
    "post": {
        "ht_ctc_settings_meta_box": {
            "title": "Click to Chat",
            "context": "side"
        }
    },
    "page": {
        "ht_ctc_settings_meta_box": {
            "title": "Click to Chat",
            "context": "side"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Click to Chat Admin Menus and Meta Boxes