Push Notifications for WP - Self Hosted Web Push Notifications 1.44

Does "Push Notifications for WP - Self Hosted Web Push Notifications" work with WordPress 6.8.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: 83.84 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.2
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=926be480a5
Aspect after-activation
HTTP status 200
Load time 0.332 s
Memory usage 3.93 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.564 s
Memory usage 3.6 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.216 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.633 s
Memory usage 6.17 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.651 s
Memory usage 6.16 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.338 s0.299 s-0.039 s3.51 MiB3.6 MiB+ 92.05 KiB
/wp-admin/edit.php0.194 s0.205 s+0.011 s3.57 MiB3.66 MiB+ 91.79 KiB
/wp-admin/post-new.php0.820 s0.638 s-0.182 s6.06 MiB6.17 MiB+ 115.69 KiB
/wp-admin/upload.php0.733 s0.329 s-0.404 s3.52 MiB3.6 MiB+ 74.38 KiB
/wp-admin/options-writing.php0.205 s0.191 s-0.014 s3.5 MiB3.58 MiB+ 78.37 KiB
/wp-admin/media-new.php0.269 s0.296 s+0.027 s3.49 MiB3.58 MiB+ 86.56 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.355 s+0.176 s3.5 MiB3.6 MiB+ 97.23 KiB
/wp-admin/post-new.php?post_type=page0.634 s0.635 s+0.001 s6.05 MiB6.16 MiB+ 110.9 KiB
/wp-admin/options-discussion.php0.283 s0.383 s+0.100 s3.5 MiB3.58 MiB+ 74.87 KiB
/wp-admin/edit-comments.php0.218 s0.203 s-0.015 s3.52 MiB3.6 MiB+ 74.37 KiB
/0.355 s0.205 s-0.150 s3.43 MiB3.46 MiB+ 26.08 KiB
Average 0.384 s0.340 s-0.044 s3.97 MiB4.05 MiB+ 83.84 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
PHP68.9%5,86826213
JavaScript23.2%1,977898
CSS4.0%343142
PO File2.3%200822
Markdown0.8%6901
SVG0.7%5901
Total 8,516 447 27

PHP Code Analysis | More results »

Lines of code 5,856
Total complexity 1,306
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 177
Functions 36

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