Post Views Counter 1.3.2

Does Post Views Counter work with WordPress 5.5.3 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
6PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 127.61 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.5.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 200,000+
WordPress.org page https://wordpress.org/plugins/post-views-counter/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=post-views-counter%2Fpost-views-counter.php&plugin_status=all&paged=1&s&_wpnonce=3a7c456d12
Aspect after-activation
HTTP status 200
Load time 0.566 s
Memory usage 2.78 MiB
JS errors None
Resource errors None

Settings → Post Views Counter

Page screenshot: Settings → Post Views Counter
URL /wp-admin/options-general.php?page=post-views-counter
Aspect menu-item
HTTP status 200
Load time 0.537 s
Memory usage 2.73 MiB
JS errors None
Resource errors None

Settings → Post Views Counter → Display

Page screenshot: Settings → Post Views Counter → Display
URL /wp-admin/options-general.php?page=post-views-counter&tab=display
Aspect menu-item-tab
HTTP status 200
Load time 0.259 s
Memory usage 2.73 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.266 s
Memory usage 2.68 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.404 s
Memory usage 2.89 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 1.570 s
Memory usage 4.65 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 0.890 s
Memory usage 2.84 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.541 s0.435 s-0.106 s2.75 MiB2.89 MiB+ 134.25 KiB
/wp-admin/edit.php0.249 s0.294 s+0.045 s2.8 MiB2.93 MiB+ 140.2 KiB
/wp-admin/post-new.php1.569 s2.120 s+0.551 s4.55 MiB4.65 MiB+ 111.99 KiB
/wp-admin/upload.php0.681 s0.453 s-0.228 s2.63 MiB2.75 MiB+ 125.88 KiB
/wp-admin/options-writing.php0.187 s0.161 s-0.026 s2.64 MiB2.74 MiB+ 93.8 KiB
/wp-admin/media-new.php0.225 s0.189 s-0.036 s2.6 MiB2.73 MiB+ 126.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.184 s-0.008 s2.64 MiB2.77 MiB+ 126.96 KiB
/wp-admin/post-new.php?post_type=page1.432 s1.418 s-0.014 s4.53 MiB4.64 MiB+ 107.74 KiB
/wp-admin/options-discussion.php0.273 s0.265 s-0.008 s2.61 MiB2.73 MiB+ 126.3 KiB
/wp-admin/edit-comments.php0.277 s0.212 s-0.065 s2.65 MiB2.83 MiB+ 189.87 KiB
/0.323 s0.304 s-0.019 s2.56 MiB2.68 MiB+ 120.7 KiB
Average 0.541 s0.549 s+0.008 s3 MiB3.12 MiB+ 127.61 KiB

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 5

Sidebar Widgets 1

ID Name
post_views_counter_list_widgetMost Viewed Posts

Meta Boxes

{
    "dashboard": {
        "pvc_dashboard": {
            "title": "Post Views",
            "context": "normal"
        }
    },
    "post": {
        "post_views_meta_box": {
            "title": "Post Views",
            "context": ""
        }
    }
}

PHP Error Log 6 lines

[30-Oct-2020 23:51:33 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>post-views-counter/view-post</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5229
[30-Oct-2020 23:51:33 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>post-views-counter/update-post-views</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5229
[30-Oct-2020 23:51:36 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>post-views-counter/view-post</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5229
[30-Oct-2020 23:51:36 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>post-views-counter/update-post-views</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5229
[30-Oct-2020 23:51:41 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>post-views-counter/view-post</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5229
[30-Oct-2020 23:51:41 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>post-views-counter/update-post-views</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5229
See also: All tests for this plugin, How to Hide Post Views Counter Admin Menus and Widgets