Does Stats for WP work with WordPress 7.0 and PHP 8.1.12? A smoke test was performed on .
| 2 | PHP warnings |
| 1 | PHP deprecation warnings |
| 1 | Database errors |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
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.
| WordPress version | 7.0 |
|---|---|
| PHP version | 8.1.12 |
| MySQL version | 10.6.10 |
| PHP memory limit | 512M |
| Last updated | |
|---|---|
| Active installs | <10 |
| WordPress.org page | https://wordpress.org/plugins/stats-for-wp/ |
| Badges |
|
| 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 |
| 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 |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.249 s |
| Memory usage | 4.23 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.758 s | 0.553 s | -0.205 s | 3.92 MiB | 3.93 MiB | + 3.38 KiB |
| /wp-admin/edit.php | 0.576 s | 0.518 s | -0.058 s | 3.98 MiB | 3.98 MiB | + 2.67 KiB |
| /wp-admin/post-new.php | 2.101 s | 1.972 s | -0.129 s | 6.56 MiB | 6.56 MiB | + 8.12 KiB |
| /wp-admin/upload.php | 0.695 s | 0.651 s | -0.044 s | 3.89 MiB | 3.87 MiB | - 13.71 KiB |
| /wp-admin/options-writing.php | 0.559 s | 0.518 s | -0.041 s | 3.86 MiB | 3.85 MiB | - 10.03 KiB |
| /wp-admin/media-new.php | 1.056 s | 0.560 s | -0.496 s | 3.85 MiB | 3.85 MiB | - 1.84 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.545 s | 0.492 s | -0.053 s | 3.86 MiB | 3.87 MiB | + 3.34 KiB |
| /wp-admin/post-new.php?post_type=page | 1.420 s | 1.749 s | +0.329 s | 6.55 MiB | 6.55 MiB | + 3.65 KiB |
| /wp-admin/options-discussion.php | 0.990 s | 0.849 s | -0.141 s | 3.86 MiB | 3.85 MiB | - 13.53 KiB |
| /wp-admin/edit-comments.php | 0.552 s | 0.555 s | +0.003 s | 3.88 MiB | 3.87 MiB | - 14.03 KiB |
| / | 0.292 s | 0.173 s | -0.119 s | 4.23 MiB | 4.23 MiB | + 592 bytes |
| Average | 0.868 s | 0.781 s | -0.087 s | 4.4 MiB | 4.4 MiB | - 2.86 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| PHP | 100.0% | 235 | 16 | 1 | |
| Total | 235 | 16 | 1 | ||
| 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 |
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.
wp_options 2[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