Home
WP Statistics – The Most Popular Privacy-Friendly Analytics Plugin
14.3.4
Does WP Statistics work with WordPress 6.4.2 and PHP 8.1.12? A smoke test was performed on 2024-01-01 13:55:09 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.) 1 net::ERR_CERT_DATE_INVALID
Performance
Memory usage: 389.49 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.4.2 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=2f5d72f3b7
Aspect
after-activation
HTTP status
200
Load time
0.646 s
Memory usage
4.1 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.268 s
Memory usage
3.85 MiB
JS errors
None
Resource errors
None
Statistics → Visits
URL
/wp-admin/admin.php?page=wps_hits_page
Aspect
menu-item
HTTP status
200
Load time
0.396 s
Memory usage
3.75 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.353 s
Memory usage
3.75 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.467 s
Memory usage
3.78 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.380 s
Memory usage
3.74 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.306 s
Memory usage
3.75 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.337 s
Memory usage
3.72 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.327 s
Memory usage
3.75 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.386 s
Memory usage
3.76 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.328 s
Memory usage
3.75 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.382 s
Memory usage
3.72 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.366 s
Memory usage
3.72 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.328 s
Memory usage
3.75 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.207 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.447 s
Memory usage
3.79 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
0.603 s
Memory usage
3.89 MiB
JS errors
None
Resource errors
[
{
"status": null,
"statusText": null,
"url": "https://ip.seeip.org/json",
"errorString": "net::ERR_CERT_DATE_INVALID"
}
]
Statistics → Add-Ons
URL
/wp-admin/admin.php?page=wps_plugins_page
Aspect
menu-item
HTTP status
200
Load time
2.524 s
Memory usage
3.77 MiB
JS errors
None
Resource errors
None
Test site – Just another WordPress site
URL
/
Aspect
front-page
HTTP status
200
Load time
0.350 s
Memory usage
3.53 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.560 s
Memory usage
3.86 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
1.125 s
Memory usage
5.88 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.934 s
Memory usage
5.86 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.749 s
Memory usage
5.82 MiB
JS errors
None
Resource errors
None
Benchmark
URL
Load time
Memory usage
Inactive
Active
Change
Inactive
Active
Change
/wp-admin/index.php 0.494 s 0.717 s +0.223 s 3.38 MiB 3.86 MiB + 490.41 KiB /wp-admin/edit.php 0.293 s 0.293 s +0.000 s 3.41 MiB 3.87 MiB + 475.96 KiB /wp-admin/post-new.php 1.197 s 1.469 s +0.272 s 5.46 MiB 5.88 MiB + 427.93 KiB /wp-admin/upload.php 0.661 s 0.602 s -0.059 s 3.32 MiB 3.69 MiB + 377.25 KiB /wp-admin/options-writing.php 0.249 s 0.279 s +0.030 s 3.32 MiB 3.68 MiB + 371.33 KiB /wp-admin/media-new.php 0.364 s 0.368 s +0.004 s 3.29 MiB 3.68 MiB + 390.23 KiB /wp-admin/edit-tags.php?taxonomy=category 0.232 s 0.262 s +0.030 s 3.31 MiB 3.71 MiB + 406.52 KiB /wp-admin/post-new.php?post_type=page 1.119 s 0.819 s -0.300 s 5.45 MiB 5.86 MiB + 422.78 KiB /wp-admin/options-discussion.php 0.555 s 0.364 s -0.191 s 3.3 MiB 3.67 MiB + 379.98 KiB /wp-admin/edit-comments.php 0.308 s 0.341 s +0.033 s 3.34 MiB 3.7 MiB + 375.14 KiB / 0.318 s 0.299 s -0.019 s 3.36 MiB 3.52 MiB + 166.81 KiB
Average
0.526 s 0.528 s +0.002 s 3.72 MiB 4.1 MiB + 389.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.
Language
%
Lines of code
Comment lines
Files
SVG 32.6% 19,692 0 280 PHP 29.4% 17,751 5,351 171 JavaScript 26.5% 16,011 1,891 52 Sass 10.3% 6,236 93 65 CSS 1.1% 691 47 3
Total
60,381
7,382
571
Lines of code
13,138
Total complexity
2,850
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
650
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
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 Platforms",
"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"
},
"wp-statistics-words-widget": {
"title": "Recent Search Queries",
"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 [01-Jan-2024 13:55:49 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