WP-PostRatings 1.89

Does WP-PostRatings work with WordPress 6.0.2 and PHP 7.4.8? 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: 39.31 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.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=6dc3298a98
Aspect after-activation
HTTP status 200
Load time 0.686 s
Memory usage 3.74 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.184 s
Memory usage 3.91 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.495 s
Memory usage 3.9 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.155 s
Memory usage 3.76 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.249 s
Memory usage 3.6 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.625 s
Memory usage 5.57 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.526 s0.323 s-0.203 s3.72 MiB3.77 MiB+ 42.95 KiB
/wp-admin/edit.php0.187 s0.204 s+0.017 s3.76 MiB3.8 MiB+ 44.87 KiB
/wp-admin/post-new.php0.815 s0.968 s+0.153 s5.55 MiB5.6 MiB+ 50.55 KiB
/wp-admin/upload.php0.429 s0.367 s-0.062 s3.69 MiB3.73 MiB+ 41.05 KiB
/wp-admin/options-writing.php0.169 s0.158 s-0.011 s3.62 MiB3.67 MiB+ 48.63 KiB
/wp-admin/media-new.php0.443 s0.204 s-0.239 s3.66 MiB3.7 MiB+ 41.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.319 s+0.128 s3.69 MiB3.73 MiB+ 42.13 KiB
/wp-admin/post-new.php?post_type=page1.071 s0.744 s-0.327 s5.54 MiB5.58 MiB+ 42.13 KiB
/wp-admin/options-discussion.php0.223 s0.211 s-0.012 s3.6 MiB3.64 MiB+ 41.54 KiB
/wp-admin/edit-comments.php0.219 s0.231 s+0.012 s3.7 MiB3.74 MiB+ 41.11 KiB
/0.316 s0.240 s-0.076 s3.6 MiB3.6 MiB- 3.78 KiB
Average 0.417 s0.361 s-0.056 s4.01 MiB4.05 MiB+ 39.31 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
PHP94.9%3,43040112
JavaScript3.9%142625
CSS0.8%28332
JSON0.4%1301
Total 3,613 496 20

PHP Code Analysis | More results »

Lines of code 2,282
Total complexity 531
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 66

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

The log file is empty.

See also: All tests for this plugin, How to Hide WP-PostRatings Admin Menus