WP-PostRatings 1.90.1

Does WP-PostRatings work with WordPress 6.2.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.48 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.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=137dd3720c
Aspect after-activation
HTTP status 200
Load time 0.561 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.176 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.504 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.157 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.297 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.029 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.294 s0.273 s-0.021 s3.07 MiB3.11 MiB+ 40.75 KiB
/wp-admin/edit.php0.200 s0.204 s+0.004 s3.1 MiB3.14 MiB+ 43.5 KiB
/wp-admin/post-new.php0.780 s0.935 s+0.155 s5.02 MiB5.06 MiB+ 44.35 KiB
/wp-admin/upload.php0.573 s0.383 s-0.190 s3.02 MiB3.04 MiB+ 21.88 KiB
/wp-admin/options-writing.php0.183 s0.220 s+0.037 s3.01 MiB3.02 MiB+ 8.64 KiB
/wp-admin/media-new.php0.352 s0.245 s-0.107 s2.99 MiB3.03 MiB+ 34.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.187 s-0.012 s3.01 MiB3.04 MiB+ 39.24 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.654 s+0.048 s5.01 MiB5.05 MiB+ 39.94 KiB
/wp-admin/options-discussion.php0.217 s0.236 s+0.019 s3 MiB3.02 MiB+ 22.38 KiB
/wp-admin/edit-comments.php0.227 s0.211 s-0.016 s3.03 MiB3.05 MiB+ 21.95 KiB
/0.326 s0.247 s-0.079 s2.97 MiB3.01 MiB+ 40.63 KiB
Average 0.360 s0.345 s-0.015 s3.38 MiB3.42 MiB+ 32.48 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

[20-May-2023 13:27:13 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/wp-postratings/postratings-options.php on line 120
[20-May-2023 13:27:16 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