Post Views Counter 1.7.8

Does Post Views Counter work with WordPress 6.9.4 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: 496.46 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.9.4
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 10

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=3a0b6b722c
Aspect after-activation
HTTP status 200
Load time 0.495 s
Memory usage 4.24 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.372 s
Memory usage 4.19 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.312 s
Memory usage 4.19 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.333 s
Memory usage 4.19 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.491 s
Memory usage 4.19 MiB
JS errors None
Resource errors None

Post Views → Integrations NEW!

Page screenshot: Post Views → Integrations NEW!
URL /wp-admin/admin.php?page=post-views-counter&tab=integrations
Aspect menu-item
HTTP status 200
Load time 0.302 s
Memory usage 4.19 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.321 s
Memory usage 4.19 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.283 s
Memory usage 4.35 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.420 s
Memory usage 4.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.232 s
Memory usage 6.6 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.489 s0.578 s+0.089 s3.78 MiB4.28 MiB+ 514.77 KiB
/wp-admin/edit.php0.405 s0.354 s-0.051 s3.78 MiB4.33 MiB+ 564.3 KiB
/wp-admin/post-new.php0.817 s0.959 s+0.142 s6.31 MiB6.89 MiB+ 598.66 KiB
/wp-admin/upload.php0.484 s0.552 s+0.068 s3.74 MiB4.21 MiB+ 484.84 KiB
/wp-admin/options-writing.php0.367 s0.367 s+0.000 s3.71 MiB4.19 MiB+ 488.52 KiB
/wp-admin/media-new.php0.541 s0.339 s-0.202 s3.7 MiB4.19 MiB+ 496.71 KiB
/wp-admin/edit-tags.php?taxonomy=category0.404 s0.350 s-0.054 s3.72 MiB4.21 MiB+ 507.35 KiB
/wp-admin/post-new.php?post_type=page0.769 s0.757 s-0.012 s6.3 MiB6.88 MiB+ 592.45 KiB
/wp-admin/options-discussion.php0.395 s0.422 s+0.027 s3.71 MiB4.19 MiB+ 485.02 KiB
/wp-admin/edit-comments.php0.401 s0.404 s+0.003 s3.73 MiB4.21 MiB+ 484.52 KiB
/0.317 s0.207 s-0.110 s4.11 MiB4.35 MiB+ 243.95 KiB
Average 0.490 s0.481 s-0.009 s4.24 MiB4.72 MiB+ 496.46 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
PHP97.6%9,6093,92830
JSON2.1%20207
JavaScript0.3%30014
CSS0.1%636
Total 9,847 3,931 57

PHP Code Analysis | More results »

Lines of code 9,631
Total complexity 2,143
Median class complexity 38.5
Median method complexity 3.0
Most complex class Post_Views_Counter_Settings_API
Most complex function Post_Views_Counter_Settings_API::render_field()
Classes 26
Methods 344
Functions 11

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 7

Sidebar Widgets 1

ID Name
post_views_counter_list_widgetMost Viewed Posts

Meta Boxes

{
    "dashboard": {
        "pvc_dashboard": {
            "title": "Post Views",
            "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