Koko Analytics 1.4.0

Does Koko Analytics work with WordPress 6.6.2 and PHP 8.1.12? 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: 54.74 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.6.2
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=3bbe8925e1
Aspect after-activation
HTTP status 200
Load time 0.884 s
Memory usage 3.54 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.209 s
Memory usage 3.55 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.213 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.305 s
Memory usage 3.51 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.572 s
Memory usage 5.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.337 s0.303 s-0.034 s3.47 MiB3.51 MiB+ 41.38 KiB
/wp-admin/edit.php0.205 s0.197 s-0.008 s3.54 MiB3.58 MiB+ 39.87 KiB
/wp-admin/post-new.php0.789 s0.578 s-0.211 s5.75 MiB5.82 MiB+ 66.29 KiB
/wp-admin/upload.php0.699 s0.408 s-0.291 s3.49 MiB3.51 MiB+ 21.73 KiB
/wp-admin/options-writing.php0.197 s0.177 s-0.020 s3.41 MiB3.49 MiB+ 84.53 KiB
/wp-admin/media-new.php0.281 s0.398 s+0.117 s3.4 MiB3.49 MiB+ 97.91 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.190 s+0.011 s3.47 MiB3.51 MiB+ 44.59 KiB
/wp-admin/post-new.php?post_type=page0.586 s0.564 s-0.022 s5.75 MiB5.81 MiB+ 61.88 KiB
/wp-admin/options-discussion.php0.230 s0.240 s+0.010 s3.41 MiB3.49 MiB+ 86.22 KiB
/wp-admin/edit-comments.php0.202 s0.201 s-0.001 s3.49 MiB3.51 MiB+ 21.72 KiB
/0.297 s0.208 s-0.089 s3.4 MiB3.44 MiB+ 36.09 KiB
Average 0.364 s0.315 s-0.049 s3.87 MiB3.92 MiB+ 54.74 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
PHP85.7%2,56551539
Markdown14.1%42102
JavaScript0.2%601
Total 2,992 515 42

PHP Code Analysis | More results »

Lines of code 1,887
Total complexity 360
Median class complexity 11.0
Median method complexity 2.0
Most complex class KokoAnalytics\Pageview_Aggregator
Most complex function collect_request()
Classes 18
Methods 94
Functions 22

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 4

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