Better Analytics 1.2.5

Does Better Analytics work with WordPress 5.7.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: 158.89 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 version5.7.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=4eb76e3ace
Aspect after-activation
HTTP status 200
Load time 0.684 s
Memory usage 2.93 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.209 s
Memory usage 3.29 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.143 s
Memory usage 2.8 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.138 s
Memory usage 2.8 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.288 s
Memory usage 3.35 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.244 s
Memory usage 2.88 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.366 s
Memory usage 2.88 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.241 s
Memory usage 2.88 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.232 s
Memory usage 2.88 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.256 s
Memory usage 2.88 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.208 s
Memory usage 2.88 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.374 s
Memory usage 2.88 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.286 s
Memory usage 3.1 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.255 s
Memory usage 2.91 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.500 s
Memory usage 2.99 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 0.821 s
Memory usage 3.21 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.595 s0.765 s+0.170 s2.82 MiB2.99 MiB+ 177.91 KiB
/wp-admin/edit.php0.362 s0.228 s-0.134 s2.86 MiB3.01 MiB+ 153.34 KiB
/wp-admin/post-new.php1.810 s1.247 s-0.563 s5.02 MiB5.26 MiB+ 237.91 KiB
/wp-admin/upload.php0.585 s0.331 s-0.254 s2.7 MiB2.9 MiB+ 204.52 KiB
/wp-admin/options-writing.php0.184 s0.172 s-0.012 s2.71 MiB2.81 MiB+ 105.09 KiB
/wp-admin/media-new.php0.226 s0.188 s-0.038 s2.67 MiB2.81 MiB+ 137.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.222 s0.329 s+0.107 s2.77 MiB2.92 MiB+ 154.2 KiB
/wp-admin/post-new.php?post_type=page1.104 s0.921 s-0.183 s5.01 MiB5.24 MiB+ 233.62 KiB
/wp-admin/options-discussion.php0.252 s0.332 s+0.080 s2.67 MiB2.83 MiB+ 153.91 KiB
/wp-admin/edit-comments.php0.258 s0.237 s-0.021 s2.78 MiB2.93 MiB+ 153.14 KiB
/0.326 s0.238 s-0.088 s2.71 MiB2.74 MiB+ 36.94 KiB
Average 0.539 s0.453 s-0.085 s3.16 MiB3.31 MiB+ 158.89 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

[15-Apr-2021 15:39:39 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
[15-Apr-2021 15:39:51 UTC] PHP Notice:  Undefined index: api in /wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/ViewAdmin/test.php on line 360
[15-Apr-2021 15:39:51 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
[15-Apr-2021 15:39:51 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