Better Analytics 1.2.6

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

Summary

Errors
4PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 157.7 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.9.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/better-analytics/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 16

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=better-analytics%2Fbetter-analytics.php&plugin_status=all&paged=1&s&_wpnonce=95301a645c
Aspect after-activation
HTTP status 200
Load time 0.499 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Analytics

Page screenshot: Analytics
URL /wp-admin/admin.php?page=better-analytics_heatmaps
Aspect menu-item
HTTP status 200
Load time 0.184 s
Memory usage 3.82 MiB
JS errors None
Resource errors None

Analytics → Goals

Page screenshot: Analytics → Goals
URL /wp-admin/admin.php?page=better-analytics_goals
Aspect menu-item
HTTP status 200
Load time 0.172 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Analytics → A/B Testing

Page screenshot: Analytics → A/B Testing
URL /wp-admin/admin.php?page=better-analytics_experiments
Aspect menu-item
HTTP status 200
Load time 0.134 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Analytics → Settings

Page screenshot: Analytics → Settings
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item
HTTP status 200
Load time 0.307 s
Memory usage 3.88 MiB
JS errors None
Resource errors None

Analytics → Settings → Custom Dimensions

Page screenshot: Analytics → Settings → Custom Dimensions
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.250 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Analytics → Settings → Social

Page screenshot: Analytics → Settings → Social
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.363 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Analytics → Settings → Advertising

Page screenshot: Analytics → Settings → Advertising
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.218 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Analytics → Settings → Monitoring

Page screenshot: Analytics → Settings → Monitoring
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.304 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Analytics → Settings → eCommerce

Page screenshot: Analytics → Settings → eCommerce
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.202 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Analytics → Settings → API

Page screenshot: Analytics → Settings → API
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.231 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Analytics → Settings → Advanced

Page screenshot: Analytics → Settings → Advanced
URL /wp-admin/options-general.php?page=better-analytics
Aspect menu-item-tab
HTTP status 200
Load time 0.225 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Analytics → Test Setup

Page screenshot: Analytics → Test Setup
URL /wp-admin/tools.php?page=better-analytics_test
Aspect menu-item
HTTP status 200
Load time 0.229 s
Memory usage 3.63 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.269 s
Memory usage 3.61 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.728 s
Memory usage 3.53 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.953 s
Memory usage 5.49 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.386 s0.817 s+0.431 s3.37 MiB3.53 MiB+ 168.95 KiB
/wp-admin/edit.php0.200 s0.216 s+0.016 s3.4 MiB3.55 MiB+ 149.41 KiB
/wp-admin/post-new.php1.164 s1.437 s+0.273 s6.14 MiB6.34 MiB+ 201.3 KiB
/wp-admin/upload.php0.595 s0.581 s-0.014 s3.25 MiB3.43 MiB+ 190.39 KiB
/wp-admin/options-writing.php0.436 s0.146 s-0.290 s3.24 MiB3.36 MiB+ 124.27 KiB
/wp-admin/media-new.php0.260 s0.285 s+0.025 s3.23 MiB3.36 MiB+ 140.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.251 s+0.037 s3.27 MiB3.41 MiB+ 149.5 KiB
/wp-admin/post-new.php?post_type=page1.147 s1.291 s+0.144 s6.14 MiB6.33 MiB+ 193.02 KiB
/wp-admin/options-discussion.php0.238 s0.286 s+0.048 s3.22 MiB3.38 MiB+ 157.22 KiB
/wp-admin/edit-comments.php0.308 s0.208 s-0.100 s3.27 MiB3.48 MiB+ 212.45 KiB
/0.354 s0.206 s-0.148 s3.4 MiB3.44 MiB+ 47.65 KiB
Average 0.482 s0.520 s+0.038 s3.81 MiB3.97 MiB+ 157.7 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
Language % Lines of code Comment lines Files
PHP95.6%8,27023636
CSS2.8%24292
Markdown0.7%5901
JSON0.5%4401
JavaScript0.5%3902
Total 8,654 245 42

PHP Code Analysis | More results »

Lines of code 5,170
Total complexity 918
Median class complexity 23.0
Median method complexity 2.0
Most complex class DigitalPointBetterAnalytics_Helper_Reporting_Abstract
Most complex function DigitalPointBetterAnalytics_ControllerAdmin_Analytics::actionAreacharts()
Classes 24
Methods 256
Functions 0

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.

Options wp_options 3

Sidebar Widgets 2

ID Name
better-analytics_popular_widgetBetter Analytics: Popular
better-analytics_stats_widgetBetter Analytics: Stats

Meta Boxes

{
    "dashboard": {
        "better-analytics": {
            "title": "Better Analytics",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[23-Feb-2022 09:23:21 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Base/Admin.php on line 57
[23-Feb-2022 09:23:33 UTC] PHP Notice:  Undefined index: api in /wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/ViewAdmin/test.php on line 360
[23-Feb-2022 09:23:33 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/ViewAdmin/test.php on line 360
[23-Feb-2022 09:23:33 UTC] PHP Notice:  Undefined index: industryVertical in /wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/ViewAdmin/test.php on line 414
See also: All tests for this plugin, How to Hide Better Analytics Admin Menus and Widgets