Post Views Counter 1.3.13

Does Post Views Counter work with WordPress 6.3.2 and PHP 8.1.12? 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: 150.81 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.3.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=f3a2b2c1c9
Aspect after-activation
HTTP status 200
Load time 0.337 s
Memory usage 2.95 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.405 s
Memory usage 2.92 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.182 s
Memory usage 2.9 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.183 s
Memory usage 3.23 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.449 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 2.375 s
Memory usage 5.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.375 s0.381 s+0.006 s2.83 MiB3.01 MiB+ 190.92 KiB
/wp-admin/edit.php0.228 s0.353 s+0.125 s2.85 MiB3.03 MiB+ 181.12 KiB
/wp-admin/post-new.php0.768 s0.639 s-0.129 s5.22 MiB5.36 MiB+ 151.75 KiB
/wp-admin/upload.php0.632 s0.525 s-0.107 s2.77 MiB2.92 MiB+ 154.88 KiB
/wp-admin/options-writing.php0.230 s0.219 s-0.011 s2.76 MiB2.91 MiB+ 146.78 KiB
/wp-admin/media-new.php0.497 s0.208 s-0.289 s2.74 MiB2.91 MiB+ 167.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.195 s-0.011 s2.76 MiB2.93 MiB+ 172.24 KiB
/wp-admin/post-new.php?post_type=page0.601 s0.592 s-0.009 s5.21 MiB5.29 MiB+ 82.76 KiB
/wp-admin/options-discussion.php0.222 s0.429 s+0.207 s2.75 MiB2.9 MiB+ 155.63 KiB
/wp-admin/edit-comments.php0.489 s0.255 s-0.234 s2.78 MiB2.93 MiB+ 154.88 KiB
/0.380 s0.219 s-0.161 s3.13 MiB3.23 MiB+ 100.84 KiB
Average 0.421 s0.365 s-0.056 s3.25 MiB3.4 MiB+ 150.81 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
PHP88.1%5,4222,10816
JavaScript7.0%4281307
CSS5.0%30733
Total 6,157 2,241 26

PHP Code Analysis | More results »

Lines of code 5,445
Total complexity 1,145
Median class complexity 54.0
Median method complexity 3.0
Most complex class Post_Views_Counter_Counter
Most complex function Post_Views_Counter_Crawler_Detect::get_crawlers_list()
Classes 15
Methods 181
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