Post Views Counter 1.4.8

Does Post Views Counter work with WordPress 6.7.1 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: 270.6 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.7.1
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 9

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=81a3013d5e
Aspect after-activation
HTTP status 200
Load time 0.282 s
Memory usage 3.81 MiB
JS errors None
Resource errors None

Post Views

Page screenshot: Post Views
URL /wp-admin/admin.php?page=post-views-counter
Aspect menu-item
HTTP status 200
Load time 0.183 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Post Views → Display

Page screenshot: Post Views → Display
URL /wp-admin/admin.php?page=post-views-counter&tab=display
Aspect menu-item
HTTP status 200
Load time 0.170 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Post Views → Display → Counting

Page screenshot: Post Views → Display → Counting
URL /wp-admin/admin.php?page=post-views-counter&tab=general
Aspect menu-item-tab
HTTP status 200
Load time 0.143 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Post Views → Reports

Page screenshot: Post Views → Reports
URL /wp-admin/admin.php?page=post-views-counter&tab=reports
Aspect menu-item
HTTP status 200
Load time 0.171 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Post Views → Other

Page screenshot: Post Views → Other
URL /wp-admin/admin.php?page=post-views-counter&tab=other
Aspect menu-item
HTTP status 200
Load time 0.134 s
Memory usage 3.74 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.154 s
Memory usage 3.55 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.332 s
Memory usage 3.79 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.493 s
Memory usage 6.01 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.268 s0.313 s+0.045 s3.48 MiB3.79 MiB+ 316.34 KiB
/wp-admin/edit.php0.187 s0.188 s+0.001 s3.54 MiB3.85 MiB+ 312.05 KiB
/wp-admin/post-new.php0.711 s0.847 s+0.136 s5.92 MiB6.2 MiB+ 282.64 KiB
/wp-admin/upload.php0.475 s0.473 s-0.002 s3.49 MiB3.78 MiB+ 288.66 KiB
/wp-admin/options-writing.php0.197 s0.171 s-0.026 s3.47 MiB3.74 MiB+ 272.34 KiB
/wp-admin/media-new.php0.232 s0.174 s-0.058 s3.46 MiB3.74 MiB+ 280.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.161 s0.165 s+0.004 s3.48 MiB3.78 MiB+ 311.17 KiB
/wp-admin/post-new.php?post_type=page0.535 s0.577 s+0.042 s5.92 MiB6.19 MiB+ 282.08 KiB
/wp-admin/options-discussion.php0.399 s0.382 s-0.017 s3.47 MiB3.74 MiB+ 268.84 KiB
/wp-admin/edit-comments.php0.226 s0.210 s-0.016 s3.49 MiB3.78 MiB+ 288.34 KiB
/0.289 s0.176 s-0.113 s3.48 MiB3.55 MiB+ 73.58 KiB
Average 0.335 s0.334 s-0.000 s3.93 MiB4.19 MiB+ 270.6 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
JavaScript
Language % Lines of code Comment lines Files
PHP80.9%6,1982,45318
JavaScript9.3%70920313
CSS6.4%49343
JSON3.0%23006
Markdown0.4%2901
Total 7,659 2,660 41

PHP Code Analysis | More results »

Lines of code 6,220
Total complexity 1,300
Median class complexity 66.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 201
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 6

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