Koko Analytics 1.0.34

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 32.24 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.0.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=ca34d2e29e
Aspect after-activation
HTTP status 200
Load time 0.521 s
Memory usage 3.74 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.603 s
Memory usage 3.72 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.238 s
Memory usage 3.59 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.347 s
Memory usage 3.76 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.768 s
Memory usage 5.58 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.319 s0.338 s+0.019 s3.73 MiB3.76 MiB+ 33.36 KiB
/wp-admin/edit.php0.201 s0.227 s+0.026 s3.76 MiB3.79 MiB+ 28.66 KiB
/wp-admin/post-new.php0.848 s0.925 s+0.077 s5.55 MiB5.61 MiB+ 57.5 KiB
/wp-admin/upload.php0.410 s0.387 s-0.023 s3.69 MiB3.72 MiB+ 27.57 KiB
/wp-admin/options-writing.php0.169 s0.173 s+0.004 s3.62 MiB3.69 MiB+ 71.48 KiB
/wp-admin/media-new.php0.379 s0.217 s-0.162 s3.67 MiB3.7 MiB+ 27.74 KiB
/wp-admin/edit-tags.php?taxonomy=category0.273 s0.183 s-0.090 s3.69 MiB3.72 MiB+ 28.65 KiB
/wp-admin/post-new.php?post_type=page1.167 s0.615 s-0.552 s5.55 MiB5.6 MiB+ 49.09 KiB
/wp-admin/options-discussion.php0.203 s0.377 s+0.174 s3.6 MiB3.63 MiB+ 28.05 KiB
/wp-admin/edit-comments.php0.202 s0.247 s+0.045 s3.7 MiB3.73 MiB+ 27.55 KiB
/0.253 s0.244 s-0.009 s3.62 MiB3.6 MiB- 25.01 KiB
Average 0.402 s0.358 s-0.045 s4.02 MiB4.05 MiB+ 32.24 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.

JavaScript
PHP
Sass
Language % Lines of code Comment lines Files
JavaScript42.8%1,6094720
PHP37.7%1,41634134
Sass10.7%40306
Markdown5.5%20802
SVG1.8%6601
XML1.4%5301
Total 3,755 388 64

PHP Code Analysis | More results »

Lines of code 1,239
Total complexity 234
Median class complexity 11.0
Median method complexity 2.0
Most complex class KokoAnalytics\Aggregator
Most complex function KokoAnalytics\Aggregator::aggregate()
Classes 11
Methods 67
Functions 13

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 4

Options wp_options 3

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

The log file is empty.

See also: All tests for this plugin, How to Hide Koko Analytics Admin Menus and Widgets