Password policy 1.0.3

Does Password policy work with WordPress 5.8.3 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP warnings
3PHP notices
6PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 7.36 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 version5.8.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/password-policy/
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=password-policy%2Fpassword-policy.php&plugin_status=all&paged=1&s&_wpnonce=d1b65abc8b
Aspect after-activation
HTTP status 200
Load time 0.392 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

Password Policy

Page screenshot: Password Policy
URL /wp-admin/admin.php?page=password-policy
Aspect menu-item
HTTP status 200
Load time 0.147 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

Password Policy → User Lists

Page screenshot: Password Policy → User Lists
URL /wp-admin/admin.php?page=pssp_display_page_user
Aspect menu-item
HTTP status 200
Load time 0.142 s
Memory usage 3.06 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.226 s
Memory usage 2.92 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.298 s0.268 s-0.030 s3.08 MiB3.1 MiB+ 13.48 KiB
/wp-admin/edit.php0.189 s0.185 s-0.004 s3.11 MiB3.12 MiB+ 12.18 KiB
/wp-admin/post-new.php1.031 s0.924 s-0.107 s5.27 MiB5.29 MiB+ 23.34 KiB
/wp-admin/upload.php0.379 s0.312 s-0.067 s3.03 MiB3.04 MiB+ 11.05 KiB
/wp-admin/options-writing.php0.169 s0.142 s-0.027 s3.02 MiB3.02 MiB- 4.98 KiB
/wp-admin/media-new.php0.437 s0.181 s-0.256 s3.01 MiB3.02 MiB+ 11.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.273 s+0.089 s3.04 MiB3.05 MiB+ 12.13 KiB
/wp-admin/post-new.php?post_type=page0.642 s0.957 s+0.315 s5.26 MiB5.28 MiB+ 18.93 KiB
/wp-admin/options-discussion.php0.246 s0.319 s+0.073 s3 MiB3.01 MiB+ 11.53 KiB
/wp-admin/edit-comments.php0.215 s0.211 s-0.004 s3.04 MiB3.05 MiB+ 12.38 KiB
/0.311 s0.209 s-0.102 s2.96 MiB2.92 MiB- 40.34 KiB
Average 0.373 s0.362 s-0.011 s3.44 MiB3.45 MiB+ 7.36 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
Sass
CSS
Language % Lines of code Comment lines Files
PHP65.2%387737
Sass17.7%10501
CSS15.8%9411
JavaScript1.3%811
Total 594 75 10

PHP Code Analysis | More results »

Lines of code 285
Total complexity 63
Median class complexity 4.0
Median method complexity 1.0
Most complex class PSSP_Db
Most complex function pssp_display_page_user()
Classes 2
Methods 8
Functions 12

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.

Options wp_options 1

PHP Error Log 10 lines

[15-Jan-2022 04:00:22 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/password-policy/src/class.db.php on line 24
[15-Jan-2022 04:00:22 UTC] PHP Notice:  Trying to get property 'option_value' of non-object in /wp-content/plugins/password-policy/src/class.db.php on line 24
[15-Jan-2022 04:00:22 UTC] PHP Warning:  get_object_vars() expects parameter 1 to be object, null given in /wp-content/plugins/password-policy/src/class.db.php on line 24
[15-Jan-2022 04:00:22 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/password-policy/password-policy.php on line 90
[15-Jan-2022 04:00:23 UTC] PHP Deprecated:  WP_User->id was called with an argument that is <strong>deprecated</strong> since version 2.1.0! Use <code>WP_User->ID</code> instead. in /wp-includes/functions.php on line 5495
[15-Jan-2022 04:00:23 UTC] PHP Deprecated:  WP_User->id was called with an argument that is <strong>deprecated</strong> since version 2.1.0! Use <code>WP_User->ID</code> instead. in /wp-includes/functions.php on line 5495
[15-Jan-2022 04:00:23 UTC] PHP Deprecated:  WP_User->id was called with an argument that is <strong>deprecated</strong> since version 2.1.0! Use <code>WP_User->ID</code> instead. in /wp-includes/functions.php on line 5495
[15-Jan-2022 04:00:23 UTC] PHP Deprecated:  WP_User->id was called with an argument that is <strong>deprecated</strong> since version 2.1.0! Use <code>WP_User->ID</code> instead. in /wp-includes/functions.php on line 5495
[15-Jan-2022 04:00:23 UTC] PHP Deprecated:  WP_User->id was called with an argument that is <strong>deprecated</strong> since version 2.1.0! Use <code>WP_User->ID</code> instead. in /wp-includes/functions.php on line 5495
[15-Jan-2022 04:00:23 UTC] PHP Deprecated:  WP_User->id was called with an argument that is <strong>deprecated</strong> since version 2.1.0! Use <code>WP_User->ID</code> instead. in /wp-includes/functions.php on line 5495
See also: All tests for this plugin