Better Analytics 1.2.7

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

Summary

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

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

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

Environment
WordPress version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=563887d07f
Aspect after-activation
HTTP status 200
Load time 0.293 s
Memory usage 3.54 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.194 s
Memory usage 3.93 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.181 s
Memory usage 3.48 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.158 s
Memory usage 3.48 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.287 s
Memory usage 3.93 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.302 s
Memory usage 3.51 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.308 s
Memory usage 3.51 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.288 s
Memory usage 3.51 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.280 s
Memory usage 3.51 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.308 s
Memory usage 3.51 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.303 s
Memory usage 3.51 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.297 s
Memory usage 3.51 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.230 s
Memory usage 3.76 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.313 s
Memory usage 3.62 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.427 s
Memory usage 3.61 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.348 s
Memory usage 5.8 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.417 s0.757 s+0.340 s3.44 MiB3.61 MiB+ 180.98 KiB
/wp-admin/edit.php0.245 s0.231 s-0.014 s3.46 MiB3.63 MiB+ 174.64 KiB
/wp-admin/post-new.php0.951 s0.965 s+0.014 s5.59 MiB5.83 MiB+ 245.04 KiB
/wp-admin/upload.php0.661 s0.566 s-0.095 s3.38 MiB3.57 MiB+ 190.15 KiB
/wp-admin/options-writing.php0.237 s0.236 s-0.001 s3.37 MiB3.49 MiB+ 120.26 KiB
/wp-admin/media-new.php0.307 s0.292 s-0.015 s3.35 MiB3.49 MiB+ 139.69 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.218 s+0.012 s3.37 MiB3.53 MiB+ 161.66 KiB
/wp-admin/post-new.php?post_type=page0.593 s0.646 s+0.053 s5.59 MiB5.81 MiB+ 224.75 KiB
/wp-admin/options-discussion.php0.366 s0.407 s+0.041 s3.36 MiB3.5 MiB+ 144.79 KiB
/wp-admin/edit-comments.php0.272 s0.252 s-0.020 s3.39 MiB3.53 MiB+ 144.33 KiB
/0.318 s0.257 s-0.061 s3.42 MiB3.46 MiB+ 43.2 KiB
Average 0.416 s0.439 s+0.023 s3.79 MiB3.95 MiB+ 160.86 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

[11-Apr-2024 00:19:19 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/Base/Admin.php on line 57
[11-Apr-2024 00:19:35 UTC] PHP Warning:  Undefined array key "api" in /wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/ViewAdmin/test.php on line 360
[11-Apr-2024 00:19:35 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/better-analytics/library/DigitalPointBetterAnalytics/ViewAdmin/test.php on line 360
[11-Apr-2024 00:19:35 UTC] PHP Warning:  Undefined array key "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