Koko Analytics 1.1

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

Summary

Errors
5Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 29.39 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.3.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=d87f3757b6
Aspect after-activation
HTTP status 200
Load time 0.527 s
Memory usage 2.8 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.236 s
Memory usage 2.79 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.184 s
Memory usage 3.1 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.369 s
Memory usage 2.86 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.317 s
Memory usage 5.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.388 s0.375 s-0.013 s2.82 MiB2.86 MiB+ 37.77 KiB
/wp-admin/edit.php0.208 s0.199 s-0.009 s2.85 MiB2.88 MiB+ 32.51 KiB
/wp-admin/post-new.php0.780 s0.615 s-0.165 s5.21 MiB5.27 MiB+ 57.62 KiB
/wp-admin/upload.php0.628 s0.488 s-0.140 s2.77 MiB2.78 MiB+ 15.72 KiB
/wp-admin/options-writing.php0.236 s0.214 s-0.022 s2.76 MiB2.77 MiB+ 7.68 KiB
/wp-admin/media-new.php0.320 s0.276 s-0.044 s2.74 MiB2.77 MiB+ 27.91 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.182 s-0.015 s2.76 MiB2.79 MiB+ 33.08 KiB
/wp-admin/post-new.php?post_type=page0.605 s0.578 s-0.027 s5.21 MiB5.26 MiB+ 53.7 KiB
/wp-admin/options-discussion.php0.434 s0.249 s-0.185 s2.75 MiB2.76 MiB+ 16.21 KiB
/wp-admin/edit-comments.php0.273 s0.405 s+0.132 s2.78 MiB2.79 MiB+ 15.71 KiB
/0.330 s0.240 s-0.090 s3.13 MiB3.15 MiB+ 25.44 KiB
Average 0.400 s0.347 s-0.053 s3.25 MiB3.28 MiB+ 29.39 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
JavaScript
Sass
Language % Lines of code Comment lines Files
PHP42.4%1,72644841
JavaScript38.6%1,5725121
Sass9.9%40306
Markdown6.1%24802
SVG1.6%6601
XML1.3%5401
Total 4,069 499 72

PHP Code Analysis | More results »

Lines of code 1,366
Total complexity 264
Median class complexity 13.5
Median method complexity 2.0
Most complex class KokoAnalytics\Admin
Most complex function KokoAnalytics\Pageview_Aggregator::finish()
Classes 12
Methods 75
Functions 16

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 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 5 lines

[03-Oct-2023 07:28:39 UTC] WordPress database error Table 'wordpress.wp_koko_analytics_dates' doesn't exist for query SELECT DATE_FORMAT(d.date, '%Y-%m-%d') AS date, COALESCE(SUM(visitors), 0) AS visitors, COALESCE(SUM(pageviews), 0) AS pageviews FROM wp_koko_analytics_dates d LEFT JOIN wp_koko_analytics_site_stats s ON s.date = d.date WHERE d.date >= '2023-09-19' AND d.date <= '2023-10-03' GROUP BY date made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, KokoAnalytics\Rest->get_stats
[03-Oct-2023 07:28:39 UTC] WordPress database error Table 'wordpress.wp_koko_analytics_dates' doesn't exist for query SELECT DATE_FORMAT(d.date, '%Y-%m-%d') AS date, COALESCE(SUM(visitors), 0) AS visitors, COALESCE(SUM(pageviews), 0) AS pageviews FROM wp_koko_analytics_dates d LEFT JOIN wp_koko_analytics_site_stats s ON s.date = d.date WHERE d.date >= '2023-09-06' AND d.date <= '2023-10-03' GROUP BY date made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, KokoAnalytics\Rest->get_stats
[03-Oct-2023 07:28:41 UTC] WordPress database error Table 'wordpress.wp_koko_analytics_dates' doesn't exist for query SELECT DATE_FORMAT(d.date, '%Y-%m-%d') AS date, COALESCE(SUM(visitors), 0) AS visitors, COALESCE(SUM(pageviews), 0) AS pageviews FROM wp_koko_analytics_dates d LEFT JOIN wp_koko_analytics_site_stats s ON s.date = d.date WHERE d.date >= '2023-09-19' AND d.date <= '2023-10-03' GROUP BY date made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, KokoAnalytics\Rest->get_stats
[03-Oct-2023 07:28:49 UTC] WordPress database error Table 'wordpress.wp_koko_analytics_dates' doesn't exist for query SELECT DATE_FORMAT(d.date, '%Y-%m-%d') AS date, COALESCE(SUM(visitors), 0) AS visitors, COALESCE(SUM(pageviews), 0) AS pageviews FROM wp_koko_analytics_dates d LEFT JOIN wp_koko_analytics_site_stats s ON s.date = d.date WHERE d.date >= '2023-09-19' AND d.date <= '2023-10-03' GROUP BY date made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, KokoAnalytics\Rest->get_stats
[03-Oct-2023 07:28:49 UTC] WordPress database error Table 'wordpress.wp_koko_analytics_dates' doesn't exist for query SELECT DATE_FORMAT(d.date, '%Y-%m-%d') AS date, COALESCE(SUM(visitors), 0) AS visitors, COALESCE(SUM(pageviews), 0) AS pageviews FROM wp_koko_analytics_dates d LEFT JOIN wp_koko_analytics_site_stats s ON s.date = d.date WHERE d.date >= '2023-09-19' AND d.date <= '2023-10-03' GROUP BY date made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, KokoAnalytics\Rest->get_stats
See also: All tests for this plugin, How to Hide Koko Analytics Admin Menus and Widgets