Telegram Bot & Channel 3.4.2

Does Telegram Bot & Channel work with WordPress 5.6.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
19PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 80.02 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 version5.6.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 700+
WordPress.org page https://wordpress.org/plugins/telegram-bot/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 10

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=telegram-bot%2Ftelegram-bot.php&plugin_status=all&paged=1&s&_wpnonce=58d24ab2be
Aspect after-activation
HTTP status 200
Load time 0.283 s
Memory usage 2.84 MiB
JS errors None
Resource errors None

Telegram

Page screenshot: Telegram
URL /wp-admin/admin.php?page=telegram_main
Aspect menu-item
HTTP status 200
Load time 0.155 s
Memory usage 2.77 MiB
JS errors None
Resource errors None

Telegram → Users

Page screenshot: Telegram → Users
URL /wp-admin/edit.php?post_type=telegram_subscribers
Aspect menu-item
HTTP status 200
Load time 0.158 s
Memory usage 2.86 MiB
JS errors None
Resource errors None

Telegram → Groups

Page screenshot: Telegram → Groups
URL /wp-admin/edit.php?post_type=telegram_groups
Aspect menu-item
HTTP status 200
Load time 0.157 s
Memory usage 2.86 MiB
JS errors None
Resource errors None

Telegram → Send a message

Page screenshot: Telegram → Send a message
URL /wp-admin/admin.php?page=telegram_send
Aspect menu-item
HTTP status 200
Load time 0.133 s
Memory usage 2.79 MiB
JS errors None
Resource errors None

Telegram → Responders

Page screenshot: Telegram → Responders
URL /wp-admin/edit.php?post_type=telegram_commands
Aspect menu-item
HTTP status 200
Load time 0.164 s
Memory usage 2.86 MiB
JS errors None
Resource errors None

Telegram → Settings

Page screenshot: Telegram → Settings
URL /wp-admin/admin.php?page=telegram_settings
Aspect menu-item
HTTP status 200
Load time 0.177 s
Memory usage 2.84 MiB
JS errors None
Resource errors None

Telegram → Log

Page screenshot: Telegram → Log
URL /wp-admin/admin.php?page=telegram_log
Aspect menu-item
HTTP status 200
Load time 0.203 s
Memory usage 2.72 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.190 s
Memory usage 2.68 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 0.702 s
Memory usage 2.83 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.259 s0.375 s+0.116 s2.79 MiB2.88 MiB+ 85.74 KiB
/wp-admin/edit.php0.176 s0.197 s+0.021 s2.84 MiB2.92 MiB+ 84.98 KiB
/wp-admin/post-new.php0.864 s0.931 s+0.067 s4.93 MiB4.99 MiB+ 57.44 KiB
/wp-admin/upload.php0.746 s0.542 s-0.204 s2.67 MiB2.75 MiB+ 83.94 KiB
/wp-admin/options-writing.php0.153 s0.160 s+0.007 s2.68 MiB2.73 MiB+ 51.91 KiB
/wp-admin/media-new.php0.221 s0.177 s-0.044 s2.65 MiB2.73 MiB+ 84.11 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.175 s-0.014 s2.68 MiB2.83 MiB+ 148.19 KiB
/wp-admin/post-new.php?post_type=page1.052 s0.987 s-0.065 s4.92 MiB4.97 MiB+ 53.07 KiB
/wp-admin/options-discussion.php0.282 s0.273 s-0.009 s2.65 MiB2.73 MiB+ 84.42 KiB
/wp-admin/edit-comments.php0.212 s0.221 s+0.009 s2.75 MiB2.83 MiB+ 83.9 KiB
/0.280 s0.200 s-0.080 s2.61 MiB2.68 MiB+ 62.55 KiB
Average 0.403 s0.385 s-0.018 s3.11 MiB3.18 MiB+ 80.02 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
Language % Lines of code Comment lines Files
PHP88.4%1,4462311
JavaScript11.5%18811
Markdown0.1%201
Total 1,636 24 13

PHP Code Analysis | More results »

Lines of code 924
Total complexity 129
Median class complexity 10.0
Median method complexity 2.0
Most complex class telegram_widget
Most complex function telegram_send_post_notification()
Classes 1
Methods 4
Functions 33

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 5

Custom Post Types 3

ID Name
telegram_subscribersUsers subscribed
telegram_groupsGroups subscribed
telegram_commandsCommands and autoresponders

Sidebar Widgets 1

ID Name
telegram_widgetTelegram

Meta Boxes

{
    "telegram_commands": {
        "telegram_command_extra": {
            "title": "Keyboard",
            "context": "side"
        }
    }
}

PHP Error Log 19 lines

[17-Feb-2021 20:54:34 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/telegram-bot/defaults.php on line 26
[17-Feb-2021 20:54:34 UTC] PHP Notice:  Undefined index: mode in /wp-content/plugins/telegram-bot/defaults.php on line 26
[17-Feb-2021 20:54:34 UTC] PHP Notice:  Undefined index: zapier in /wp-content/plugins/telegram-bot/defaults.php on line 26
[17-Feb-2021 20:54:34 UTC] PHP Notice:  Undefined index: wmgroup in /wp-content/plugins/telegram-bot/defaults.php on line 26
[17-Feb-2021 20:54:34 UTC] PHP Notice:  Undefined index: wmuser in /wp-content/plugins/telegram-bot/defaults.php on line 26
[17-Feb-2021 20:54:34 UTC] PHP Notice:  Undefined index: posttemplate in /wp-content/plugins/telegram-bot/defaults.php on line 26
[17-Feb-2021 20:54:34 UTC] PHP Notice:  Undefined index: bmuser in /wp-content/plugins/telegram-bot/defaults.php on line 26
[17-Feb-2021 20:54:34 UTC] PHP Notice:  Undefined index: keyboard in /wp-content/plugins/telegram-bot/defaults.php on line 26
[17-Feb-2021 20:54:36 UTC] PHP Notice:  Undefined index: username in /wp-content/plugins/telegram-bot/panel/settings.php on line 98
[17-Feb-2021 20:54:36 UTC] PHP Notice:  Undefined index: channelusername in /wp-content/plugins/telegram-bot/panel/settings.php on line 110
[17-Feb-2021 20:54:36 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 190
[17-Feb-2021 20:54:36 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 191
[17-Feb-2021 20:54:36 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 192
[17-Feb-2021 20:54:36 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 193
[17-Feb-2021 20:54:36 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 194
[17-Feb-2021 20:54:36 UTC] PHP Notice:  Undefined index: emuser in /wp-content/plugins/telegram-bot/panel/settings.php on line 265
[17-Feb-2021 20:54:44 UTC] PHP Notice:  Trying to get property 'post_type' of non-object in /wp-content/plugins/telegram-bot/telegram-bot.php on line 382
[17-Feb-2021 20:54:45 UTC] PHP Notice:  Undefined variable: title in /wp-content/plugins/telegram-bot/widget.php on line 29
[17-Feb-2021 20:54:45 UTC] PHP Notice:  Trying to get property 'post_type' of non-object in /wp-content/plugins/telegram-bot/telegram-bot.php on line 382
See also: All tests for this plugin, How to Hide Telegram Bot & Channel Admin Menus and Meta Boxes