Post Hits Counter 2.15.23

Does Post Hits Counter work with WordPress 6.2.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: 5.93 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 version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/hits-counter/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=hits-counter%2Fhits-counter.php&plugin_status=all&paged=1&s&_wpnonce=deed0b38ee
Aspect after-activation
HTTP status 200
Load time 0.548 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

Hits Counter

Page screenshot: Hits Counter
URL /wp-admin/admin.php?page=post_hit_counter
Aspect menu-item
HTTP status 200
Load time 0.163 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

Hits Counter → Hits Counter Setting

Page screenshot: Hits Counter → Hits Counter Setting
URL /wp-admin/admin.php?page=hit_counter_setting
Aspect menu-item
HTTP status 200
Load time 0.139 s
Memory usage 2.99 MiB
JS errors None
Resource errors None

Hits Counter → Keyword Searches

Page screenshot: Hits Counter → Keyword Searches
URL /wp-admin/admin.php?page=keyword_searches
Aspect menu-item
HTTP status 200
Load time 0.134 s
Memory usage 3.01 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.264 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.301 s0.259 s-0.042 s3.07 MiB3.09 MiB+ 14.2 KiB
/wp-admin/edit.php0.196 s0.189 s-0.007 s3.1 MiB3.11 MiB+ 13.48 KiB
/wp-admin/post-new.php0.787 s0.965 s+0.178 s5.02 MiB5.04 MiB+ 18.56 KiB
/wp-admin/upload.php0.574 s0.259 s-0.315 s3.02 MiB3.01 MiB- 3.17 KiB
/wp-admin/options-writing.php0.194 s0.322 s+0.128 s3.01 MiB3 MiB- 16.41 KiB
/wp-admin/media-new.php0.361 s0.252 s-0.109 s2.99 MiB3 MiB+ 9.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.192 s-0.007 s3.01 MiB3.02 MiB+ 14.19 KiB
/wp-admin/post-new.php?post_type=page0.610 s0.640 s+0.030 s5.01 MiB5.03 MiB+ 14.15 KiB
/wp-admin/options-discussion.php0.211 s0.229 s+0.018 s3 MiB3 MiB- 2.68 KiB
/wp-admin/edit-comments.php0.223 s0.233 s+0.010 s3.03 MiB3.02 MiB- 3.14 KiB
/0.325 s0.224 s-0.101 s2.97 MiB2.98 MiB+ 7.05 KiB
Average 0.362 s0.342 s-0.020 s3.38 MiB3.39 MiB+ 5.93 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
PHP99.5%588587
Markdown0.5%301
Total 591 58 8

PHP Code Analysis | More results »

Lines of code 451
Total complexity 88
Median class complexity 24.0
Median method complexity 4.0
Most complex class PostHitCount
Most complex function ShowPostListing::timePeriod()
Classes 3
Methods 20
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.

Database Tables 3

Options wp_options 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin