Post Views 4.2

Does Post_views_plugin work with WordPress 7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
29PHP warnings
2PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: -1.18 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.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/post-views-new/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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-new%2Fpost_views.php&plugin_status=all&paged=1&s&_wpnonce=28b29a7780
Aspect after-activation
HTTP status 200
Load time 0.699 s
Memory usage 4.24 MiB
JS errors None
Resource errors None

Settings → Post Views

Page screenshot: Settings → Post Views
URL /wp-admin/options-general.php?page=post_views
Aspect menu-item
HTTP status 200
Load time 0.691 s
Memory usage 4.24 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.256 s
Memory usage 4.61 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.330 s0.595 s-0.735 s4.23 MiB4.23 MiB+ 5.45 KiB
/wp-admin/edit.php0.535 s0.514 s-0.021 s4.28 MiB4.29 MiB+ 5.85 KiB
/wp-admin/post-new.php1.956 s1.845 s-0.111 s6.78 MiB6.79 MiB+ 9.59 KiB
/wp-admin/upload.php1.445 s0.951 s-0.494 s4.25 MiB4.23 MiB- 11.97 KiB
/wp-admin/options-writing.php0.552 s0.951 s+0.399 s4.22 MiB4.21 MiB- 7.98 KiB
/wp-admin/media-new.php0.740 s0.519 s-0.221 s4.21 MiB4.21 MiB+ 232 bytes
/wp-admin/edit-tags.php?taxonomy=category0.544 s0.501 s-0.043 s4.22 MiB4.23 MiB+ 5.41 KiB
/wp-admin/post-new.php?post_type=page1.845 s1.834 s-0.011 s6.76 MiB6.76 MiB+ 5.12 KiB
/wp-admin/options-discussion.php0.823 s0.797 s-0.026 s4.23 MiB4.21 MiB- 15.47 KiB
/wp-admin/edit-comments.php0.542 s0.517 s-0.025 s4.24 MiB4.23 MiB- 11.97 KiB
/0.287 s0.193 s-0.094 s4.6 MiB4.61 MiB+ 2.76 KiB
Average 0.964 s0.838 s-0.126 s4.73 MiB4.73 MiB- 1.18 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
PHP100.0%150975
Total 150 97 5

PHP Code Analysis | More results »

Lines of code 74
Total complexity 8
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function post_views()
Classes 0
Methods 0
Functions 4

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.

No new entries found.

PHP Error Log 31 lines

[14-Sep-2026 03:27:40 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:40 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:41 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:42 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:42 UTC] PHP Deprecated:  Function screen_icon is <strong>deprecated</strong> since version 3.8.0 with no alternative available. in /wp-includes/functions.php on line 6260
[14-Sep-2026 03:27:42 UTC] PHP Deprecated:  Function get_screen_icon is <strong>deprecated</strong> since version 3.8.0 with no alternative available. in /wp-includes/functions.php on line 6260
[14-Sep-2026 03:27:43 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:44 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:44 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:45 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:45 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:48 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:48 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:48 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:48 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:48 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:49 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:49 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:50 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:51 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:51 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:54 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:54 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:54 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:54 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:54 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:55 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:55 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:55 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:56 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
[14-Sep-2026 03:27:57 UTC] PHP Warning:  Constant WP_SITEURL already defined in /wp-content/plugins/post-views-new/post_views.php on line 26
See also: All tests for this plugin, How to Hide the "Post Views" Admin Menu