Koko Analytics 2.4.0

Does Koko Analytics work with WordPress 7.0 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: 67.88 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.044 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version7.0
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 6

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=ed18f107a8
Aspect after-activation
HTTP status 200
Load time 0.604 s
Memory usage 3.95 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.621 s
Memory usage 4.02 MiB
JS errors None
Resource errors None

Settings → Koko Analytics

Page screenshot: Settings → Koko Analytics
URL /wp-admin/options-general.php?page=koko-analytics-settings
Aspect menu-item
HTTP status 200
Load time 0.760 s
Memory usage 3.94 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.267 s
Memory usage 4.29 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.988 s
Memory usage 4 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.672 s
Memory usage 6.43 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.810 s1.381 s+0.571 s3.92 MiB4 MiB+ 72.18 KiB
/wp-admin/edit.php0.569 s0.673 s+0.104 s3.98 MiB4.05 MiB+ 72 KiB
/wp-admin/post-new.php2.334 s2.444 s+0.110 s6.56 MiB6.66 MiB+ 104.77 KiB
/wp-admin/upload.php1.379 s0.726 s-0.653 s3.89 MiB3.94 MiB+ 50.66 KiB
/wp-admin/options-writing.php0.710 s0.888 s+0.178 s3.86 MiB3.91 MiB+ 54.65 KiB
/wp-admin/media-new.php1.028 s0.509 s-0.519 s3.85 MiB3.91 MiB+ 62.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.572 s0.512 s-0.060 s3.86 MiB3.93 MiB+ 68.02 KiB
/wp-admin/post-new.php?post_type=page1.588 s2.210 s+0.622 s6.55 MiB6.64 MiB+ 96.24 KiB
/wp-admin/options-discussion.php0.704 s0.881 s+0.177 s3.86 MiB3.91 MiB+ 51.15 KiB
/wp-admin/edit-comments.php0.593 s0.599 s+0.006 s3.88 MiB3.93 MiB+ 50.65 KiB
/0.337 s0.286 s-0.051 s4.23 MiB4.29 MiB+ 63.54 KiB
Average 0.966 s1.010 s+0.044 s4.4 MiB4.47 MiB+ 67.88 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
CSS
Markdown
Language % Lines of code Comment lines Files
PHP73.0%5,1851,30086
CSS11.2%798371
Markdown10.7%75903
JavaScript4.6%3265818
JSON0.4%2901
SVG0.0%303
Total 7,100 1,395 112

PHP Code Analysis | More results »

Lines of code 3,761
Total complexity 750
Median class complexity 11.0
Median method complexity 2.0
Most complex class KokoAnalytics\Dashboard
Most complex function KokoAnalytics\Import\Plausible_Importer::start_import()
Classes 41
Methods 201
Functions 28

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