Click to Chat 4.40

Does Click to Chat work with WordPress 7.0.1 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.1
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=698a80ef79
Aspect after-activation
HTTP status 200
Load time 0.894 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.836 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.606 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.589 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 0.535 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.250 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.711 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.343 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.632 s0.892 s+0.260 s3.93 MiB4.06 MiB+ 134.91 KiB
/wp-admin/edit.php0.526 s0.539 s+0.013 s3.98 MiB4.11 MiB+ 134.6 KiB
/wp-admin/post-new.php2.001 s1.832 s-0.169 s6.56 MiB6.7 MiB+ 146.83 KiB
/wp-admin/upload.php0.740 s0.671 s-0.069 s3.89 MiB4 MiB+ 117.51 KiB
/wp-admin/options-writing.php0.524 s0.526 s+0.002 s3.86 MiB3.98 MiB+ 121.5 KiB
/wp-admin/media-new.php0.572 s0.968 s+0.396 s3.85 MiB3.98 MiB+ 129.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.496 s0.516 s+0.020 s3.86 MiB4 MiB+ 134.87 KiB
/wp-admin/post-new.php?post_type=page1.809 s1.413 s-0.396 s6.55 MiB6.69 MiB+ 142.35 KiB
/wp-admin/options-discussion.php0.758 s0.651 s-0.107 s3.86 MiB3.98 MiB+ 118 KiB
/wp-admin/edit-comments.php0.527 s0.500 s-0.027 s3.89 MiB4 MiB+ 117.5 KiB
/0.284 s0.233 s-0.051 s4.23 MiB4.27 MiB+ 44.12 KiB
Average 0.806 s0.795 s-0.012 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
PHP46.4%14,4214,764148
JavaScript28.1%8,7302,33121
CSS25.4%7,89416017
SVG0.2%5004
Total 31,095 7,255 190

PHP Code Analysis | More results »

Lines of code 11,615
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