Koko Analytics 1.8.3

Does Koko Analytics work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 57.07 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 version6.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 50,000+
WordPress.org page https://wordpress.org/plugins/koko-analytics/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=koko-analytics%2Fkoko-analytics.php&plugin_status=all&paged=1&s&_wpnonce=681106d5ea
Aspect after-activation
HTTP status 200
Load time 1.040 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Dashboard → Analytics

Page screenshot: Dashboard → Analytics
URL /wp-admin/index.php?page=koko-analytics
Aspect menu-item
HTTP status 200
Load time 0.357 s
Memory usage 3.63 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.283 s
Memory usage 3.47 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.322 s
Memory usage 3.57 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.089 s
Memory usage 5.9 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.641 s0.329 s-0.312 s3.51 MiB3.57 MiB+ 62.7 KiB
/wp-admin/edit.php0.234 s0.222 s-0.012 s3.57 MiB3.63 MiB+ 60.72 KiB
/wp-admin/post-new.php0.850 s1.231 s+0.381 s6.06 MiB6.18 MiB+ 119.86 KiB
/wp-admin/upload.php0.663 s0.589 s-0.074 s3.52 MiB3.57 MiB+ 42.58 KiB
/wp-admin/options-writing.php0.226 s0.207 s-0.019 s3.5 MiB3.55 MiB+ 46.57 KiB
/wp-admin/media-new.php0.281 s0.216 s-0.065 s3.49 MiB3.55 MiB+ 54.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.357 s+0.162 s3.5 MiB3.57 MiB+ 65.44 KiB
/wp-admin/post-new.php?post_type=page1.178 s0.851 s-0.327 s6.05 MiB6.16 MiB+ 114.59 KiB
/wp-admin/options-discussion.php0.484 s0.427 s-0.057 s3.5 MiB3.54 MiB+ 43.07 KiB
/wp-admin/edit-comments.php0.278 s0.231 s-0.047 s3.52 MiB3.56 MiB+ 42.57 KiB
/0.351 s0.263 s-0.088 s3.5 MiB3.47 MiB- 25.07 KiB
Average 0.489 s0.448 s-0.042 s3.98 MiB4.03 MiB+ 57.07 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
Markdown
Language % Lines of code Comment lines Files
PHP87.1%3,77877955
Markdown12.9%56203
Total 4,340 779 58

PHP Code Analysis | More results »

Lines of code 2,874
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 129
Functions 29

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 5

Options wp_options 5

Sidebar Widgets 1

ID Name
koko-analytics-most-viewed-postsKoko Analytics: Most viewed posts

Meta Boxes

{
    "dashboard": {
        "koko-analytics-dashboard-widget": {
            "title": "Koko Analytics",
            "context": "side"
        }
    }
}

Capabilities 2

PHP Error Log 2 lines

[18-Jun-2025 16:59:34 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
[18-Jun-2025 16:59:34 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
See also: All tests for this plugin, How to Hide Koko Analytics Admin Menus and Widgets