Does Koko Analytics work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .
| 2 | PHP deprecation warnings |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
Memory usage: 63 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 | 6.8.2 |
|---|---|
| PHP version | 8.1.12 |
| MySQL version | 10.6.10 |
| PHP memory limit | 512M |
| Last updated | |
|---|---|
| Active installs | 60,000+ |
| WordPress.org page | https://wordpress.org/plugins/koko-analytics/ |
| Badges |
|
| URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
|---|---|
| Requested URL | /wp-admin/plugins.php?action=activate&plugin=koko-analytics%2Fkoko-analytics.php&plugin_status=all&paged=1&s&_wpnonce=20d9de3290 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.904 s |
| Memory usage | 3.61 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/index.php?page=koko-analytics |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.344 s |
| Memory usage | 3.63 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.188 s |
| Memory usage | 3.47 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/index.php |
|---|---|
| Aspect | new-meta-boxes |
| HTTP status | 200 |
| Load time | 0.308 s |
| Memory usage | 3.57 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/widgets.php |
|---|---|
| Aspect | new-sidebar-widgets |
| HTTP status | 200 |
| Load time | 1.313 s |
| Memory usage | 5.9 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.305 s | 0.304 s | -0.001 s | 3.51 MiB | 3.57 MiB | + 62.52 KiB |
| /wp-admin/edit.php | 0.205 s | 0.198 s | -0.007 s | 3.57 MiB | 3.63 MiB | + 60.54 KiB |
| /wp-admin/post-new.php | 0.772 s | 0.663 s | -0.109 s | 6.06 MiB | 6.18 MiB | + 119.69 KiB |
| /wp-admin/upload.php | 0.614 s | 0.516 s | -0.098 s | 3.52 MiB | 3.57 MiB | + 42.4 KiB |
| /wp-admin/options-writing.php | 0.217 s | 0.205 s | -0.012 s | 3.5 MiB | 3.55 MiB | + 46.39 KiB |
| /wp-admin/media-new.php | 0.291 s | 0.205 s | -0.086 s | 3.49 MiB | 3.55 MiB | + 54.59 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.183 s | 0.208 s | +0.025 s | 3.5 MiB | 3.57 MiB | + 65.26 KiB |
| /wp-admin/post-new.php?post_type=page | 0.588 s | 0.604 s | +0.016 s | 6.05 MiB | 6.16 MiB | + 114.41 KiB |
| /wp-admin/options-discussion.php | 0.481 s | 0.228 s | -0.253 s | 3.5 MiB | 3.54 MiB | + 42.89 KiB |
| /wp-admin/edit-comments.php | 0.254 s | 0.410 s | +0.156 s | 3.52 MiB | 3.56 MiB | + 42.39 KiB |
| / | 0.299 s | 0.215 s | -0.084 s | 3.43 MiB | 3.47 MiB | + 41.95 KiB |
| Average | 0.383 s | 0.341 s | -0.041 s | 3.97 MiB | 4.03 MiB | + 63 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 | 87.0% | 3,790 | 779 | 55 | |
| Markdown | 13.0% | 567 | 0 | 3 | |
| Total | 4,357 | 779 | 58 | ||
| Lines of code | 2,885 |
|---|---|
| Total complexity | 540 |
| Median class complexity | 11.0 |
| Median method complexity | 2.0 |
| Most complex class | KokoAnalytics\Pageview_Aggregator |
| Most complex function | KokoAnalytics\Pageview_Aggregator::line() |
| Classes | 29 |
|---|---|
| Methods | 130 |
| Functions | 29 |
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 5| ID | Name |
|---|---|
| koko-analytics-most-viewed-posts | Koko Analytics: Most viewed posts |
{
"dashboard": {
"koko-analytics-dashboard-widget": {
"title": "Koko Analytics",
"context": "side"
}
}
}[21-Jul-2025 07:49:43 UTC] PHP Deprecated: DateTimeImmutable::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /wp-content/plugins/koko-analytics/src/class-stats.php on line 22
[21-Jul-2025 07:49:43 UTC] PHP Deprecated: DateTimeImmutable::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /wp-content/plugins/koko-analytics/src/class-stats.php on line 22