Post Views Counter 1.7.15

Does Post Views Counter work with WordPress 7.0.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: 647.11 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.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 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=99b88f6891
Aspect after-activation
HTTP status 200
Load time 1.162 s
Memory usage 4.59 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.583 s
Memory usage 4.51 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.558 s
Memory usage 4.51 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.780 s
Memory usage 4.51 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.744 s
Memory usage 4.51 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.527 s
Memory usage 4.51 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.205 s
Memory usage 4.54 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.578 s
Memory usage 4.51 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.290 s
Memory usage 4.51 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.677 s
Memory usage 4.65 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 2.109 s
Memory usage 7.03 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.791 s0.750 s-0.041 s3.92 MiB4.65 MiB+ 746.02 KiB
/wp-admin/edit.php0.579 s0.879 s+0.300 s3.98 MiB4.66 MiB+ 696.83 KiB
/wp-admin/post-new.php2.328 s2.169 s-0.159 s6.56 MiB7.21 MiB+ 667.63 KiB
/wp-admin/upload.php0.808 s0.776 s-0.032 s3.89 MiB4.54 MiB+ 670.13 KiB
/wp-admin/options-writing.php0.604 s0.590 s-0.014 s3.86 MiB4.51 MiB+ 661.15 KiB
/wp-admin/media-new.php0.663 s1.056 s+0.393 s3.85 MiB4.51 MiB+ 669.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.550 s0.594 s+0.044 s3.86 MiB4.52 MiB+ 674.48 KiB
/wp-admin/post-new.php?post_type=page1.963 s1.677 s-0.286 s6.55 MiB7.2 MiB+ 663.52 KiB
/wp-admin/options-discussion.php0.733 s0.683 s-0.050 s3.86 MiB4.51 MiB+ 657.65 KiB
/wp-admin/edit-comments.php0.596 s0.561 s-0.035 s3.88 MiB4.59 MiB+ 720.94 KiB
/0.333 s0.226 s-0.107 s4.23 MiB4.51 MiB+ 290.52 KiB
Average 0.904 s0.906 s+0.001 s4.41 MiB5.04 MiB+ 647.11 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,8735,88837
JSON1.5%20707
JavaScript0.2%30014
CSS0.0%737
Total 14,117 5,891 65

PHP Code Analysis | More results »

Lines of code 13,898
Total complexity 3,334
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 616
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