Push Notifications for WP - Self Hosted Web Push Notifications 1.41

Does "Push Notifications for WP - Self Hosted Web Push Notifications" work with WordPress 6.8 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: 73.43 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.8
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 7,000+
WordPress.org page https://wordpress.org/plugins/push-notification/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=push-notification%2Fpush-notification.php&plugin_status=all&paged=1&s&_wpnonce=9c84414c68
Aspect after-activation
HTTP status 200
Load time 0.584 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Push Notifications

Page screenshot: Push Notifications
URL /wp-admin/admin.php?page=push-notification
Aspect menu-item
HTTP status 200
Load time 0.454 s
Memory usage 3.59 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.233 s
Memory usage 3.46 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 0.658 s
Memory usage 6.15 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 0.660 s
Memory usage 6.13 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.374 s0.318 s-0.056 s3.51 MiB3.59 MiB+ 84.77 KiB
/wp-admin/edit.php0.213 s0.208 s-0.005 s3.57 MiB3.65 MiB+ 84.49 KiB
/wp-admin/post-new.php0.859 s0.679 s-0.180 s6.06 MiB6.15 MiB+ 88.39 KiB
/wp-admin/upload.php0.805 s0.357 s-0.448 s3.52 MiB3.59 MiB+ 67.09 KiB
/wp-admin/options-writing.php0.221 s0.197 s-0.024 s3.5 MiB3.57 MiB+ 71.08 KiB
/wp-admin/media-new.php0.295 s0.275 s-0.020 s3.49 MiB3.57 MiB+ 79.27 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.204 s+0.000 s3.5 MiB3.59 MiB+ 89.95 KiB
/wp-admin/post-new.php?post_type=page0.788 s0.778 s-0.010 s6.05 MiB6.13 MiB+ 83.61 KiB
/wp-admin/options-discussion.php0.349 s0.414 s+0.065 s3.5 MiB3.57 MiB+ 67.58 KiB
/wp-admin/edit-comments.php0.202 s0.230 s+0.028 s3.52 MiB3.59 MiB+ 67.08 KiB
/0.330 s0.206 s-0.124 s3.43 MiB3.46 MiB+ 24.45 KiB
Average 0.422 s0.351 s-0.070 s3.97 MiB4.04 MiB+ 73.43 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
PHP66.5%4,89624413
JavaScript24.8%1,822888
CSS4.6%339142
PO File2.7%200822
SVG0.8%5901
Markdown0.6%4301
Total 7,359 428 27

PHP Code Analysis | More results »

Lines of code 4,873
Total complexity 1,085
Median class complexity 34.0
Median method complexity 3.0
Most complex class Push_Notification_Frontend
Most complex function Push_Notification_Frontend::pn_notification_confirm_banner()
Classes 9
Methods 156
Functions 35

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.

Database Tables 1

Meta Boxes

{
    "post": {
        "send_push_on_current_post": {
            "title": "Disable push notification on current post?",
            "context": "side"
        }
    },
    "page": {
        "send_push_on_current_post": {
            "title": "Disable push notification on current post?",
            "context": "side"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Push Notifications for WP - Self Hosted Web Push Notifications Admin Menus and Meta Boxes