Post Views Counter 1.4.7

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: 231.8 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=482812965a
Aspect after-activation
HTTP status 200
Load time 0.282 s
Memory usage 3.76 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.181 s
Memory usage 3.71 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.190 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Post Views → Display → General

Page screenshot: Post Views → Display → General
URL /wp-admin/admin.php?page=post-views-counter&tab=general
Aspect menu-item-tab
HTTP status 200
Load time 0.168 s
Memory usage 3.71 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.188 s
Memory usage 3.71 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.136 s
Memory usage 3.71 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.170 s
Memory usage 3.52 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.429 s
Memory usage 3.76 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.514 s
Memory usage 6.05 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.303 s0.338 s+0.035 s3.48 MiB3.76 MiB+ 288.3 KiB
/wp-admin/edit.php0.185 s0.210 s+0.025 s3.54 MiB3.8 MiB+ 261.3 KiB
/wp-admin/post-new.php0.740 s1.082 s+0.342 s5.92 MiB6.17 MiB+ 248.13 KiB
/wp-admin/upload.php0.504 s0.395 s-0.109 s3.49 MiB3.73 MiB+ 237.54 KiB
/wp-admin/options-writing.php0.204 s0.160 s-0.044 s3.47 MiB3.71 MiB+ 241.22 KiB
/wp-admin/media-new.php0.252 s0.186 s-0.066 s3.46 MiB3.71 MiB+ 249.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.191 s+0.006 s3.48 MiB3.73 MiB+ 260.05 KiB
/wp-admin/post-new.php?post_type=page0.572 s0.561 s-0.011 s5.92 MiB6.16 MiB+ 242.78 KiB
/wp-admin/options-discussion.php0.470 s0.300 s-0.170 s3.47 MiB3.71 MiB+ 237.72 KiB
/wp-admin/edit-comments.php0.233 s0.198 s-0.035 s3.49 MiB3.73 MiB+ 237.22 KiB
/0.287 s0.181 s-0.106 s3.48 MiB3.52 MiB+ 46.1 KiB
Average 0.358 s0.346 s-0.012 s3.93 MiB4.16 MiB+ 231.8 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
PHP85.4%6,0932,37616
JavaScript7.3%5191957
CSS6.9%49343
Markdown0.4%2901
Total 7,134 2,575 27

PHP Code Analysis | More results »

Lines of code 6,118
Total complexity 1,273
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 195
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