Post Views Counter 1.3.2

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

Summary

Errors
No PHP errors, warnings or notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 164.59 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.4.1
PHP version7.2.16
MySQL version8.0.15
PHP memory limit256M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/post-views-counter/
Badges

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=199d05c392
Aspect after-activation
HTTP status 200
Load time 0.413 s
Memory usage 3.74 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.334 s
Memory usage 3.69 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.148 s
Memory usage 3.69 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.173 s
Memory usage 3.44 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.414 s
Memory usage 3.85 MiB
JS errors
[
    {
        "message": "ReferenceError: Chart is not defined\n    at Object.success (http://127.0.0.1/wp-content/plugins/post-views-counter/js/admin-dashboard.js?ver=1.3.2:74:28)\n    at i (http://127.0.0.1/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.4.1:2:27362)\n    at Object.fireWith [as resolveWith] (http://127.0.0.1/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.4.1:2:28121)\n    at x (http://127.0.0.1/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.4.1:4:22575)\n    at XMLHttpRequest.c (http://127.0.0.1/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.4.1:4:26776)",
        "trace": null,
        "code": null
    }
]
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.191 s
Memory usage 5.56 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.853 s
Memory usage 3.86 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.312 s0.396 s+0.084 s3.64 MiB3.85 MiB+ 219.09 KiB
/wp-admin/edit.php0.219 s0.264 s+0.045 s3.67 MiB3.88 MiB+ 219.55 KiB
/wp-admin/post-new.php1.156 s1.554 s+0.398 s5.43 MiB5.56 MiB+ 134.58 KiB
/wp-admin/upload.php0.470 s0.387 s-0.083 s3.5 MiB3.71 MiB+ 210.69 KiB
/wp-admin/options-writing.php0.160 s0.149 s-0.011 s3.58 MiB3.7 MiB+ 117.2 KiB
/wp-admin/media-new.php0.434 s0.179 s-0.255 s3.48 MiB3.69 MiB+ 210.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.163 s-0.027 s3.59 MiB3.73 MiB+ 147.8 KiB
/wp-admin/post-new.php?post_type=page0.930 s1.013 s+0.083 s5.42 MiB5.54 MiB+ 123.92 KiB
/wp-admin/options-discussion.php0.232 s0.258 s+0.026 s3.49 MiB3.69 MiB+ 211.13 KiB
/wp-admin/edit-comments.php0.257 s0.196 s-0.061 s3.59 MiB3.8 MiB+ 210.67 KiB
/0.321 s0.194 s-0.127 s3.43 MiB3.44 MiB+ 4.98 KiB
Average 0.426 s0.432 s+0.007 s3.89 MiB4.05 MiB+ 164.59 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

The log file is empty.

See also: All tests for this plugin, How to Hide Post Views Counter Admin Menus and More