Koko Analytics 1.0.33

Does Koko Analytics work with WordPress 6.0.2 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: 33.02 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.2
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=2fd6687928
Aspect after-activation
HTTP status 200
Load time 0.605 s
Memory usage 3.73 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.438 s
Memory usage 3.69 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.215 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.264 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.788 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.318 s0.274 s-0.044 s3.72 MiB3.76 MiB+ 33.44 KiB
/wp-admin/edit.php0.172 s0.179 s+0.007 s3.76 MiB3.78 MiB+ 28.74 KiB
/wp-admin/post-new.php0.820 s1.089 s+0.269 s5.55 MiB5.6 MiB+ 57.58 KiB
/wp-admin/upload.php0.406 s0.304 s-0.102 s3.69 MiB3.71 MiB+ 27.61 KiB
/wp-admin/options-writing.php0.161 s0.141 s-0.020 s3.62 MiB3.69 MiB+ 71.52 KiB
/wp-admin/media-new.php0.376 s0.204 s-0.172 s3.66 MiB3.69 MiB+ 27.78 KiB
/wp-admin/edit-tags.php?taxonomy=category0.221 s0.314 s+0.093 s3.69 MiB3.72 MiB+ 28.69 KiB
/wp-admin/post-new.php?post_type=page0.782 s0.791 s+0.009 s5.54 MiB5.59 MiB+ 49.16 KiB
/wp-admin/options-discussion.php0.209 s0.197 s-0.012 s3.6 MiB3.63 MiB+ 28.09 KiB
/wp-admin/edit-comments.php0.231 s0.205 s-0.026 s3.7 MiB3.72 MiB+ 27.59 KiB
/0.256 s0.208 s-0.048 s3.6 MiB3.59 MiB- 16.93 KiB
Average 0.359 s0.355 s-0.004 s4.01 MiB4.04 MiB+ 33.02 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
JavaScript43.1%1,6084720
PHP37.5%1,40033234
Sass10.8%40306
Markdown5.5%20402
SVG1.8%6601
XML1.4%5301
Total 3,734 379 64

PHP Code Analysis | More results »

Lines of code 1,223
Total complexity 231
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