Advanced Page Visit Counter 7.0.1

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: 0.022 seconds
The average page load time increased by this amount after activating the plugin.

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=020c0e042e
Aspect after-activation
HTTP status 200
Load time 2.406 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.1: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.1:85:42)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.1:137:37\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.1:140:12\n    at webpackUniversalModuleDefinition (/wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.1:15:89)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.1: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.290 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.1: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.1:85:42)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.1:137:37\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.1:140:12\n    at webpackUniversalModuleDefinition (/wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.1:15:89)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.1: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.479 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.148 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.372 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.474 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.319 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.282 s0.426 s+0.144 s3.07 MiB3.37 MiB+ 307.16 KiB
/wp-admin/edit.php0.193 s0.212 s+0.019 s3.1 MiB3.4 MiB+ 307.92 KiB
/wp-admin/post-new.php0.755 s0.989 s+0.234 s5.02 MiB5.29 MiB+ 271.84 KiB
/wp-admin/upload.php0.557 s0.318 s-0.239 s3.02 MiB3.24 MiB+ 226.88 KiB
/wp-admin/options-writing.php0.169 s0.156 s-0.013 s3.01 MiB3.22 MiB+ 213.63 KiB
/wp-admin/media-new.php0.285 s0.250 s-0.035 s2.99 MiB3.23 MiB+ 239.06 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.203 s+0.009 s3.01 MiB3.26 MiB+ 264.23 KiB
/wp-admin/post-new.php?post_type=page0.604 s0.731 s+0.127 s5.01 MiB5.28 MiB+ 267.42 KiB
/wp-admin/options-discussion.php0.213 s0.243 s+0.030 s3 MiB3.22 MiB+ 227.37 KiB
/wp-admin/edit-comments.php0.212 s0.252 s+0.040 s3.03 MiB3.33 MiB+ 310.14 KiB
/0.299 s0.229 s-0.070 s2.97 MiB3.22 MiB+ 251.66 KiB
Average 0.342 s0.364 s+0.022 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,81822,984226
JavaScript2.2%1,0501887
SVG0.6%26602
Markdown0.2%9002
CSS0.0%19415
Total 48,243 23,176 252

PHP Code Analysis | More results »

Lines of code 37,292
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 19:16:02 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 19:16:02 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 19:16:02 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 19:16:03 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 19:16:05 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 19:16:07 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