WP Statistics 14.1.5

Does WP Statistics work with WordPress 6.3.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
1Resource error (CSS, JS, images, fonts and so on.)
  • 1 net::ERR_FAILED
Performance

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

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

Environment
WordPress version6.3.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 23

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=cc70be8a1d
Aspect after-activation
HTTP status 200
Load time 0.493 s
Memory usage 3.7 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.459 s
Memory usage 3.21 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.296 s
Memory usage 3.17 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.231 s
Memory usage 3.17 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.291 s
Memory usage 3.2 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.236 s
Memory usage 3.16 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.233 s
Memory usage 3.16 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.445 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Statistics → Post Types

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

Statistics → Taxonomies

Page screenshot: 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.268 s
Memory usage 3.17 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.234 s
Memory usage 3.16 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.253 s
Memory usage 3.14 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.238 s
Memory usage 3.14 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.258 s
Memory usage 3.17 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.151 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.854 s
Memory usage 3.2 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.850 s
Memory usage 3.31 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "https://ip.seeip.org/json",
        "errorString": "net::ERR_FAILED"
    }
]

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.680 s
Memory usage 3.19 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.235 s
Memory usage 3.34 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.545 s
Memory usage 3.28 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.605 s
Memory usage 5.62 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.589 s
Memory usage 5.61 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.272 s
Memory usage 5.55 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.281 s0.488 s+0.207 s2.82 MiB3.28 MiB+ 464.7 KiB
/wp-admin/edit.php0.173 s0.186 s+0.013 s2.85 MiB3.29 MiB+ 448.66 KiB
/wp-admin/post-new.php0.651 s1.007 s+0.356 s5.21 MiB5.62 MiB+ 420.45 KiB
/wp-admin/upload.php0.497 s0.275 s-0.222 s2.77 MiB3.11 MiB+ 351.95 KiB
/wp-admin/options-writing.php0.195 s0.329 s+0.134 s2.76 MiB3.1 MiB+ 344.62 KiB
/wp-admin/media-new.php0.254 s0.227 s-0.027 s2.74 MiB3.1 MiB+ 364.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.172 s0.178 s+0.006 s2.76 MiB3.12 MiB+ 375 KiB
/wp-admin/post-new.php?post_type=page0.511 s0.610 s+0.099 s5.21 MiB5.61 MiB+ 415.3 KiB
/wp-admin/options-discussion.php0.216 s0.247 s+0.031 s2.75 MiB3.09 MiB+ 352.41 KiB
/wp-admin/edit-comments.php0.359 s0.254 s-0.105 s2.78 MiB3.12 MiB+ 349.05 KiB
/0.230 s0.183 s-0.047 s3.13 MiB3.34 MiB+ 215.26 KiB
Average 0.322 s0.362 s+0.040 s3.25 MiB3.62 MiB+ 372.87 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.

SVG
PHP
Sass
Language % Lines of code Comment lines Files
SVG43.3%19,6570278
PHP37.9%17,2035,108170
Sass12.8%5,7869165
JavaScript5.1%2,29358449
CSS0.9%40832
Total 45,347 5,786 564

PHP Code Analysis | More results »

Lines of code 12,868
Total complexity 2,806
Median class complexity 15.0
Median method complexity 3.0
Most complex class Parsedown
Most complex function WP_STATISTICS\visitors_page::view()
Classes 101
Methods 637
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 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 7 lines

[29-Aug-2023 21:41:12 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:310
Stack trace:
#0 /wp-includes/class-wp-hook.php(334): 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 310
See also: All tests for this plugin, How to Hide WP Statistics Admin Menus and Widgets