WP-PostRatings 1.90

Does WP-PostRatings work with WordPress 6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 32.44 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 50,000+
WordPress.org page https://wordpress.org/plugins/wp-postratings/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=wp-postratings%2Fwp-postratings.php&plugin_status=all&paged=1&s&_wpnonce=fe0807bb92
Aspect after-activation
HTTP status 200
Load time 0.282 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

Ratings

Page screenshot: Ratings
URL /wp-admin/admin.php?page=wp-postratings%2Fpostratings-manager.php
Requested URL /wp-admin/admin.php?page=wp-postratings/postratings-manager.php
Aspect menu-item
HTTP status 200
Load time 0.264 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

Ratings → Ratings Options

Page screenshot: Ratings → Ratings Options
URL /wp-admin/admin.php?page=wp-postratings%2Fpostratings-options.php
Requested URL /wp-admin/admin.php?page=wp-postratings/postratings-options.php
Aspect menu-item
HTTP status 200
Load time 0.441 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

Ratings → Ratings Templates

Page screenshot: Ratings → Ratings Templates
URL /wp-admin/admin.php?page=wp-postratings%2Fpostratings-templates.php
Requested URL /wp-admin/admin.php?page=wp-postratings/postratings-templates.php
Aspect menu-item
HTTP status 200
Load time 0.144 s
Memory usage 3.14 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.263 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.041 s
Memory usage 4.97 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.694 s0.390 s-0.304 s3.07 MiB3.11 MiB+ 40.75 KiB
/wp-admin/edit.php0.174 s0.186 s+0.012 s3.1 MiB3.14 MiB+ 43.5 KiB
/wp-admin/post-new.php0.745 s0.941 s+0.196 s5.02 MiB5.06 MiB+ 44.35 KiB
/wp-admin/upload.php0.526 s0.304 s-0.222 s3.02 MiB3.04 MiB+ 21.88 KiB
/wp-admin/options-writing.php0.169 s0.133 s-0.036 s3.01 MiB3.02 MiB+ 8.64 KiB
/wp-admin/media-new.php0.270 s0.188 s-0.082 s2.99 MiB3.03 MiB+ 34.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.174 s-0.011 s3.01 MiB3.04 MiB+ 39.24 KiB
/wp-admin/post-new.php?post_type=page0.592 s1.244 s+0.652 s5.01 MiB5.05 MiB+ 39.94 KiB
/wp-admin/options-discussion.php0.209 s0.238 s+0.029 s3 MiB3.02 MiB+ 22.43 KiB
/wp-admin/edit-comments.php0.240 s0.201 s-0.039 s3.03 MiB3.05 MiB+ 22 KiB
/0.294 s0.235 s-0.059 s2.97 MiB3.01 MiB+ 40.07 KiB
Average 0.373 s0.385 s+0.012 s3.38 MiB3.42 MiB+ 32.44 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
Language % Lines of code Comment lines Files
PHP95.0%3,46341313
JavaScript3.9%142625
CSS0.8%28332
JSON0.4%1301
Total 3,646 508 21

PHP Code Analysis | More results »

Lines of code 2,315
Total complexity 537
Median class complexity 7.0
Median method complexity 1.0
Most complex class WP_Widget_PostRatings
Most complex function expand_ratings_template()
Classes 3
Methods 11
Functions 69

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 15

Sidebar Widgets 1

ID Name
ratings-widgetRatings

Capabilities 1

PHP Error Log 2 lines

[30-Mar-2023 05:51:48 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/wp-postratings/postratings-options.php on line 120
[30-Mar-2023 05:51:51 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/wp-postratings/wp-postratings.php on line 1215
See also: All tests for this plugin, How to Hide WP-PostRatings Admin Menus