Show Google Analytics widget 1.4.3

Does Show Google Analytics widget work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 31.71 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.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/show-google-analytics-widget/
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=show-google-analytics-widget%2Fwp-ga-count.php&plugin_status=all&paged=1&s&_wpnonce=eee33493da
Aspect after-activation
HTTP status 200
Load time 0.326 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Settings → 設定 GA 帳號及參數

Page screenshot: Settings → 設定 GA 帳號及參數
URL /wp-admin/options-general.php?page=sig-ga-account
Aspect menu-item
HTTP status 200
Load time 0.635 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

本月份GA資訊

Page screenshot: 本月份GA資訊
URL /wp-admin/admin.php?page=sig-view-ga
Aspect menu-item
HTTP status 200
Load time 0.144 s
Memory usage 3.03 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.283 s
Memory usage 2.93 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.032 s
Memory usage 4.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.310 s0.294 s-0.016 s3.08 MiB3.11 MiB+ 28.02 KiB
/wp-admin/edit.php0.180 s0.188 s+0.008 s3.11 MiB3.2 MiB+ 92.02 KiB
/wp-admin/post-new.php1.244 s1.118 s-0.126 s5.27 MiB5.3 MiB+ 32.94 KiB
/wp-admin/upload.php0.594 s0.337 s-0.257 s3.03 MiB3.06 MiB+ 27.62 KiB
/wp-admin/options-writing.php0.149 s0.140 s-0.009 s3.02 MiB3.04 MiB+ 10.86 KiB
/wp-admin/media-new.php0.242 s0.198 s-0.044 s3.01 MiB3.03 MiB+ 27.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.316 s+0.133 s3.04 MiB3.07 MiB+ 27.96 KiB
/wp-admin/post-new.php?post_type=page1.121 s0.951 s-0.170 s5.26 MiB5.28 MiB+ 28.52 KiB
/wp-admin/options-discussion.php0.347 s0.293 s-0.054 s3 MiB3.03 MiB+ 27.37 KiB
/wp-admin/edit-comments.php0.241 s0.294 s+0.053 s3.04 MiB3.07 MiB+ 26.91 KiB
/0.271 s0.218 s-0.053 s2.91 MiB2.93 MiB+ 19.57 KiB
Average 0.444 s0.395 s-0.049 s3.43 MiB3.47 MiB+ 31.71 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
PHP99.0%1,0763207
HTML0.8%901
CSS0.2%201
Total 1,087 320 9

PHP Code Analysis | More results »

Lines of code 943
Total complexity 219
Median class complexity 20.0
Median method complexity 2.0
Most complex class SigGaWidget
Most complex function gapi::requestReportData()
Classes 7
Methods 62
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 1

Sidebar Widgets 1

ID Name
sig-show-pageview顯示GA瀏覽人次統計

PHP Error Log 3 lines

[25-Jul-2021 14:59:10 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/show-google-analytics-widget/wp-ga-count.php on line 526
[25-Jul-2021 14:59:10 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/show-google-analytics-widget/wp-ga-count.php on line 550
[25-Jul-2021 14:59:10 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/show-google-analytics-widget/wp-ga-count.php on line 556
See also: All tests for this plugin, How to Hide Show Google Analytics widget Admin Menus