Post Views Counter 1.3.11

Does Post Views Counter work with WordPress 6.0.3 and PHP 7.4.8? 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: 166.89 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.024 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.0.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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 6

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=44796119a8
Aspect after-activation
HTTP status 200
Load time 0.395 s
Memory usage 3.88 MiB
JS errors None
Resource errors None

Settings → Post Views Counter

Page screenshot: Settings → Post Views Counter
URL /wp-admin/options-general.php?page=post-views-counter
Aspect menu-item
HTTP status 200
Load time 0.444 s
Memory usage 3.83 MiB
JS errors None
Resource errors None

Settings → Post Views Counter → Display

Page screenshot: Settings → Post Views Counter → Display
URL /wp-admin/options-general.php?page=post-views-counter&tab=display
Aspect menu-item-tab
HTTP status 200
Load time 0.185 s
Memory usage 3.83 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.254 s
Memory usage 3.66 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.390 s
Memory usage 3.92 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.198 s
Memory usage 5.71 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.385 s0.452 s+0.067 s3.73 MiB3.92 MiB+ 198.37 KiB
/wp-admin/edit.php0.223 s0.283 s+0.060 s3.76 MiB3.94 MiB+ 182.25 KiB
/wp-admin/post-new.php1.118 s1.389 s+0.271 s5.55 MiB5.68 MiB+ 131.7 KiB
/wp-admin/upload.php0.485 s0.427 s-0.058 s3.69 MiB3.86 MiB+ 173.96 KiB
/wp-admin/options-writing.php0.182 s0.178 s-0.004 s3.62 MiB3.83 MiB+ 217.8 KiB
/wp-admin/media-new.php0.502 s0.216 s-0.286 s3.67 MiB3.84 MiB+ 174.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.243 s+0.029 s3.69 MiB3.86 MiB+ 175.04 KiB
/wp-admin/post-new.php?post_type=page1.007 s1.221 s+0.214 s5.55 MiB5.67 MiB+ 126.71 KiB
/wp-admin/options-discussion.php0.236 s0.290 s+0.054 s3.6 MiB3.83 MiB+ 238.38 KiB
/wp-admin/edit-comments.php0.280 s0.242 s-0.038 s3.7 MiB3.87 MiB+ 173.95 KiB
/0.301 s0.261 s-0.040 s3.62 MiB3.66 MiB+ 43.54 KiB
Average 0.448 s0.473 s+0.024 s4.02 MiB4.18 MiB+ 166.89 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
CSS
Language % Lines of code Comment lines Files
PHP84.3%4,5001,92216
CSS9.0%482444
JavaScript6.6%354806
Total 5,336 2,046 26

PHP Code Analysis | More results »

Lines of code 4,514
Total complexity 1,088
Median class complexity 45.0
Median method complexity 3.0
Most complex class Post_Views_Counter_Counter
Most complex function pvc_get_views()
Classes 15
Methods 169
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 5

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