Mechanic Visitor Counter 3.3.3

Does Mechanic Visitor Counter work with WordPress 6.8 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
26PHP warnings
33PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 11.66 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.8
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/mechanic-visitor-counter/
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=mechanic-visitor-counter%2Fwp-statsmechanic.php&plugin_status=all&paged=1&s&_wpnonce=01e70f6b18
Aspect after-activation
HTTP status 200
Load time 0.256 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Settings → Visitor Counter Options

Page screenshot: Settings → Visitor Counter Options
URL /wp-admin/options-general.php?page=plugin_statsmechanic_menu
Aspect menu-item
HTTP status 200
Load time 0.579 s
Memory usage 3.53 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.180 s
Memory usage 3.45 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.287 s
Memory usage 5.83 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.358 s0.264 s-0.094 s3.51 MiB3.52 MiB+ 19.15 KiB
/wp-admin/edit.php0.201 s0.200 s-0.001 s3.57 MiB3.59 MiB+ 16.76 KiB
/wp-admin/post-new.php0.747 s0.634 s-0.113 s6.06 MiB6.08 MiB+ 18.78 KiB
/wp-admin/upload.php0.561 s0.562 s+0.001 s3.52 MiB3.53 MiB+ 4.85 KiB
/wp-admin/options-writing.php0.217 s0.188 s-0.029 s3.5 MiB3.5 MiB+ 3.34 KiB
/wp-admin/media-new.php0.382 s0.232 s-0.150 s3.49 MiB3.5 MiB+ 11.54 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.187 s+0.007 s3.5 MiB3.53 MiB+ 22.21 KiB
/wp-admin/post-new.php?post_type=page0.592 s0.550 s-0.042 s6.05 MiB6.06 MiB+ 14.3 KiB
/wp-admin/options-discussion.php0.312 s0.277 s-0.035 s3.5 MiB3.5 MiB- 160 bytes
/wp-admin/edit-comments.php0.415 s0.191 s-0.224 s3.52 MiB3.53 MiB+ 4.84 KiB
/0.296 s0.388 s+0.092 s3.43 MiB3.45 MiB+ 12.64 KiB
Average 0.387 s0.334 s-0.053 s3.97 MiB3.98 MiB+ 11.66 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
PO File
Language % Lines of code Comment lines Files
PHP50.4%426391
PO File46.1%3901363
CSS3.5%3021
HTML0.0%081
Total 846 185 6

PHP Code Analysis | More results »

Lines of code 437
Total complexity 48
Median class complexity 24.0
Median method complexity 1.0
Most complex class Wp_StatsMechanic
Most complex function Wp_StatsMechanic::widget()
Classes 1
Methods 3
Functions 9

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 1

Sidebar Widgets 1

ID Name
wp_statsmechanicMechanic - Visitor Counter

PHP Error Log 59 lines

[16-Apr-2025 05:38:54 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:38:54 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:38:55 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:38:55 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:38:55 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:38:55 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Undefined variable $done in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Undefined variable $done in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Undefined variable $done in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Undefined variable $done in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Undefined variable $done in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Undefined variable $done in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Undefined variable $done in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Undefined variable $done in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Undefined variable $done in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Undefined variable $done in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Undefined variable $done in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Undefined variable $done in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Undefined variable $done in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:55 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/mechanic-visitor-counter/wp-statsmechanic.php on line 55
[16-Apr-2025 05:38:57 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:38:57 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:38:58 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:38:58 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:38:58 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:38:58 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:00 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:00 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:01 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:01 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:01 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:01 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:01 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:01 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:01 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:01 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:03 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:04 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:04 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:04 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:05 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:08 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:08 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[16-Apr-2025 05:39:08 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
See also: All tests for this plugin, How to Hide the "Visitor Counter Options" Admin Menu