Click to Chat 4.42

Does Click to Chat work with WordPress 7.0.2 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: 138.87 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.2
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=e4989c77d0
Aspect after-activation
HTTP status 200
Load time 0.967 s
Memory usage 4.1 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.883 s
Memory usage 4.1 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.778 s
Memory usage 4.13 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.616 s
Memory usage 4.03 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.564 s
Memory usage 4.01 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.549 s
Memory usage 4.27 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.478 s
Memory usage 6.72 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.841 s
Memory usage 6.71 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.665 s0.639 s-0.026 s3.93 MiB4.08 MiB+ 153.95 KiB
/wp-admin/edit.php0.544 s0.555 s+0.011 s3.98 MiB4.13 MiB+ 153.63 KiB
/wp-admin/post-new.php2.072 s1.816 s-0.256 s6.56 MiB6.72 MiB+ 166.8 KiB
/wp-admin/upload.php0.907 s0.729 s-0.178 s3.89 MiB4.02 MiB+ 136.54 KiB
/wp-admin/options-writing.php0.544 s0.963 s+0.419 s3.86 MiB4 MiB+ 140.53 KiB
/wp-admin/media-new.php0.580 s0.613 s+0.033 s3.85 MiB4 MiB+ 148.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.534 s0.537 s+0.003 s3.86 MiB4.02 MiB+ 153.9 KiB
/wp-admin/post-new.php?post_type=page1.702 s1.920 s+0.218 s6.55 MiB6.71 MiB+ 162.32 KiB
/wp-admin/options-discussion.php0.636 s0.692 s+0.056 s3.86 MiB4 MiB+ 137.03 KiB
/wp-admin/edit-comments.php0.566 s0.548 s-0.018 s3.89 MiB4.02 MiB+ 136.53 KiB
/0.314 s0.225 s-0.089 s4.23 MiB4.26 MiB+ 37.63 KiB
Average 0.824 s0.840 s+0.016 s4.41 MiB4.54 MiB+ 138.87 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
PHP44.9%24,2738,512186
JavaScript30.4%16,4706,450120
CSS24.6%13,3061,08754
SVG0.1%5004
Total 54,099 16,049 364

PHP Code Analysis | More results »

Lines of code 20,351
Total complexity 2,946
Median class complexity 20.0
Median method complexity 2.0
Most complex class HT_CTC_Chat
Most complex function HT_CTC_Chat::chat()
Classes 89
Methods 585
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 4

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