Show Google Analytics widget 1.4.1

Does Show Google Analytics widget work with WordPress 5.6.1 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: 26.33 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.6.1
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=7cd211328c
Aspect after-activation
HTTP status 200
Load time 0.798 s
Memory usage 2.71 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.187 s
Memory usage 2.68 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.197 s
Memory usage 2.67 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.201 s
Memory usage 2.64 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.872 s
Memory usage 2.78 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.269 s0.276 s+0.007 s2.79 MiB2.82 MiB+ 31.82 KiB
/wp-admin/edit.php0.180 s0.189 s+0.009 s2.84 MiB2.87 MiB+ 31.82 KiB
/wp-admin/post-new.php0.889 s0.967 s+0.078 s4.93 MiB4.98 MiB+ 44.12 KiB
/wp-admin/upload.php0.525 s0.310 s-0.215 s2.67 MiB2.69 MiB+ 27.46 KiB
/wp-admin/options-writing.php0.164 s0.146 s-0.018 s2.68 MiB2.68 MiB- 5.3 KiB
/wp-admin/media-new.php0.232 s0.296 s+0.064 s2.65 MiB2.67 MiB+ 26.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.208 s+0.011 s2.68 MiB2.71 MiB+ 27.8 KiB
/wp-admin/post-new.php?post_type=page1.211 s1.067 s-0.144 s4.92 MiB4.95 MiB+ 27.7 KiB
/wp-admin/options-discussion.php0.316 s0.295 s-0.021 s2.65 MiB2.67 MiB+ 27.21 KiB
/wp-admin/edit-comments.php0.232 s0.226 s-0.006 s2.75 MiB2.77 MiB+ 26.75 KiB
/0.254 s0.220 s-0.034 s2.61 MiB2.64 MiB+ 23.38 KiB
Average 0.406 s0.382 s-0.024 s3.11 MiB3.13 MiB+ 26.33 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
PHP98.9%9573184
HTML0.9%901
CSS0.2%201
Total 968 318 6

PHP Code Analysis | More results »

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

[08-Feb-2021 01:47:48 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 531
[08-Feb-2021 01:47:48 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
[08-Feb-2021 01:47:48 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