Advanced Page Visit Counter 7.0.4

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

Page speed impact: 0.032 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=1b81d0131a
Aspect after-activation
HTTP status 200
Load time 2.349 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.4: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.4:85:42)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.4:137:37\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.4:140:12\n    at webpackUniversalModuleDefinition (/wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.4:15:89)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.4: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.168 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.259 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.4: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.4:85:42)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.4:137:37\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.4:140:12\n    at webpackUniversalModuleDefinition (/wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.4:15:89)\n    at /wp-content/plugins/advanced-page-visit-counter/admin/assets/vendor/libs/bootstrap-daterangepicker/bootstrap-daterangepicker.js?ver=7.0.4: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.455 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.238 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.394 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.449 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.383 s
Memory usage 3.21 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.270 s0.571 s+0.301 s3.07 MiB3.37 MiB+ 306.95 KiB
/wp-admin/edit.php0.174 s0.231 s+0.057 s3.1 MiB3.4 MiB+ 307.7 KiB
/wp-admin/post-new.php0.824 s1.383 s+0.559 s5.02 MiB5.29 MiB+ 273.59 KiB
/wp-admin/upload.php0.829 s0.303 s-0.526 s3.02 MiB3.24 MiB+ 226.66 KiB
/wp-admin/options-writing.php0.169 s0.144 s-0.025 s3.01 MiB3.22 MiB+ 213.41 KiB
/wp-admin/media-new.php0.255 s0.241 s-0.014 s2.99 MiB3.23 MiB+ 238.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.294 s+0.114 s3.01 MiB3.26 MiB+ 264.02 KiB
/wp-admin/post-new.php?post_type=page1.072 s0.807 s-0.265 s5.01 MiB5.28 MiB+ 269.17 KiB
/wp-admin/options-discussion.php0.195 s0.399 s+0.204 s3 MiB3.22 MiB+ 227.15 KiB
/wp-admin/edit-comments.php0.209 s0.209 s+0.000 s3.03 MiB3.33 MiB+ 309.92 KiB
/0.322 s0.271 s-0.051 s2.97 MiB3.22 MiB+ 251.44 KiB
Average 0.409 s0.441 s+0.032 s3.38 MiB3.64 MiB+ 262.62 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%47,69322,963226
JavaScript2.2%1,0731887
SVG0.5%26602
Markdown0.2%9002
CSS0.0%19415
Total 49,141 23,155 252

PHP Code Analysis | More results »

Lines of code 38,167
Total complexity 8,365
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,122
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 11

Custom Post Types 1

ID Name
scheduled-actionScheduled Actions

PHP Error Log 6 lines

[09-Jul-2023 07:23:11 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
[09-Jul-2023 07:23:11 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
[09-Jul-2023 07:23:11 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
[09-Jul-2023 07:23: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
[09-Jul-2023 07:23: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
[09-Jul-2023 07:23:16 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