Advanced Page Visit Counter 7.0.0

Does Advanced Page Visit Counter work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 262.48 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,000+
WordPress.org page https://wordpress.org/plugins/advanced-page-visit-counter/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

APVC Dashboard ‹ Test site — WordPress

Page screenshot: APVC Dashboard ‹ Test site — WordPress
URL /wp-admin/admin.php?page=advanced-page-visit-counter-dashboard
Requested URL /wp-admin/plugins.php?action=activate&plugin=advanced-page-visit-counter%2Fadvanced-page-visit-counter.php&plugin_status=all&paged=1&s&_wpnonce=eaac9a1afc
Aspect after-activation
HTTP status 200
Load time 2.646 s
Memory usage 3.47 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'fn')\n    at eval (webpack-internal:///./libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js:8:27)\n    at Module../libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js (/wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.0:29:1)\n    at __webpack_require__ (/wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.0:85:42)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.0:137:37\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.0:140:12\n    at webpackUniversalModuleDefinition (/wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.0:15:89)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.0:18:3",
        "trace": null,
        "code": null
    }
]
Resource errors None

Tools → Scheduled Actions

Page screenshot: Tools → Scheduled Actions
URL /wp-admin/tools.php?page=action-scheduler
Aspect menu-item
HTTP status 200
Load time 0.170 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

APVC Dashboard

Page screenshot: APVC Dashboard
URL /wp-admin/admin.php?page=advanced-page-visit-counter-dashboard
Aspect menu-item
HTTP status 200
Load time 0.307 s
Memory usage 3.25 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'fn')\n    at eval (webpack-internal:///./libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js:8:27)\n    at Module../libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js (/wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.0:29:1)\n    at __webpack_require__ (/wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.0:85:42)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.0:137:37\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.0:140:12\n    at webpackUniversalModuleDefinition (/wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.0:15:89)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.0:18:3",
        "trace": null,
        "code": null
    }
]
Resource errors None

APVC Dashboard → Affiliation

Page screenshot: APVC Dashboard → Affiliation
URL /wp-admin/admin.php?page=advanced-page-visit-counter-dashboard-affiliation
Aspect menu-item
HTTP status 200
Load time 0.475 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

APVC Dashboard → Contact Us

Page screenshot: APVC Dashboard → Contact Us
URL /wp-admin/admin.php?page=advanced-page-visit-counter-dashboard-contact
Aspect menu-item
HTTP status 200
Load time 0.164 s
Memory usage 3.27 MiB
JS errors None
Resource errors None

APVC Dashboard → Support Forum

Page screenshot: APVC Dashboard → Support Forum
URL https://wordpress.org/support/plugin/advanced-page-visit-counter/
Requested URL /wp-admin/admin.php?page=advanced-page-visit-counter-dashboard-wp-support-forum
Aspect menu-item
HTTP status 200
Load time 1.381 s
Memory usage N/A
JS errors None
Resource errors None

APVC Dashboard → Upgrade  ➤

Page screenshot: APVC Dashboard → Upgrade  ➤
URL /wp-admin/admin.php?page=advanced-page-visit-counter-dashboard-pricing
Aspect menu-item
HTTP status 200
Load time 1.275 s
Memory usage 3.29 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.395 s
Memory usage 3.22 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.283 s0.517 s+0.234 s3.07 MiB3.37 MiB+ 307.16 KiB
/wp-admin/edit.php0.187 s0.235 s+0.048 s3.1 MiB3.4 MiB+ 307.92 KiB
/wp-admin/post-new.php0.886 s1.489 s+0.603 s5.02 MiB5.29 MiB+ 271.84 KiB
/wp-admin/upload.php0.845 s0.325 s-0.520 s3.02 MiB3.24 MiB+ 226.88 KiB
/wp-admin/options-writing.php0.180 s0.148 s-0.032 s3.01 MiB3.22 MiB+ 213.63 KiB
/wp-admin/media-new.php0.281 s0.272 s-0.009 s2.99 MiB3.23 MiB+ 239.06 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.201 s+0.019 s3.01 MiB3.26 MiB+ 264.23 KiB
/wp-admin/post-new.php?post_type=page1.188 s0.792 s-0.396 s5.01 MiB5.28 MiB+ 267.42 KiB
/wp-admin/options-discussion.php0.247 s0.401 s+0.154 s3 MiB3.22 MiB+ 227.37 KiB
/wp-admin/edit-comments.php0.227 s0.213 s-0.014 s3.03 MiB3.33 MiB+ 310.14 KiB
/0.304 s0.261 s-0.043 s2.97 MiB3.22 MiB+ 251.66 KiB
Average 0.437 s0.441 s+0.004 s3.38 MiB3.64 MiB+ 262.48 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.0%46,84122,955226
JavaScript2.2%1,0501887
SVG0.6%26602
Markdown0.2%9002
CSS0.0%19415
Total 48,266 23,147 252

PHP Code Analysis | More results »

Lines of code 37,315
Total complexity 8,283
Median class complexity 12.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 148
Methods 2,118
Functions 116

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 8

Options wp_options 14

Custom Post Types 1

ID Name
scheduled-actionScheduled Actions

PHP Error Log 6 lines

[07-Jul-2023 16:47:09 UTC] PHP Deprecated:  Optional parameter $start_date declared before required parameter $type is implicitly treated as a required parameter in /wp-content/plugins/advanced-page-visit-counter/src/class-query.php on line 272
[07-Jul-2023 16:47:09 UTC] PHP Deprecated:  Optional parameter $end_date declared before required parameter $type is implicitly treated as a required parameter in /wp-content/plugins/advanced-page-visit-counter/src/class-query.php on line 272
[07-Jul-2023 16:47:09 UTC] PHP Deprecated:  Optional parameter $formatted declared before required parameter $resource_value is implicitly treated as a required parameter in /wp-content/plugins/advanced-page-visit-counter/src/class-views-cache.php on line 235
[07-Jul-2023 16:47:11 UTC] PHP Deprecated:  substr(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/advanced-page-visit-counter/src/class-helper-functions.php on line 62
[07-Jul-2023 16:47:13 UTC] PHP Deprecated:  substr(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/advanced-page-visit-counter/src/class-helper-functions.php on line 62
[07-Jul-2023 16:47:15 UTC] PHP Deprecated:  substr(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/advanced-page-visit-counter/src/class-helper-functions.php on line 62
See also: All tests for this plugin, How to Hide Advanced Page Visit Counter Admin Menus