Home
WP Statistics – The Most Popular Privacy-Friendly Analytics Plugin
14.6.4
Does WP Statistics work with WordPress 6.5.3 and PHP 8.1.12? A smoke test was performed on 2024-05-07 17:38:39 UTC .
Summary
Errors
1 PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance
Memory usage: 246.28 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 version 6.5.3 PHP version 8.1.12 MySQL version 10.6.10 PHP memory limit 512M
Pages 22 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=36a8dd8a75
Aspect
after-activation
HTTP status
200
Load time
0.505 s
Memory usage
3.83 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
5.164 s
Memory usage
3.72 MiB
JS errors
None
Resource errors
None
Statistics → Views
URL
/wp-admin/admin.php?page=wps_hits_page
Aspect
menu-item
HTTP status
200
Load time
0.375 s
Memory usage
3.67 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.312 s
Memory usage
3.67 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.359 s
Memory usage
3.7 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.306 s
Memory usage
3.66 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.572 s
Memory usage
3.64 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.336 s
Memory usage
3.67 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.332 s
Memory usage
3.69 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.312 s
Memory usage
3.67 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.306 s
Memory usage
3.64 MiB
JS errors
None
Resource errors
None
Statistics → Operating Systems
URL
/wp-admin/admin.php?page=wps_platform_page
Aspect
menu-item
HTTP status
200
Load time
0.358 s
Memory usage
3.64 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.312 s
Memory usage
3.67 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.173 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
0.365 s
Memory usage
5.33 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.038 s
Memory usage
3.99 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
4.945 s
Memory usage
3.69 MiB
JS errors
None
Resource errors
None
Test site – Just another WordPress site
URL
/
Aspect
front-page
HTTP status
200
Load time
0.303 s
Memory usage
3.44 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.415 s
Memory usage
3.72 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.661 s
Memory usage
5.89 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.738 s
Memory usage
5.88 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.346 s
Memory usage
5.81 MiB
JS errors
None
Resource errors
None
Benchmark
URL
Load time
Memory usage
Inactive
Active
Change
Inactive
Active
Change
/wp-admin/index.php 0.302 s 0.470 s +0.168 s 3.44 MiB 3.72 MiB + 287.24 KiB /wp-admin/edit.php 0.180 s 0.233 s +0.053 s 3.46 MiB 3.79 MiB + 337.15 KiB /wp-admin/post-new.php 0.777 s 0.859 s +0.082 s 5.59 MiB 5.89 MiB + 310.03 KiB /wp-admin/upload.php 0.604 s 0.498 s -0.106 s 3.38 MiB 3.61 MiB + 236.8 KiB /wp-admin/options-writing.php 0.205 s 0.240 s +0.035 s 3.37 MiB 3.6 MiB + 231.11 KiB /wp-admin/media-new.php 0.273 s 0.275 s +0.002 s 3.35 MiB 3.6 MiB + 250.39 KiB /wp-admin/edit-tags.php?taxonomy=category 0.177 s 0.214 s +0.037 s 3.37 MiB 3.63 MiB + 265.14 KiB /wp-admin/post-new.php?post_type=page 0.512 s 0.620 s +0.108 s 5.58 MiB 5.88 MiB + 304.88 KiB /wp-admin/options-discussion.php 0.214 s 0.333 s +0.119 s 3.36 MiB 3.59 MiB + 238.91 KiB /wp-admin/edit-comments.php 0.502 s 0.327 s -0.175 s 3.39 MiB 3.62 MiB + 235.55 KiB / 0.305 s 0.220 s -0.085 s 3.42 MiB 3.43 MiB + 11.91 KiB
Average
0.368 s 0.390 s +0.022 s 3.79 MiB 4.03 MiB + 246.28 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 30.5% 19,692 0 280 PHP 29.8% 19,220 5,379 177 JavaScript 24.9% 16,053 1,901 51 Sass 11.3% 7,298 92 65 Markdown 2.4% 1,531 0 1 CSS 1.1% 694 47 3
Total
64,488
7,419
577
Lines of code
13,526
Total complexity
2,932
Median class complexity
16.0
Median method complexity
3.0
Most complex class
Parsedown
Most complex function
WP_STATISTICS\visitors_page::view()
Classes
101
Methods
677
Functions
22
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 9 wp_statistics_events 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
2 wp_statistics wp_statistics_date_filter 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": "Traffic Summary",
"context": "normal"
},
"wp-statistics-browsers-widget": {
"title": "Browser Usage",
"context": "normal"
},
"wp-statistics-platforms-widget": {
"title": "Most Used Operating Systems",
"context": "normal"
},
"wp-statistics-devices-widget": {
"title": "Device Usage Breakdown",
"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": "Daily Traffic Trend",
"context": "normal"
},
"wp-statistics-search-widget": {
"title": "Referrals from Search Engines",
"context": "normal"
},
"wp-statistics-pages-widget": {
"title": "Most Visited Pages",
"context": "normal"
},
"wp-statistics-top-visitors-widget": {
"title": "Most Active Visitors",
"context": "normal"
},
"wp-statistics-recent-widget": {
"title": "Latest Visitor Breakdown",
"context": "normal"
},
"wp-statistics-useronline-widget": {
"title": "Currently Online",
"context": "normal"
}
},
"post": {
"wp-statistics-post-widget": {
"title": "Daily Traffic Trend",
"context": "normal"
}
},
"page": {
"wp-statistics-post-widget": {
"title": "Daily Traffic Trend",
"context": "normal"
}
}
}
PHP Error Log 7 lines [07-May-2024 17:39:15 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:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): 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 324