WP Statistics 13.2.8

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

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 349.62 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 version6.1.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 24

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=e1019df78a
Aspect after-activation
HTTP status 200
Load time 0.603 s
Memory usage 3.65 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.825 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Statistics → Hits

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

Statistics → Online

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

Statistics → Visitors

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

Statistics → Referrers

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

Statistics → Search Words

Page screenshot: Statistics → Search Words
URL /wp-admin/admin.php?page=wps_words_page
Aspect menu-item
HTTP status 200
Load time 0.205 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Statistics → Search Engines

Page screenshot: Statistics → Search Engines
URL /wp-admin/admin.php?page=wps_searches_page
Aspect menu-item
HTTP status 200
Load time 0.198 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Statistics → Pages

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

Statistics → Categories

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

Statistics → Tags

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

Statistics → Authors

Page screenshot: 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.36 MiB
JS errors None
Resource errors None

Statistics → Browsers

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

Statistics → Platforms

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

Statistics → Top Visitors Today

Page screenshot: Statistics → Top Visitors Today
URL /wp-admin/admin.php?page=wps_top-visitors_page
Aspect menu-item
HTTP status 200
Load time 0.200 s
Memory usage 3.36 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 0.135 s
Memory usage N/A
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 1.670 s
Memory usage 3.39 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 1.720 s
Memory usage 3.49 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 2.585 s
Memory usage 3.37 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.242 s
Memory usage 3.21 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.290 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.625 s
Memory usage 5.33 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: 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.639 s
Memory usage 5.31 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.260 s
Memory usage 5.28 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.286 s0.368 s+0.082 s3.05 MiB3.47 MiB+ 435.06 KiB
/wp-admin/edit.php0.183 s0.303 s+0.120 s3.07 MiB3.48 MiB+ 416.53 KiB
/wp-admin/post-new.php0.762 s0.933 s+0.171 s4.97 MiB5.33 MiB+ 370.34 KiB
/wp-admin/upload.php0.551 s0.291 s-0.260 s2.99 MiB3.31 MiB+ 324.88 KiB
/wp-admin/options-writing.php0.172 s0.143 s-0.029 s2.99 MiB3.29 MiB+ 312.23 KiB
/wp-admin/media-new.php0.282 s0.226 s-0.056 s2.97 MiB3.3 MiB+ 337.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.182 s-0.003 s2.98 MiB3.34 MiB+ 367.93 KiB
/wp-admin/post-new.php?post_type=page0.634 s0.693 s+0.059 s4.96 MiB5.31 MiB+ 361.2 KiB
/wp-admin/options-discussion.php0.202 s0.324 s+0.122 s2.97 MiB3.29 MiB+ 325.34 KiB
/wp-admin/edit-comments.php0.206 s0.214 s+0.008 s3 MiB3.31 MiB+ 321.98 KiB
/0.289 s0.225 s-0.064 s2.94 MiB3.21 MiB+ 273.25 KiB
Average 0.341 s0.355 s+0.014 s3.35 MiB3.7 MiB+ 349.62 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.

PHP
Sass
JavaScript
Language % Lines of code Comment lines Files
PHP75.9%16,1575,048155
Sass14.5%3,0954238
JavaScript9.3%1,97652244
SVG0.3%6002
Total 21,288 5,612 239

PHP Code Analysis | More results »

Lines of code 12,022
Total complexity 2,693
Median class complexity 17.0
Median method complexity 3.0
Most complex class Parsedown
Most complex function WP_STATISTICS\visitors_page::view()
Classes 95
Methods 592
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

Options wp_options 5

User Metadata wp_usermeta 1

Sidebar Widgets 1

ID Name
wp_statistics_widgetStatistics

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 10 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 10 Pages",
            "context": "normal"
        },
        "wp-statistics-top-visitors-widget": {
            "title": "Top 10 Visitors Today",
            "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 Search Words",
            "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 7 lines

[03-Dec-2022 12:55:56 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
See also: All tests for this plugin, How to Hide WP Statistics Admin Menus and Widgets