Truepush Push Notifications 1.0.5

Does Truepush Push Notifications work with WordPress 6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP warnings
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 11.53 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 version6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/truepush-free-web-push-notifications/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=truepush-free-web-push-notifications%2Ftruepush.php&plugin_status=all&paged=1&s&_wpnonce=95d2d19f20
Aspect after-activation
HTTP status 200
Load time 0.457 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

Truepush Push

Page screenshot: Truepush Push
URL /wp-admin/admin.php?page=truepush-push
Aspect menu-item
HTTP status 200
Load time 0.212 s
Memory usage 3.06 MiB
JS errors
[
    {
        "message": "TypeError: jQuery(...).tab is not a function\n    at activateSetupTab (/wp-content/plugins/truepush-free-web-push-notifications/views/javascript/site.js?ver=1.0.7:16:27)\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=truepush-push:149:21)",
        "trace": null,
        "code": null
    }
]
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.316 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

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

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.310 s0.289 s-0.021 s3.07 MiB3.09 MiB+ 21.57 KiB
/wp-admin/edit.php0.199 s0.232 s+0.033 s3.1 MiB3.12 MiB+ 22.41 KiB
/wp-admin/post-new.php0.804 s1.023 s+0.219 s5.02 MiB5.04 MiB+ 20.32 KiB
/wp-admin/upload.php0.582 s0.333 s-0.249 s3.02 MiB3.02 MiB+ 3.37 KiB
/wp-admin/options-writing.php0.170 s0.159 s-0.011 s3.01 MiB3 MiB- 8.4 KiB
/wp-admin/media-new.php0.354 s0.226 s-0.128 s2.99 MiB3.01 MiB+ 15.81 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.392 s+0.200 s3 MiB3.02 MiB+ 20.36 KiB
/wp-admin/post-new.php?post_type=page0.641 s0.660 s+0.019 s5.01 MiB5.03 MiB+ 15.48 KiB
/wp-admin/options-discussion.php0.225 s0.252 s+0.027 s3 MiB3 MiB+ 5.34 KiB
/wp-admin/edit-comments.php0.224 s0.232 s+0.008 s3.03 MiB3.03 MiB+ 3 KiB
/0.340 s0.265 s-0.075 s2.97 MiB2.98 MiB+ 7.53 KiB
Average 0.367 s0.369 s+0.002 s3.38 MiB3.39 MiB+ 11.53 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
CSS
Language % Lines of code Comment lines Files
PHP59.9%1,008146
CSS32.7%550463
JavaScript6.5%11032
SVG1.0%1602
Total 1,684 63 13

PHP Code Analysis | More results »

Lines of code 822
Total complexity 182
Median class complexity 47.0
Median method complexity 2.0
Most complex class Truepush_main
Most complex function Truepush_main::send_notification_to_server()
Classes 3
Methods 31
Functions 7

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.

Meta Boxes

{
    "post": {
        "truepush_notif_on_post": {
            "title": "Truepush Push Notifications",
            "context": "side"
        }
    }
}

PHP Error Log 2 lines

[01-Apr-2023 16:02:56 UTC] PHP Warning:  Undefined variable $site_title_checked in /wp-content/plugins/truepush-free-web-push-notifications/truepush-active.php on line 190
[01-Apr-2023 16:03:03 UTC] PHP Warning:  Undefined variable $site_title_checked in /wp-content/plugins/truepush-free-web-push-notifications/truepush-active.php on line 190
See also: All tests for this plugin, How to Hide Truepush Push Notifications Admin Menus and Meta Boxes