WP-PostViews 1.78.1

Does WP-PostViews work with WordPress 7.0.2 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: 32.45 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/wp-postviews/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=wp-postviews%2Fwp-postviews.php&plugin_status=all&paged=1&s&_wpnonce=c2c2436317
Aspect after-activation
HTTP status 200
Load time 0.948 s
Memory usage 3.92 MiB
JS errors None
Resource errors None

Settings → PostViews

Page screenshot: Settings → PostViews
URL /wp-admin/options-general.php?page=wp-postviews%2Fpostviews-options.php
Requested URL /wp-admin/options-general.php?page=wp-postviews/postviews-options.php
Aspect menu-item
HTTP status 200
Load time 0.487 s
Memory usage 3.91 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.219 s
Memory usage 4.26 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.584 s
Memory usage 6.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.657 s0.577 s-0.080 s3.92 MiB3.96 MiB+ 37.9 KiB
/wp-admin/edit.php0.535 s0.692 s+0.157 s3.98 MiB4.02 MiB+ 41.36 KiB
/wp-admin/post-new.php2.053 s1.579 s-0.474 s6.56 MiB6.6 MiB+ 43.8 KiB
/wp-admin/upload.php0.762 s0.706 s-0.056 s3.89 MiB3.91 MiB+ 20.46 KiB
/wp-admin/options-writing.php0.543 s0.536 s-0.007 s3.86 MiB3.89 MiB+ 24.45 KiB
/wp-admin/media-new.php0.584 s0.914 s+0.330 s3.85 MiB3.88 MiB+ 32.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.509 s0.510 s+0.001 s3.86 MiB3.9 MiB+ 37.82 KiB
/wp-admin/post-new.php?post_type=page1.800 s1.449 s-0.351 s6.55 MiB6.59 MiB+ 39.33 KiB
/wp-admin/options-discussion.php0.756 s0.775 s+0.019 s3.86 MiB3.88 MiB+ 20.95 KiB
/wp-admin/edit-comments.php0.550 s0.523 s-0.027 s3.88 MiB3.9 MiB+ 20.45 KiB
/0.315 s0.222 s-0.093 s4.23 MiB4.26 MiB+ 37.82 KiB
Average 0.824 s0.771 s-0.053 s4.41 MiB4.44 MiB+ 32.45 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
PHP97.7%1,074893
JavaScript2.3%2501
Total 1,099 89 4

PHP Code Analysis | More results »

Lines of code 874
Total complexity 188
Median class complexity 11.0
Median method complexity 2.5
Most complex class WP_Widget_PostViews
Most complex function process_postviews()
Classes 1
Methods 4
Functions 38

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.

Options wp_options 2

Sidebar Widgets 1

ID Name
viewsViews

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "PostViews" Admin Menu