Stats for WP 1.0.3

Does Stats for WP work with WordPress 7.0 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: -2.86 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 version7.0
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/stats-for-wp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=stats-for-wp%2Fstats-for-wp.php&plugin_status=all&paged=1&s&_wpnonce=3e4546b8c8
Aspect after-activation
HTTP status 200
Load time 0.730 s
Memory usage 3.88 MiB
JS errors None
Resource errors None

Stats

Page screenshot: Stats
URL /wp-admin/admin.php?page=stats
Aspect menu-item
HTTP status 200
Load time 0.623 s
Memory usage 3.85 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.249 s
Memory usage 4.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.758 s0.553 s-0.205 s3.92 MiB3.93 MiB+ 3.38 KiB
/wp-admin/edit.php0.576 s0.518 s-0.058 s3.98 MiB3.98 MiB+ 2.67 KiB
/wp-admin/post-new.php2.101 s1.972 s-0.129 s6.56 MiB6.56 MiB+ 8.12 KiB
/wp-admin/upload.php0.695 s0.651 s-0.044 s3.89 MiB3.87 MiB- 13.71 KiB
/wp-admin/options-writing.php0.559 s0.518 s-0.041 s3.86 MiB3.85 MiB- 10.03 KiB
/wp-admin/media-new.php1.056 s0.560 s-0.496 s3.85 MiB3.85 MiB- 1.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.545 s0.492 s-0.053 s3.86 MiB3.87 MiB+ 3.34 KiB
/wp-admin/post-new.php?post_type=page1.420 s1.749 s+0.329 s6.55 MiB6.55 MiB+ 3.65 KiB
/wp-admin/options-discussion.php0.990 s0.849 s-0.141 s3.86 MiB3.85 MiB- 13.53 KiB
/wp-admin/edit-comments.php0.552 s0.555 s+0.003 s3.88 MiB3.87 MiB- 14.03 KiB
/0.292 s0.173 s-0.119 s4.23 MiB4.23 MiB+ 592 bytes
Average 0.868 s0.781 s-0.087 s4.4 MiB4.4 MiB- 2.86 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
Language % Lines of code Comment lines Files
PHP100.0%235161
Total 235 16 1

PHP Code Analysis | More results »

Lines of code 248
Total complexity 16
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function sfw_stats_for_wp_log()
Classes 0
Methods 0
Functions 5

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 1

Options wp_options 2

PHP Error Log 4 lines

[11-Jun-2026 17:02:51 UTC] PHP Deprecated:  File upgrade-functions.php is <strong>deprecated</strong> since version 2.5.0! Use wp-admin/includes/upgrade.php instead. in /wp-includes/functions.php on line 6170
[11-Jun-2026 17:02:51 UTC] WordPress database error Unknown table 'wordpress.wp_statsforwp' for query DROP TABLE `wp_statsforwp` made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/stats-for-wp/stats-for-wp.php'), sfw_stats_for_wp_Install
[11-Jun-2026 17:02:54 UTC] PHP Warning:  Undefined array key "HTTP_REFERER" in /wp-content/plugins/stats-for-wp/stats-for-wp.php on line 187
[11-Jun-2026 17:03:07 UTC] PHP Warning:  Undefined array key "HTTP_REFERER" in /wp-content/plugins/stats-for-wp/stats-for-wp.php on line 187
See also: All tests for this plugin, How to Hide the "Stats" Admin Menu