Telegram Bot & Channel 3.4.1

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=d14dbb2843
Aspect after-activation
HTTP status 200
Load time 0.637 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.162 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.169 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.161 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.150 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.153 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.182 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.271 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.291 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.814 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.274 s0.381 s+0.107 s2.79 MiB2.88 MiB+ 85.74 KiB
/wp-admin/edit.php0.179 s0.199 s+0.020 s2.84 MiB2.92 MiB+ 84.98 KiB
/wp-admin/post-new.php2.232 s1.007 s-1.225 s4.94 MiB4.99 MiB+ 57.44 KiB
/wp-admin/upload.php0.517 s0.453 s-0.064 s2.67 MiB2.75 MiB+ 83.94 KiB
/wp-admin/options-writing.php0.228 s0.147 s-0.081 s2.68 MiB2.73 MiB+ 51.91 KiB
/wp-admin/media-new.php0.222 s0.349 s+0.127 s2.65 MiB2.73 MiB+ 84.11 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.220 s+0.024 s2.68 MiB2.83 MiB+ 148.19 KiB
/wp-admin/post-new.php?post_type=page0.982 s1.105 s+0.123 s4.92 MiB4.98 MiB+ 53.07 KiB
/wp-admin/options-discussion.php0.307 s0.292 s-0.015 s2.65 MiB2.73 MiB+ 84.42 KiB
/wp-admin/edit-comments.php0.223 s0.244 s+0.021 s2.75 MiB2.83 MiB+ 83.9 KiB
/0.351 s0.253 s-0.098 s2.61 MiB2.68 MiB+ 62.55 KiB
Average 0.519 s0.423 s-0.096 s3.11 MiB3.19 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,4472311
JavaScript11.5%18811
Markdown0.1%201
Total 1,637 24 13

PHP Code Analysis | More results »

Lines of code 924
Total complexity 128
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

[05-Feb-2021 20:05:53 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/telegram-bot/defaults.php on line 26
[05-Feb-2021 20:05:53 UTC] PHP Notice:  Undefined index: mode in /wp-content/plugins/telegram-bot/defaults.php on line 26
[05-Feb-2021 20:05:53 UTC] PHP Notice:  Undefined index: zapier in /wp-content/plugins/telegram-bot/defaults.php on line 26
[05-Feb-2021 20:05:53 UTC] PHP Notice:  Undefined index: wmgroup in /wp-content/plugins/telegram-bot/defaults.php on line 26
[05-Feb-2021 20:05:53 UTC] PHP Notice:  Undefined index: wmuser in /wp-content/plugins/telegram-bot/defaults.php on line 26
[05-Feb-2021 20:05:53 UTC] PHP Notice:  Undefined index: posttemplate in /wp-content/plugins/telegram-bot/defaults.php on line 26
[05-Feb-2021 20:05:53 UTC] PHP Notice:  Undefined index: bmuser in /wp-content/plugins/telegram-bot/defaults.php on line 26
[05-Feb-2021 20:05:53 UTC] PHP Notice:  Undefined index: keyboard in /wp-content/plugins/telegram-bot/defaults.php on line 26
[05-Feb-2021 20:05:56 UTC] PHP Notice:  Undefined index: username in /wp-content/plugins/telegram-bot/panel/settings.php on line 98
[05-Feb-2021 20:05:56 UTC] PHP Notice:  Undefined index: channelusername in /wp-content/plugins/telegram-bot/panel/settings.php on line 110
[05-Feb-2021 20:05:56 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 190
[05-Feb-2021 20:05:56 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 191
[05-Feb-2021 20:05:56 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 192
[05-Feb-2021 20:05:56 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 193
[05-Feb-2021 20:05:56 UTC] PHP Notice:  Undefined index: target in /wp-content/plugins/telegram-bot/panel/settings.php on line 194
[05-Feb-2021 20:05:56 UTC] PHP Notice:  Undefined index: emuser in /wp-content/plugins/telegram-bot/panel/settings.php on line 265
[05-Feb-2021 20:06:04 UTC] PHP Notice:  Trying to get property 'post_type' of non-object in /wp-content/plugins/telegram-bot/telegram-bot.php on line 382
[05-Feb-2021 20:06:05 UTC] PHP Notice:  Undefined variable: title in /wp-content/plugins/telegram-bot/widget.php on line 29
[05-Feb-2021 20:06:05 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