Home
WP Statistics – The Most Popular Privacy-Friendly Analytics Plugin
14.0.2
Does WP Statistics work with WordPress 6.2 and PHP 8.1.12? A smoke test was performed on 2023-03-29 19:38:13 UTC .
Summary
Errors
1 PHP fatal errors 4 PHP warnings
No JavaScript exceptions
All test pages loaded successfully
1 Resource error (CSS, JS, images, fonts and so on.)
Performance
Memory usage: 353.75 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.070 seconds
The average page load time increased by this amount after activating the plugin.
Environment
WordPress version 6.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=8585707569
Aspect
after-activation
HTTP status
200
Load time
0.581 s
Memory usage
3.69 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.575 s
Memory usage
3.44 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.365 s
Memory usage
3.4 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.218 s
Memory usage
3.4 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.252 s
Memory usage
3.42 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.203 s
Memory usage
3.4 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.198 s
Memory usage
3.4 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.357 s
Memory usage
3.37 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.245 s
Memory usage
3.39 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.234 s
Memory usage
3.4 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.241 s
Memory usage
3.4 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.231 s
Memory usage
3.38 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.227 s
Memory usage
3.38 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.215 s
Memory usage
3.4 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.132 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.186 s
Memory usage
3.44 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
3.040 s
Memory usage
3.54 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.268 s
Memory usage
3.42 MiB
JS errors
None
Resource errors
None
Test site – Just another WordPress site
URL
/
Aspect
front-page
HTTP status
200
Load time
0.292 s
Memory usage
3.24 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.296 s
Memory usage
3.51 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.689 s
Memory usage
5.39 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.744 s
Memory usage
5.37 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.33 MiB
JS errors
None
Resource errors
None
Benchmark
URL
Load time
Memory usage
Inactive
Active
Change
Inactive
Active
Change
/wp-admin/index.php 0.661 s 0.407 s -0.254 s 3.07 MiB 3.51 MiB + 442.66 KiB /wp-admin/edit.php 0.174 s 0.225 s +0.051 s 3.1 MiB 3.53 MiB + 434.62 KiB /wp-admin/post-new.php 0.751 s 1.684 s +0.933 s 5.02 MiB 5.39 MiB + 374.87 KiB /wp-admin/upload.php 0.549 s 0.574 s +0.025 s 3.02 MiB 3.34 MiB + 329.91 KiB /wp-admin/options-writing.php 0.170 s 0.161 s -0.009 s 3.02 MiB 3.33 MiB + 317.37 KiB /wp-admin/media-new.php 0.265 s 0.260 s -0.005 s 2.99 MiB 3.33 MiB + 342.09 KiB /wp-admin/edit-tags.php?taxonomy=category 0.187 s 0.200 s +0.013 s 3.01 MiB 3.35 MiB + 352.95 KiB /wp-admin/post-new.php?post_type=page 0.634 s 0.639 s +0.005 s 5.01 MiB 5.37 MiB + 365.71 KiB /wp-admin/options-discussion.php 0.201 s 0.273 s +0.072 s 3 MiB 3.33 MiB + 330.37 KiB /wp-admin/edit-comments.php 0.232 s 0.230 s -0.002 s 3.03 MiB 3.35 MiB + 327.01 KiB / 0.272 s 0.212 s -0.060 s 2.97 MiB 3.24 MiB + 273.72 KiB
Average
0.372 s 0.442 s +0.070 s 3.39 MiB 3.73 MiB + 353.75 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 43.6% 19,685 0 278 PHP 38.0% 17,159 5,075 168 Sass 12.5% 5,623 88 64 JavaScript 4.9% 2,225 570 47 CSS 0.9% 408 3 2
Total
45,100
5,736
559
Lines of code
12,629
Total complexity
2,756
Median class complexity
15.0
Median method complexity
3.0
Most complex class
Parsedown
Most complex function
WP_STATISTICS\visitors_page::view()
Classes
100
Methods
629
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 11 lines [29-Mar-2023 19:38:43 UTC] PHP Warning: Undefined variable $DateRang in /wp-content/plugins/wp-statistics/includes/admin/templates/layout/date.range.php on line 91
[29-Mar-2023 19:38:43 UTC] PHP Warning: Trying to access array offset on value of type null in /wp-content/plugins/wp-statistics/includes/admin/templates/layout/date.range.php on line 91
[29-Mar-2023 19:38:43 UTC] PHP Warning: Undefined variable $DateRang in /wp-content/plugins/wp-statistics/includes/admin/templates/layout/date.range.php on line 92
[29-Mar-2023 19:38:43 UTC] PHP Warning: Trying to access array offset on value of type null in /wp-content/plugins/wp-statistics/includes/admin/templates/layout/date.range.php on line 92
[29-Mar-2023 19:38: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: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