Post Views Counter 1.3.10

Does Post Views Counter work with WordPress 5.9 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: 186.88 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 version5.9
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=b714675874
Aspect after-activation
HTTP status 200
Load time 0.420 s
Memory usage 3.51 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.415 s
Memory usage 3.39 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.176 s
Memory usage 3.39 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.220 s
Memory usage 3.46 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.380 s
Memory usage 3.55 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.840 s
Memory usage 5.37 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.351 s0.350 s-0.001 s3.36 MiB3.55 MiB+ 191.54 KiB
/wp-admin/edit.php0.199 s0.249 s+0.050 s3.39 MiB3.58 MiB+ 187.66 KiB
/wp-admin/post-new.php1.013 s1.226 s+0.213 s6.14 MiB6.28 MiB+ 139.85 KiB
/wp-admin/upload.php0.438 s0.340 s-0.098 s3.24 MiB3.49 MiB+ 249.02 KiB
/wp-admin/options-writing.php0.271 s0.140 s-0.131 s3.24 MiB3.4 MiB+ 168.81 KiB
/wp-admin/media-new.php0.271 s0.181 s-0.090 s3.22 MiB3.46 MiB+ 249.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.182 s-0.006 s3.25 MiB3.5 MiB+ 250.1 KiB
/wp-admin/post-new.php?post_type=page0.964 s1.145 s+0.181 s6.14 MiB6.27 MiB+ 130.86 KiB
/wp-admin/options-discussion.php0.219 s0.267 s+0.048 s3.22 MiB3.4 MiB+ 185.45 KiB
/wp-admin/edit-comments.php0.226 s0.209 s-0.017 s3.26 MiB3.5 MiB+ 241.01 KiB
/0.266 s0.221 s-0.045 s3.4 MiB3.46 MiB+ 62.16 KiB
Average 0.401 s0.410 s+0.009 s3.81 MiB3.99 MiB+ 186.88 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
PHP83.8%4,3651,80616
CSS9.3%485444
JavaScript6.8%356486
Total 5,206 1,898 26

PHP Code Analysis | More results »

Lines of code 4,380
Total complexity 1,036
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 161
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