Post Views Counter 1.7.13

Does Post Views Counter work with WordPress 7.0 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: 614.29 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 version7.0
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 11

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=1d029d8d3e
Aspect after-activation
HTTP status 200
Load time 0.932 s
Memory usage 4.56 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.505 s
Memory usage 4.47 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.483 s
Memory usage 4.47 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.639 s
Memory usage 4.47 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.609 s
Memory usage 4.47 MiB
JS errors None
Resource errors None

Post Views → Integrations

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

Post Views → Emails NEW!

Page screenshot: Post Views → Emails NEW!
URL /wp-admin/admin.php?page=post-views-counter&tab=emails
Aspect menu-item
HTTP status 200
Load time 1.081 s
Memory usage 4.5 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.536 s
Memory usage 4.47 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.225 s
Memory usage 4.5 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.940 s
Memory usage 4.62 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.440 s
Memory usage 6.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.658 s0.669 s+0.011 s3.92 MiB4.62 MiB+ 709.22 KiB
/wp-admin/edit.php0.573 s0.653 s+0.080 s3.98 MiB4.63 MiB+ 660.03 KiB
/wp-admin/post-new.php1.971 s1.957 s-0.014 s6.56 MiB7.18 MiB+ 637.34 KiB
/wp-admin/upload.php0.709 s0.681 s-0.028 s3.89 MiB4.51 MiB+ 633.34 KiB
/wp-admin/options-writing.php0.502 s0.481 s-0.021 s3.86 MiB4.47 MiB+ 624.35 KiB
/wp-admin/media-new.php0.565 s0.498 s-0.067 s3.85 MiB4.47 MiB+ 632.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.477 s0.532 s+0.055 s3.86 MiB4.49 MiB+ 637.69 KiB
/wp-admin/post-new.php?post_type=page1.729 s1.539 s-0.190 s6.55 MiB7.17 MiB+ 633.22 KiB
/wp-admin/options-discussion.php0.705 s0.741 s+0.036 s3.86 MiB4.47 MiB+ 620.85 KiB
/wp-admin/edit-comments.php0.516 s0.504 s-0.012 s3.88 MiB4.55 MiB+ 684.14 KiB
/0.279 s0.211 s-0.068 s4.23 MiB4.51 MiB+ 284.49 KiB
Average 0.789 s0.770 s-0.020 s4.4 MiB5 MiB+ 614.29 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
PHP98.3%13,3665,71237
JSON1.5%20207
JavaScript0.2%30014
CSS0.0%636
Total 13,604 5,715 64

PHP Code Analysis | More results »

Lines of code 13,388
Total complexity 3,177
Median class complexity 50.0
Median method complexity 3.0
Most complex class Post_Views_Counter_Counter
Most complex function Post_Views_Counter_Settings_API::render_field()
Classes 33
Methods 599
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 8

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