WP Statistics 13.2.7

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

Summary

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

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

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

Environment
WordPress version6.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=c93c7cca4e
Aspect after-activation
HTTP status 200
Load time 0.722 s
Memory usage 4.23 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 2.569 s
Memory usage 4.01 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.284 s
Memory usage 3.94 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.252 s
Memory usage 3.95 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.274 s
Memory usage 3.98 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.212 s
Memory usage 3.95 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.263 s
Memory usage 3.95 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.200 s
Memory usage 3.92 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.187 s
Memory usage 3.94 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.253 s
Memory usage 3.95 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.251 s
Memory usage 3.94 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.326 s
Memory usage 3.95 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.451 s
Memory usage 3.92 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.251 s
Memory usage 3.92 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.192 s
Memory usage 3.95 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.139 s
Memory usage 3.87 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 3.033 s
Memory usage 3.98 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.328 s
Memory usage 4.09 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.628 s
Memory usage 3.97 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.398 s
Memory usage 3.78 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.354 s
Memory usage 4.07 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 1.126 s
Memory usage 5.99 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.998 s
Memory usage 5.97 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 3.211 s
Memory usage 5.88 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.308 s0.528 s+0.220 s3.54 MiB4.07 MiB+ 536.41 KiB
/wp-admin/edit.php0.195 s0.218 s+0.023 s3.57 MiB4.08 MiB+ 520.51 KiB
/wp-admin/post-new.php1.072 s1.322 s+0.250 s5.46 MiB5.99 MiB+ 536.02 KiB
/wp-admin/upload.php0.721 s0.308 s-0.413 s3.41 MiB3.9 MiB+ 506.91 KiB
/wp-admin/options-writing.php0.161 s0.150 s-0.011 s3.4 MiB3.88 MiB+ 490.09 KiB
/wp-admin/media-new.php0.237 s0.399 s+0.162 s3.38 MiB3.88 MiB+ 507.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.199 s+0.005 s3.48 MiB3.94 MiB+ 469.7 KiB
/wp-admin/post-new.php?post_type=page0.910 s1.038 s+0.128 s5.46 MiB5.97 MiB+ 526.84 KiB
/wp-admin/options-discussion.php0.202 s0.228 s+0.026 s3.38 MiB3.88 MiB+ 507.37 KiB
/wp-admin/edit-comments.php0.210 s0.235 s+0.025 s3.48 MiB3.97 MiB+ 504.15 KiB
/0.263 s0.374 s+0.111 s3.46 MiB3.78 MiB+ 323.6 KiB
Average 0.407 s0.454 s+0.048 s3.82 MiB4.3 MiB+ 493.52 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,1465,025155
Sass14.5%3,0954238
JavaScript9.3%1,97652244
SVG0.3%6002
Total 21,277 5,589 239

PHP Code Analysis | More results »

Lines of code 12,011
Total complexity 2,687
Median class complexity 18.0
Median method complexity 3.0
Most complex class Parsedown
Most complex function WP_STATISTICS\visitors_page::view()
Classes 95
Methods 591
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 6

User Metadata wp_usermeta 2

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 1 lines

[15-Nov-2022 20:53:50 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'WP_STATISTICS\exclusions_page' does not have a method 'exclusions' 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