WP Statistics 14.12

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: 376.12 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.097 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 17

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=372489969c
Aspect after-activation
HTTP status 200
Load time 0.600 s
Memory usage 4.33 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 1.479 s
Memory usage 3.87 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.482 s
Memory usage 3.86 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.371 s
Memory usage 3.87 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.386 s
Memory usage 3.88 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.482 s
Memory usage 3.99 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.459 s
Memory usage 4.28 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.487 s
Memory usage 3.92 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 0.667 s
Memory usage 3.88 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.366 s
Memory usage 3.85 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.890 s
Memory usage 4.05 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.385 s
Memory usage 3.94 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.442 s
Memory usage 3.85 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 2.041 s
Memory usage 4.2 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.415 s
Memory usage 3.87 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.379 s
Memory usage 3.53 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 2.437 s
Memory usage 6.17 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.334 s0.771 s+0.437 s3.48 MiB3.93 MiB+ 459.02 KiB
/wp-admin/edit.php0.209 s0.541 s+0.332 s3.54 MiB3.99 MiB+ 460.44 KiB
/wp-admin/post-new.php0.784 s0.934 s+0.150 s5.92 MiB6.35 MiB+ 432.05 KiB
/wp-admin/upload.php0.562 s0.338 s-0.224 s3.49 MiB3.85 MiB+ 365.65 KiB
/wp-admin/options-writing.php0.203 s0.251 s+0.048 s3.47 MiB3.83 MiB+ 369.02 KiB
/wp-admin/media-new.php0.339 s0.290 s-0.049 s3.46 MiB3.83 MiB+ 377.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.478 s+0.298 s3.48 MiB3.87 MiB+ 404.08 KiB
/wp-admin/post-new.php?post_type=page0.578 s0.665 s+0.087 s5.92 MiB6.34 MiB+ 427.48 KiB
/wp-admin/options-discussion.php0.286 s0.295 s+0.009 s3.47 MiB3.83 MiB+ 365.52 KiB
/wp-admin/edit-comments.php0.207 s0.252 s+0.045 s3.49 MiB3.85 MiB+ 365.02 KiB
/0.315 s0.248 s-0.067 s3.42 MiB3.53 MiB+ 111.88 KiB
Average 0.363 s0.460 s+0.097 s3.92 MiB4.29 MiB+ 376.12 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
SVG
JavaScript
Sass
Language % Lines of code Comment lines Files
YAML33.2%50,4653,53220
PHP29.9%45,47513,301551
SVG13.8%20,9930325
JavaScript12.4%18,8771,88050
Sass9.9%15,0589273
CSS0.5%729474
HTML0.1%18702
XML0.1%79131
JSON0.0%101
Total 151,864 18,865 1,027

PHP Code Analysis | More results »

Lines of code 34,571
Total complexity 5,918
Median class complexity 7.0
Median method complexity 1.0
Most complex class WP_STATISTICS\Helper
Most complex function WP_Statistics\Service\Admin\SiteHealthInfo::addStatisticsInfo()
Classes 340
Methods 2,024
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

Sidebar Widgets 1

ID Name
wp_statistics_widgetStatistics

Meta Boxes

{
    "toplevel_page_wps_overview_page": {
        "wp-statistics-traffic-summary-widget": {
            "title": "Traffic Summary",
            "context": "side"
        },
        "wp-statistics-browsers-widget": {
            "title": "Browser Usage",
            "context": "side"
        },
        "wp-statistics-platforms-widget": {
            "title": "Most Used Operating Systems",
            "context": "side"
        },
        "wp-statistics-devices-widget": {
            "title": "Device Usage Breakdown",
            "context": "side"
        },
        "wp-statistics-models-widget": {
            "title": "Top Device Model",
            "context": "side"
        },
        "wp-statistics-countries-widget": {
            "title": "Top Countries",
            "context": "side"
        },
        "wp-statistics-referring-widget": {
            "title": "Top Referring",
            "context": "side"
        },
        "wp-statistics-about-metabox": {
            "title": "WP Statistics",
            "context": "side"
        },
        "wp-statistics-go-premium-widget": {
            "title": "Go Premium",
            "context": "side"
        },
        "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-hitsmap-widget": {
            "title": "Global Visitor Distribution",
            "context": "normal"
        }
    },
    "dashboard": {
        "wp-statistics-quickstats-widget": {
            "title": "Traffic Overview",
            "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-hitsmap-widget": {
            "title": "Global Visitor Distribution",
            "context": "normal"
        },
        "wp-statistics-browsers-widget": {
            "title": "Browser Usage",
            "context": "side"
        },
        "wp-statistics-platforms-widget": {
            "title": "Most Used Operating Systems",
            "context": "side"
        },
        "wp-statistics-devices-widget": {
            "title": "Device Usage Breakdown",
            "context": "side"
        },
        "wp-statistics-models-widget": {
            "title": "Top Device Model",
            "context": "side"
        },
        "wp-statistics-countries-widget": {
            "title": "Top Countries",
            "context": "side"
        },
        "wp-statistics-referring-widget": {
            "title": "Top Referring",
            "context": "side"
        }
    },
    "post": {
        "wp-statistics-post-visitors-locked-widget": {
            "title": "Statistics - Latest Visitors",
            "context": "normal"
        }
    },
    "page": {
        "wp-statistics-post-visitors-locked-widget": {
            "title": "Statistics - Latest Visitors",
            "context": "normal"
        }
    }
}

PHP Error Log 1 lines

[05-Jan-2025 07:18:57 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 More