Home
WP Statistics – The Most Popular Privacy-Friendly Analytics Plugin
13.2.12
Does WP Statistics work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on 2023-01-08 08:18:53 UTC .
Summary
Errors
1 PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance
Memory usage: 349.58 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.1.1 PHP version 8.1.12 MySQL version 10.6.10 PHP memory limit 512M
Pages 24 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=e26c3104ef
Aspect
after-activation
HTTP status
200
Load time
0.462 s
Memory usage
3.65 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.095 s
Memory usage
3.36 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.388 s
Memory usage
3.35 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.193 s
Memory usage
3.36 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.217 s
Memory usage
3.39 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.186 s
Memory usage
3.36 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.178 s
Memory usage
3.36 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.177 s
Memory usage
3.34 MiB
JS errors
None
Resource errors
None
Statistics → Pages
URL
/wp-admin/admin.php?page=wps_pages_page
Aspect
menu-item
HTTP status
200
Load time
0.214 s
Memory usage
3.35 MiB
JS errors
None
Resource errors
None
Statistics → Categories
URL
/wp-admin/admin.php?page=wps_categories_page
Aspect
menu-item
HTTP status
200
Load time
0.212 s
Memory usage
3.36 MiB
JS errors
None
Resource errors
None
Statistics → Tags
URL
/wp-admin/admin.php?page=wps_tags_page
Aspect
menu-item
HTTP status
200
Load time
0.226 s
Memory usage
3.35 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.369 s
Memory usage
3.36 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.213 s
Memory usage
3.34 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.183 s
Memory usage
3.34 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.175 s
Memory usage
3.36 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.124 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
1.973 s
Memory usage
3.39 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
1.810 s
Memory usage
3.49 MiB
JS errors
None
Resource errors
None
Statistics → Add-Ons
URL
/wp-admin/admin.php?page=wps_plugins_page
Aspect
menu-item
HTTP status
200
Load time
2.308 s
Memory usage
3.37 MiB
JS errors
None
Resource errors
None
Test site – Just another WordPress site
URL
/
Aspect
front-page
HTTP status
200
Load time
0.220 s
Memory usage
3.21 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.273 s
Memory usage
3.47 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.607 s
Memory usage
5.33 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.617 s
Memory usage
5.31 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
1.279 s
Memory usage
5.28 MiB
JS errors
None
Resource errors
None
Benchmark
URL
Load time
Memory usage
Inactive
Active
Change
Inactive
Active
Change
/wp-admin/index.php 0.617 s 0.338 s -0.279 s 3.05 MiB 3.47 MiB + 435.01 KiB /wp-admin/edit.php 0.163 s 0.269 s +0.106 s 3.07 MiB 3.48 MiB + 416.55 KiB /wp-admin/post-new.php 0.749 s 0.960 s +0.211 s 4.97 MiB 5.33 MiB + 370.3 KiB /wp-admin/upload.php 0.616 s 0.430 s -0.186 s 2.99 MiB 3.31 MiB + 324.83 KiB /wp-admin/options-writing.php 0.152 s 0.154 s +0.002 s 2.99 MiB 3.29 MiB + 312.18 KiB /wp-admin/media-new.php 0.273 s 0.233 s -0.040 s 2.97 MiB 3.3 MiB + 337.02 KiB /wp-admin/edit-tags.php?taxonomy=category 0.176 s 0.182 s +0.006 s 2.98 MiB 3.34 MiB + 367.88 KiB /wp-admin/post-new.php?post_type=page 0.763 s 0.870 s +0.107 s 4.96 MiB 5.31 MiB + 361.14 KiB /wp-admin/options-discussion.php 0.287 s 0.241 s -0.046 s 2.97 MiB 3.29 MiB + 325.29 KiB /wp-admin/edit-comments.php 0.198 s 0.181 s -0.017 s 3 MiB 3.31 MiB + 321.93 KiB / 0.257 s 0.202 s -0.055 s 2.94 MiB 3.21 MiB + 273.27 KiB
Average
0.386 s 0.369 s -0.017 s 3.35 MiB 3.7 MiB + 349.58 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
PHP 75.9% 16,203 5,047 156 Sass 14.5% 3,095 42 38 JavaScript 9.3% 1,976 522 44 SVG 0.3% 60 0 2
Total
21,334
5,611
240
Lines of code
12,035
Total complexity
2,697
Median class complexity
17.0
Median method complexity
3.0
Most complex class
Parsedown
Most complex function
WP_STATISTICS\visitors_page::view()
Classes
95
Methods
592
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 10 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 10 Pages",
"context": "normal"
},
"wp-statistics-top-visitors-widget": {
"title": "Top 10 Visitors Today",
"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 Search Words",
"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 [08-Jan-2023 08:19:35 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:308
Stack trace:
#0 /wp-includes/class-wp-hook.php(332): 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 308