Password Protect WordPress Lite 1.7.4

Does "Password Protect WordPress Lite" work with WordPress 5.7.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
4Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 377.9 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.034 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.7.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 30,000+
WordPress.org page https://wordpress.org/plugins/password-protect-page/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 12

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=password-protect-page%2Fwp-protect-password.php&plugin_status=all&paged=1&s&_wpnonce=105368f25f
Aspect after-activation
HTTP status 200
Load time 1.317 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

Password Protect WordPress

Page screenshot: Password Protect WordPress
URL /wp-admin/admin.php?page=wp_protect_password_options
Aspect menu-item
HTTP status 200
Load time 0.319 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

Password Protect WordPress → Advanced

Page screenshot: Password Protect WordPress → Advanced
URL /wp-admin/admin.php?page=wp_protect_password_options&tab=misc
Aspect menu-item-tab
HTTP status 200
Load time 0.181 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Password Protect WordPress → Master Passwords

Page screenshot: Password Protect WordPress → Master Passwords
URL /wp-admin/admin.php?page=wp_protect_password_options&tab=master_passwords
Aspect menu-item-tab
HTTP status 200
Load time 1.198 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Password Protect WordPress → Troubleshooting

Page screenshot: Password Protect WordPress → Troubleshooting
URL /wp-admin/admin.php?page=wp_protect_password_options&tab=troubleshooting
Aspect menu-item-tab
HTTP status 200
Load time 0.182 s
Memory usage 3.17 MiB
JS errors None
Resource errors None

Password Protect WordPress → Partial Protection

Page screenshot: Password Protect WordPress → Partial Protection
URL /wp-admin/admin.php?page=ppwp-partial-protection
Aspect menu-item
HTTP status 200
Load time 0.229 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Password Protect WordPress → Sitewide Protection

Page screenshot: Password Protect WordPress → Sitewide Protection
URL /wp-admin/admin.php?page=ppwp-sitewide
Aspect menu-item
HTTP status 200
Load time 0.238 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Password Protect WordPress → Integrations

Page screenshot: Password Protect WordPress → Integrations
URL /wp-admin/admin.php?page=ppwp-integrations
Aspect menu-item
HTTP status 200
Load time 0.182 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

Password Protect WordPress → Integrations → Configuration

Page screenshot: Password Protect WordPress → Integrations → Configuration
URL /wp-admin/admin.php?page=ppwp-integrations&tab=configuration
Aspect menu-item-tab
HTTP status 200
Load time 0.294 s
Memory usage 3.12 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.290 s
Memory usage 2.94 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.751 s
Memory usage 5.46 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.968 s
Memory usage 5.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.277 s0.404 s+0.127 s2.82 MiB3.19 MiB+ 377.34 KiB
/wp-admin/edit.php0.199 s0.242 s+0.043 s2.86 MiB3.26 MiB+ 409.93 KiB
/wp-admin/post-new.php0.994 s1.149 s+0.155 s5.02 MiB5.46 MiB+ 451.2 KiB
/wp-admin/upload.php0.502 s0.438 s-0.064 s2.7 MiB3.07 MiB+ 385.07 KiB
/wp-admin/options-writing.php0.165 s0.154 s-0.011 s2.71 MiB3.06 MiB+ 353.41 KiB
/wp-admin/media-new.php0.202 s0.245 s+0.043 s2.67 MiB3.05 MiB+ 385.61 KiB
/wp-admin/edit-tags.php?taxonomy=category0.388 s0.318 s-0.070 s2.77 MiB3.16 MiB+ 394.3 KiB
/wp-admin/post-new.php?post_type=page1.182 s1.303 s+0.121 s5.01 MiB5.45 MiB+ 449.63 KiB
/wp-admin/options-discussion.php0.277 s0.306 s+0.029 s2.67 MiB3.05 MiB+ 386.23 KiB
/wp-admin/edit-comments.php0.220 s0.260 s+0.040 s2.78 MiB3.09 MiB+ 321.46 KiB
/0.282 s0.247 s-0.035 s2.71 MiB2.94 MiB+ 242.71 KiB
Average 0.426 s0.461 s+0.034 s3.16 MiB3.53 MiB+ 377.9 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.

CSS
PHP
Language % Lines of code Comment lines Files
CSS62.9%21,6752987
PHP28.3%9,7423,92189
SVG7.7%2,67101
JavaScript1.0%335927
Markdown0.1%2701
JSON0.1%2602
Total 34,476 4,311 107

PHP Code Analysis | More results »

Lines of code 8,236
Total complexity 1,445
Median class complexity 12.5
Median method complexity 2.0
Most complex class PPW_Password_Services
Most complex function PPW_Customizer_Service::customize_register()
Classes 48
Methods 482
Functions 74

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

Options wp_options 3

Meta Boxes

{
    "post": {
        "ppw_add_meta_box": {
            "title": "Password Protect WordPress",
            "context": "side"
        }
    },
    "page": {
        "ppw_add_meta_box": {
            "title": "Password Protect WordPress",
            "context": "side"
        }
    }
}

PHP Error Log 4 lines

[15-Apr-2021 19:16:04 UTC] Migrate Default Password
[15-Apr-2021 19:16:04 UTC] [Migrate Default PWD]Things to migrate: []
[15-Apr-2021 19:16:04 UTC] [Migrate Default PWD]Total: 0
[15-Apr-2021 19:16:04 UTC] Migrated OK
See also: All tests for this plugin, How to Hide Password Protect WordPress Lite Admin Menus and Meta Boxes