Post Views Counter 1.3.9

Does Post Views Counter work with WordPress 5.8.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: 172.33 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.8.2
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 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=post-views-counter%2Fpost-views-counter.php&plugin_status=all&paged=1&s&_wpnonce=36d2b6ff1e
Aspect after-activation
HTTP status 200
Load time 0.446 s
Memory usage 3.23 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.380 s
Memory usage 3.18 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.141 s
Memory usage 3.18 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.194 s
Memory usage 3.01 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.339 s
Memory usage 3.28 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.585 s
Memory usage 4.64 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.297 s0.320 s+0.023 s3.08 MiB3.28 MiB+ 199.54 KiB
/wp-admin/edit.php0.169 s0.205 s+0.036 s3.11 MiB3.37 MiB+ 260.59 KiB
/wp-admin/post-new.php0.694 s0.834 s+0.140 s5.27 MiB5.41 MiB+ 142.58 KiB
/wp-admin/upload.php0.337 s0.270 s-0.067 s3.03 MiB3.21 MiB+ 185.02 KiB
/wp-admin/options-writing.php0.185 s0.126 s-0.059 s3.02 MiB3.19 MiB+ 168.94 KiB
/wp-admin/media-new.php0.340 s0.302 s-0.038 s3.01 MiB3.19 MiB+ 185.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.167 s-0.012 s3.04 MiB3.22 MiB+ 186.1 KiB
/wp-admin/post-new.php?post_type=page0.889 s0.611 s-0.278 s5.26 MiB5.4 MiB+ 141.59 KiB
/wp-admin/options-discussion.php0.205 s0.190 s-0.015 s3 MiB3.18 MiB+ 185.45 KiB
/wp-admin/edit-comments.php0.186 s0.185 s-0.001 s3.04 MiB3.22 MiB+ 185.01 KiB
/0.243 s0.183 s-0.060 s2.96 MiB3.01 MiB+ 55.66 KiB
Average 0.339 s0.308 s-0.030 s3.44 MiB3.61 MiB+ 172.33 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
CSS
Language % Lines of code Comment lines Files
PHP83.8%4,3621,79916
CSS9.3%485444
JavaScript6.8%356486
Total 5,203 1,891 26

PHP Code Analysis | More results »

Lines of code 4,377
Total complexity 1,032
Median class complexity 45.0
Median method complexity 3.0
Most complex class Post_Views_Counter_Counter
Most complex function pvc_get_views()
Classes 15
Methods 161
Functions 8

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 Counter",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

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