Post Views Counter 1.7.13

Does Post Views Counter work with WordPress 7.0.3 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.3
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=e0ff670c84
Aspect after-activation
HTTP status 200
Load time 0.736 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.581 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.951 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.539 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.524 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.516 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.356 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.511 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.247 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 1.071 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.552 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.767 s0.727 s-0.040 s3.92 MiB4.62 MiB+ 709.22 KiB
/wp-admin/edit.php0.933 s0.763 s-0.170 s3.98 MiB4.63 MiB+ 660.03 KiB
/wp-admin/post-new.php1.864 s2.086 s+0.222 s6.56 MiB7.18 MiB+ 637.34 KiB
/wp-admin/upload.php1.450 s0.765 s-0.685 s3.89 MiB4.51 MiB+ 633.34 KiB
/wp-admin/options-writing.php0.580 s0.547 s-0.033 s3.86 MiB4.47 MiB+ 624.35 KiB
/wp-admin/media-new.php0.610 s0.908 s+0.298 s3.85 MiB4.47 MiB+ 632.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.515 s0.546 s+0.031 s3.86 MiB4.49 MiB+ 637.69 KiB
/wp-admin/post-new.php?post_type=page2.692 s2.023 s-0.669 s6.55 MiB7.17 MiB+ 633.22 KiB
/wp-admin/options-discussion.php0.714 s0.638 s-0.076 s3.86 MiB4.47 MiB+ 620.85 KiB
/wp-admin/edit-comments.php0.509 s0.552 s+0.043 s3.88 MiB4.55 MiB+ 684.14 KiB
/0.297 s0.226 s-0.071 s4.23 MiB4.51 MiB+ 284.49 KiB
Average 0.994 s0.889 s-0.105 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