WP Statistics 14.11.3

Does WP Statistics work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 299.32 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.075 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 600,000+
WordPress.org page https://wordpress.org/plugins/wp-statistics/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 18

Plugins ‹ Test site — WordPress

Page screenshot: 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=d1ef2ac3e4
Aspect after-activation
HTTP status 200
Load time 0.731 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

Statistics

Page screenshot: Statistics
URL /wp-admin/admin.php?page=wps_overview_page
Aspect menu-item
HTTP status 200
Load time 0.907 s
Memory usage 3.82 MiB
JS errors None
Resource errors None

Statistics → Visitor Insights

Page screenshot: Statistics → Visitor Insights
URL /wp-admin/admin.php?page=wps_visitors_page
Aspect menu-item
HTTP status 200
Load time 0.519 s
Memory usage 3.79 MiB
JS errors None
Resource errors None

Statistics → Page Insights

Page screenshot: Statistics → Page Insights
URL /wp-admin/admin.php?page=wps_pages_page
Aspect menu-item
HTTP status 200
Load time 0.357 s
Memory usage 3.9 MiB
JS errors None
Resource errors None

Statistics → Referrals

Page screenshot: Statistics → Referrals
URL /wp-admin/admin.php?page=wps_referrals_page
Aspect menu-item
HTTP status 200
Load time 0.393 s
Memory usage 3.79 MiB
JS errors None
Resource errors None

Statistics → Content Analytics

Page screenshot: Statistics → Content Analytics
URL /wp-admin/admin.php?page=wps_content-analytics_page
Aspect menu-item
HTTP status 200
Load time 0.406 s
Memory usage 3.9 MiB
JS errors None
Resource errors None

Statistics → Author Analytics

Page screenshot: Statistics → Author Analytics
URL /wp-admin/admin.php?page=wps_author-analytics_page
Aspect menu-item
HTTP status 200
Load time 0.439 s
Memory usage 4.22 MiB
JS errors None
Resource errors None

Statistics → Category Analytics

Page screenshot: Statistics → Category Analytics
URL /wp-admin/admin.php?page=wps_category-analytics_page
Aspect menu-item
HTTP status 200
Load time 0.394 s
Memory usage 3.83 MiB
JS errors None
Resource errors None

Statistics → Geographic

Page screenshot: Statistics → Geographic
URL /wp-admin/admin.php?page=wps_geographic_page
Aspect menu-item
HTTP status 200
Load time 1.402 s
Memory usage 3.86 MiB
JS errors None
Resource errors None

Statistics → Devices

Page screenshot: Statistics → Devices
URL /wp-admin/admin.php?page=wps_devices_page
Aspect menu-item
HTTP status 200
Load time 0.329 s
Memory usage 3.78 MiB
JS errors None
Resource errors None

Statistics →

Page screenshot: Statistics →
URL /wp-admin/admin.php?page=wps_break_menu
Aspect menu-item
HTTP status 200
Load time 3.026 s
Memory usage 3.97 MiB
JS errors None
Resource errors None

Statistics → Add-Ons

Page screenshot: Statistics → Add-Ons
URL /wp-admin/admin.php?page=wps_plugins_page
Aspect menu-item
HTTP status 200
Load time 0.345 s
Memory usage 3.87 MiB
JS errors None
Resource errors None

Statistics → Privacy Audit

Page screenshot: Statistics → Privacy Audit
URL /wp-admin/admin.php?page=wps_privacy-audit_page
Aspect menu-item
HTTP status 200
Load time 0.402 s
Memory usage 3.78 MiB
JS errors None
Resource errors None

Statistics → Settings

Page screenshot: Statistics → Settings
URL /wp-admin/admin.php?page=wps_settings_page
Aspect menu-item
HTTP status 200
Load time 0.789 s
Memory usage 4.12 MiB
JS errors None
Resource errors None

Statistics → Optimization

Page screenshot: Statistics → Optimization
URL /wp-admin/admin.php?page=wps_optimization_page
Aspect menu-item
HTTP status 200
Load time 0.581 s
Memory usage 3.83 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.307 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.608 s
Memory usage 3.83 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.580 s
Memory usage 6.09 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.285 s0.540 s+0.255 s3.48 MiB3.83 MiB+ 355.56 KiB
/wp-admin/edit.php0.169 s0.320 s+0.151 s3.54 MiB3.93 MiB+ 399.27 KiB
/wp-admin/post-new.php0.695 s0.898 s+0.203 s5.92 MiB6.27 MiB+ 354.2 KiB
/wp-admin/upload.php0.470 s0.336 s-0.134 s3.49 MiB3.78 MiB+ 288.11 KiB
/wp-admin/options-writing.php0.225 s0.212 s-0.013 s3.47 MiB3.76 MiB+ 291.48 KiB
/wp-admin/media-new.php0.248 s0.482 s+0.234 s3.46 MiB3.76 MiB+ 299.67 KiB
/wp-admin/edit-tags.php?taxonomy=category0.151 s0.219 s+0.068 s3.48 MiB3.79 MiB+ 325.19 KiB
/wp-admin/post-new.php?post_type=page0.531 s0.631 s+0.100 s5.92 MiB6.26 MiB+ 349.76 KiB
/wp-admin/options-discussion.php0.261 s0.238 s-0.023 s3.47 MiB3.76 MiB+ 287.98 KiB
/wp-admin/edit-comments.php0.192 s0.224 s+0.032 s3.49 MiB3.77 MiB+ 287.48 KiB
/0.269 s0.218 s-0.051 s3.48 MiB3.53 MiB+ 53.8 KiB
Average 0.318 s0.393 s+0.075 s3.93 MiB4.22 MiB+ 299.32 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.

YAML
PHP
JavaScript
SVG
Sass
Language % Lines of code Comment lines Files
YAML30.8%50,4653,53220
PHP25.5%41,74312,805471
JavaScript20.7%33,8712,60265
SVG12.8%20,9720325
Sass9.5%15,5059270
CSS0.5%825546
HTML0.1%18702
XML0.0%79131
Total 163,647 19,098 960

PHP Code Analysis | More results »

Lines of code 32,289
Total complexity 5,556
Median class complexity 7.0
Median method complexity 2.0
Most complex class WP_STATISTICS\Helper
Most complex function WP_Statistics\Service\Admin\SiteHealthInfo::addStatisticsInfo()
Classes 309
Methods 1,750
Functions 25

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

Options wp_options 7

User Metadata wp_usermeta 2

Sidebar Widgets 1

ID Name
wp_statistics_widgetStatistics

Meta Boxes

{
    "dashboard": {
        "wp-statistics-quickstats-widget": {
            "title": "Traffic Overview",
            "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 Model",
            "context": "normal"
        },
        "wp-statistics-countries-widget": {
            "title": "Top Countries",
            "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-hitsmap-widget": {
            "title": "Global Visitor Distribution",
            "context": "normal"
        },
        "wp-statistics-useronline-widget": {
            "title": "Currently Online",
            "context": "normal"
        }
    }
}

PHP Error Log 1 lines

[21-Nov-2024 16:49:38 UTC] [WP STATISTICS] [INFO]: Failed to initialize GeoIP reader: GeoIP database not found. Attempting to download...
See also: All tests for this plugin, How to Hide WP Statistics Admin Menus and Widgets