Advanced Page Visit Counter 7.0.3

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.49 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.023 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=cf478ed7e6
Aspect after-activation
HTTP status 200
Load time 2.408 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.3: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.3:85:42)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.3:137:37\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.3:140:12\n    at webpackUniversalModuleDefinition (/wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.3:15:89)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.3: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.245 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.302 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.3: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.3:85:42)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.3:137:37\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.3:140:12\n    at webpackUniversalModuleDefinition (/wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.3:15:89)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.3: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.459 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.179 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.257 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.612 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.404 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.508 s+0.225 s3.07 MiB3.37 MiB+ 307.17 KiB
/wp-admin/edit.php0.182 s0.222 s+0.040 s3.1 MiB3.4 MiB+ 307.93 KiB
/wp-admin/post-new.php0.942 s1.497 s+0.555 s5.02 MiB5.29 MiB+ 271.84 KiB
/wp-admin/upload.php0.857 s0.325 s-0.532 s3.02 MiB3.24 MiB+ 226.88 KiB
/wp-admin/options-writing.php0.177 s0.151 s-0.026 s3.01 MiB3.22 MiB+ 213.64 KiB
/wp-admin/media-new.php0.280 s0.258 s-0.022 s2.99 MiB3.23 MiB+ 239.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.258 s+0.073 s3.01 MiB3.26 MiB+ 264.24 KiB
/wp-admin/post-new.php?post_type=page1.136 s0.884 s-0.252 s5.01 MiB5.28 MiB+ 267.43 KiB
/wp-admin/options-discussion.php0.224 s0.414 s+0.190 s3 MiB3.22 MiB+ 227.38 KiB
/wp-admin/edit-comments.php0.220 s0.225 s+0.005 s3.03 MiB3.33 MiB+ 310.15 KiB
/0.293 s0.291 s-0.002 s2.97 MiB3.22 MiB+ 251.66 KiB
Average 0.434 s0.458 s+0.023 s3.38 MiB3.64 MiB+ 262.49 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.1%46,95222,965226
JavaScript2.2%1,0501887
SVG0.5%26602
Markdown0.2%9002
CSS0.0%19415
Total 48,377 23,157 252

PHP Code Analysis | More results »

Lines of code 37,426
Total complexity 8,330
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,120
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

[08-Jul-2023 23:11:08 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
[08-Jul-2023 23:11:08 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
[08-Jul-2023 23:11:08 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
[08-Jul-2023 23:11:10 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
[08-Jul-2023 23:11: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
[08-Jul-2023 23:11:14 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