Koko Analytics 1.7.0

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

Summary

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

Memory usage: 26.58 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.7.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 60,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=e2404e5637
Aspect after-activation
HTTP status 200
Load time 1.007 s
Memory usage 3.58 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.414 s
Memory usage 3.6 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.197 s
Memory usage 3.44 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.329 s
Memory usage 3.54 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 1.689 s
Memory usage 5.85 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.319 s0.324 s+0.005 s3.48 MiB3.54 MiB+ 57.73 KiB
/wp-admin/edit.php0.208 s0.201 s-0.007 s3.54 MiB3.6 MiB+ 55.76 KiB
/wp-admin/post-new.php0.842 s0.675 s-0.167 s5.93 MiB5.9 MiB- 22.93 KiB
/wp-admin/upload.php0.789 s0.535 s-0.254 s3.5 MiB3.53 MiB+ 37.62 KiB
/wp-admin/options-writing.php0.235 s0.213 s-0.022 s3.47 MiB3.51 MiB+ 41.61 KiB
/wp-admin/media-new.php0.299 s0.211 s-0.088 s3.46 MiB3.51 MiB+ 49.8 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.196 s-0.011 s3.48 MiB3.54 MiB+ 60.48 KiB
/wp-admin/post-new.php?post_type=page0.718 s0.610 s-0.108 s5.92 MiB5.89 MiB- 28.15 KiB
/wp-admin/options-discussion.php0.308 s0.264 s-0.044 s3.48 MiB3.51 MiB+ 38.11 KiB
/wp-admin/edit-comments.php0.464 s0.221 s-0.243 s3.5 MiB3.53 MiB+ 37.61 KiB
/0.325 s0.435 s+0.110 s3.48 MiB3.44 MiB- 35.3 KiB
Average 0.429 s0.353 s-0.075 s3.93 MiB3.96 MiB+ 26.58 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.0%3,54670753
Markdown13.0%53203
Total 4,078 707 56

PHP Code Analysis | More results »

Lines of code 2,707
Total complexity 500
Median class complexity 11.0
Median method complexity 2.0
Most complex class KokoAnalytics\Pageview_Aggregator
Most complex function KokoAnalytics\Pageview_Aggregator::line()
Classes 28
Methods 126
Functions 25

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

[25-Feb-2025 08:14:55 UTC] PHP Warning:  scandir(wp-content/uploads/koko-analytics): Failed to open directory: No such file or directory in /wp-content/plugins/koko-analytics/src/collect-functions.php on line 160
[25-Feb-2025 08:14:55 UTC] PHP Warning:  scandir(): (errno 2): No such file or directory in /wp-content/plugins/koko-analytics/src/collect-functions.php on line 160
See also: All tests for this plugin, How to Hide Koko Analytics Admin Menus and Widgets