Push Notifications for WP - Self Hosted Web Push Notifications 1.39

Does "Push Notifications for WP - Self Hosted Web Push Notifications" work with WordPress 6.7.1 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: 55.41 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.7.1
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=8c2d0c027c
Aspect after-activation
HTTP status 200
Load time 0.326 s
Memory usage 3.57 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.463 s
Memory usage 3.55 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.194 s
Memory usage 3.43 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.580 s
Memory usage 6 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.664 s
Memory usage 5.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.365 s0.324 s-0.041 s3.48 MiB3.55 MiB+ 71.99 KiB
/wp-admin/edit.php0.211 s0.217 s+0.006 s3.54 MiB3.61 MiB+ 71.72 KiB
/wp-admin/post-new.php0.850 s0.640 s-0.210 s5.92 MiB6 MiB+ 79.56 KiB
/wp-admin/upload.php0.774 s0.476 s-0.298 s3.5 MiB3.55 MiB+ 54.31 KiB
/wp-admin/options-writing.php0.245 s0.198 s-0.047 s3.47 MiB3.53 MiB+ 58.3 KiB
/wp-admin/media-new.php0.283 s0.267 s-0.016 s3.46 MiB3.53 MiB+ 66.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.191 s-0.017 s3.48 MiB3.55 MiB+ 77.17 KiB
/wp-admin/post-new.php?post_type=page0.714 s0.643 s-0.071 s5.92 MiB5.99 MiB+ 75.09 KiB
/wp-admin/options-discussion.php0.293 s0.239 s-0.054 s3.47 MiB3.53 MiB+ 54.8 KiB
/wp-admin/edit-comments.php0.426 s0.206 s-0.220 s3.49 MiB3.55 MiB+ 54.3 KiB
/0.351 s0.171 s-0.180 s3.48 MiB3.43 MiB- 54.23 KiB
Average 0.429 s0.325 s-0.104 s3.93 MiB3.98 MiB+ 55.41 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
PHP64.8%4,02623413
JavaScript26.2%1,626887
CSS4.8%298132
PO File3.2%200822
SVG1.0%5901
Total 6,209 417 25

PHP Code Analysis | More results »

Lines of code 4,002
Total complexity 833
Median class complexity 34.0
Median method complexity 3.0
Most complex class Push_Notification_Admin
Most complex function Push_Notification_Admin::pn_send_notification()
Classes 9
Methods 138
Functions 27

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