Home
WP Statistics – The Most Popular Privacy-Friendly Analytics Plugin
14.1.6.2
Does WP Statistics work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on 2023-09-18 19:30:15 UTC .
Summary
Errors
1 PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
1 Resource error (CSS, JS, images, fonts and so on.)
Performance
Memory usage: 369.16 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 version 6.3.1 PHP version 8.1.12 MySQL version 10.6.10 PHP memory limit 512M
Pages 23 Plugins ‹ Test site — WordPress
URL
/wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL
/wp-admin/plugins.php?action=activate&plugin=wp-statistics%2Fwp-statistics.php&plugin_status=all&paged=1&s&_wpnonce=b7b85fbcf0
Aspect
after-activation
HTTP status
200
Load time
0.577 s
Memory usage
3.7 MiB
JS errors
None
Resource errors
None
Statistics
URL
/wp-admin/admin.php?page=wps_overview_page
Aspect
menu-item
HTTP status
200
Load time
2.521 s
Memory usage
3.21 MiB
JS errors
None
Resource errors
None
Statistics → Hits
URL
/wp-admin/admin.php?page=wps_hits_page
Aspect
menu-item
HTTP status
200
Load time
0.341 s
Memory usage
3.16 MiB
JS errors
None
Resource errors
None
Statistics → Online
URL
/wp-admin/admin.php?page=wps_online_page
Aspect
menu-item
HTTP status
200
Load time
0.274 s
Memory usage
3.17 MiB
JS errors
None
Resource errors
None
Statistics → Visitors
URL
/wp-admin/admin.php?page=wps_visitors_page
Aspect
menu-item
HTTP status
200
Load time
0.338 s
Memory usage
3.19 MiB
JS errors
None
Resource errors
None
Statistics → Referrers
URL
/wp-admin/admin.php?page=wps_referrers_page
Aspect
menu-item
HTTP status
200
Load time
0.252 s
Memory usage
3.16 MiB
JS errors
None
Resource errors
None
Statistics → Search Words
URL
/wp-admin/admin.php?page=wps_words_page
Aspect
menu-item
HTTP status
200
Load time
0.261 s
Memory usage
3.16 MiB
JS errors
None
Resource errors
None
Statistics → Search Engines
URL
/wp-admin/admin.php?page=wps_searches_page
Aspect
menu-item
HTTP status
200
Load time
0.511 s
Memory usage
3.14 MiB
JS errors
None
Resource errors
None
Statistics → Post Types
URL
/wp-admin/admin.php?page=wps_pages_page
Aspect
menu-item
HTTP status
200
Load time
0.305 s
Memory usage
3.17 MiB
JS errors
None
Resource errors
None
Statistics → Taxonomies
URL
/wp-admin/admin.php?page=wps_taxonomies_page&taxonomy=category
Requested URL
/wp-admin/admin.php?page=wps_taxonomies_page
Aspect
menu-item
HTTP status
200
Load time
0.299 s
Memory usage
3.17 MiB
JS errors
None
Resource errors
None
Statistics → Authors
URL
/wp-admin/admin.php?page=wps_authors_page
Aspect
menu-item
HTTP status
200
Load time
0.256 s
Memory usage
3.16 MiB
JS errors
None
Resource errors
None
Statistics → Browsers
URL
/wp-admin/admin.php?page=wps_browser_page
Aspect
menu-item
HTTP status
200
Load time
0.331 s
Memory usage
3.14 MiB
JS errors
None
Resource errors
None
Statistics → Platforms
URL
/wp-admin/admin.php?page=wps_platform_page
Aspect
menu-item
HTTP status
200
Load time
0.291 s
Memory usage
3.14 MiB
JS errors
None
Resource errors
None
Statistics → Top Visitors Today
URL
/wp-admin/admin.php?page=wps_top-visitors_page
Aspect
menu-item
HTTP status
200
Load time
0.262 s
Memory usage
3.16 MiB
JS errors
None
Resource errors
None
Statistics →
URL
/wp-admin/admin.php?page=wps_break_menu
Aspect
menu-item
HTTP status
200
Load time
0.164 s
Memory usage
N/A
JS errors
None
Resource errors
None
Statistics → Optimization
URL
/wp-admin/admin.php?page=wps_optimization_page
Aspect
menu-item
HTTP status
200
Load time
2.214 s
Memory usage
3.2 MiB
JS errors
None
Resource errors
None
Statistics → Settings
URL
/wp-admin/admin.php?page=wps_settings_page
Aspect
menu-item
HTTP status
200
Load time
2.580 s
Memory usage
3.3 MiB
JS errors
None
Resource errors
[
{
"status": null,
"statusText": null,
"url": "https://ip.seeip.org/json",
"errorString": "net::ERR_FAILED"
}
]
Statistics → Add-Ons
URL
/wp-admin/admin.php?page=wps_plugins_page
Aspect
menu-item
HTTP status
200
Load time
2.813 s
Memory usage
3.19 MiB
JS errors
None
Resource errors
None
Test site – Just another WordPress site
URL
/
Aspect
front-page
HTTP status
200
Load time
0.284 s
Memory usage
3.34 MiB
JS errors
None
Resource errors
None
Dashboard ‹ Test site — WordPress
URL
/wp-admin/index.php
Aspect
new-meta-boxes
HTTP status
200
Load time
0.430 s
Memory usage
3.27 MiB
JS errors
None
Resource errors
None
Add New Post ‹ Test site — WordPress
URL
/wp-admin/post-new.php
Aspect
new-meta-boxes
HTTP status
200
Load time
0.814 s
Memory usage
5.62 MiB
JS errors
None
Resource errors
None
Add New Page ‹ Test site — WordPress
URL
/wp-admin/post-new.php?post_type=page
Aspect
new-meta-boxes
HTTP status
200
Load time
0.593 s
Memory usage
5.61 MiB
JS errors
None
Resource errors
None
Widgets ‹ Test site — WordPress
URL
/wp-admin/widgets.php
Aspect
new-sidebar-widgets
HTTP status
200
Load time
2.547 s
Memory usage
5.55 MiB
JS errors
None
Resource errors
None
Benchmark
URL
Load time
Memory usage
Inactive
Active
Change
Inactive
Active
Change
/wp-admin/index.php 0.347 s 0.548 s +0.201 s 2.82 MiB 3.27 MiB + 461.52 KiB /wp-admin/edit.php 0.216 s 0.213 s -0.003 s 2.85 MiB 3.28 MiB + 445.48 KiB /wp-admin/post-new.php 0.748 s 0.890 s +0.142 s 5.21 MiB 5.62 MiB + 415.25 KiB /wp-admin/upload.php 0.572 s 0.316 s -0.256 s 2.77 MiB 3.11 MiB + 348.78 KiB /wp-admin/options-writing.php 0.218 s 0.208 s -0.010 s 2.76 MiB 3.1 MiB + 341.45 KiB /wp-admin/media-new.php 0.391 s 0.244 s -0.147 s 2.74 MiB 3.09 MiB + 360.97 KiB /wp-admin/edit-tags.php?taxonomy=category 0.193 s 0.356 s +0.163 s 2.76 MiB 3.12 MiB + 371.83 KiB /wp-admin/post-new.php?post_type=page 0.588 s 0.664 s +0.076 s 5.21 MiB 5.61 MiB + 410.1 KiB /wp-admin/options-discussion.php 0.393 s 0.228 s -0.165 s 2.75 MiB 3.09 MiB + 349.24 KiB /wp-admin/edit-comments.php 0.243 s 0.228 s -0.015 s 2.78 MiB 3.12 MiB + 345.88 KiB / 0.287 s 0.204 s -0.083 s 3.13 MiB 3.33 MiB + 210.28 KiB
Average
0.381 s 0.373 s -0.009 s 3.25 MiB 3.61 MiB + 369.16 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.
Language
%
Lines of code
Comment lines
Files
SVG 34.7% 19,657 0 278 PHP 30.4% 17,232 5,120 170 JavaScript 24.0% 13,614 667 51 Sass 10.2% 5,795 91 65 CSS 0.7% 408 3 2
Total
56,706
5,881
566
Lines of code
12,897
Total complexity
2,818
Median class complexity
15.0
Median method complexity
3.0
Most complex class
Parsedown
Most complex function
WP_STATISTICS\visitors_page::view()
Classes
101
Methods
639
Functions
24
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 wp_statistics_exclusions wp_statistics_historical wp_statistics_pages wp_statistics_search wp_statistics_useronline wp_statistics_visit wp_statistics_visitor wp_statistics_visitor_relationships Options wp_options
5 widget_wp_statistics_widget wp_statistics wp_statistics_check_user_online wp_statistics_overview_page_ads wp_statistics_plugin_version User Metadata wp_usermeta
1 Sidebar Widgets 1
ID
Name
wp_statistics_widget Statistics
Meta Boxes {
"dashboard": {
"wp-statistics-quickstats-widget": {
"title": "Quick Stats",
"context": "normal"
},
"wp-statistics-summary-widget": {
"title": "Summary",
"context": "normal"
},
"wp-statistics-browsers-widget": {
"title": "Top Browsers",
"context": "normal"
},
"wp-statistics-platforms-widget": {
"title": "Top Platforms",
"context": "normal"
},
"wp-statistics-devices-widget": {
"title": "Top Devices",
"context": "normal"
},
"wp-statistics-models-widget": {
"title": "Top Device Models",
"context": "normal"
},
"wp-statistics-referring-widget": {
"title": "Top Referring",
"context": "normal"
},
"wp-statistics-hits-widget": {
"title": "Hit Statistics",
"context": "normal"
},
"wp-statistics-search-widget": {
"title": "Search Engine Referrals",
"context": "normal"
},
"wp-statistics-pages-widget": {
"title": "Top Pages",
"context": "normal"
},
"wp-statistics-top-visitors-widget": {
"title": "Top Visitors",
"context": "normal"
},
"wp-statistics-recent-widget": {
"title": "Recent Visitors",
"context": "normal"
},
"wp-statistics-useronline-widget": {
"title": "Online Users",
"context": "normal"
},
"wp-statistics-words-widget": {
"title": "Latest searched queries",
"context": "normal"
}
},
"post": {
"wp-statistics-post-widget": {
"title": "Hit Statistics",
"context": "normal"
}
},
"page": {
"wp-statistics-post-widget": {
"title": "Hit Statistics",
"context": "normal"
}
}
}
PHP Error Log 7 lines [18-Sep-2023 19:30:50 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class WP_STATISTICS\exclusions_page does not have a method "exclusions" in /wp-includes/class-wp-hook.php:310
Stack trace:
#0 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(259): do_action()
#3 {main}
thrown in /wp-includes/class-wp-hook.php on line 310