Google+ Page Badge 0.1

Does Google+ Page Badge work with WordPress 6.8.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
12PHP warnings
5PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 1 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 version6.8.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 60+
WordPress.org page https://wordpress.org/plugins/google-plus-page-badge/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=google-plus-page-badge%2Fgoogle-plus-page-badge.php&plugin_status=all&paged=1&s&_wpnonce=dcf5563947
Aspect after-activation
HTTP status 200
Load time 0.285 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Settings → Google+ Page Badge

Page screenshot: Settings → Google+ Page Badge
URL /wp-admin/options-general.php?page=googlepb
Aspect menu-item
HTTP status 200
Load time 0.558 s
Memory usage 3.52 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.232 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.349 s0.326 s-0.023 s3.51 MiB3.51 MiB+ 6.96 KiB
/wp-admin/edit.php0.204 s0.218 s+0.014 s3.57 MiB3.58 MiB+ 6.93 KiB
/wp-admin/post-new.php0.780 s0.690 s-0.090 s6.06 MiB6.07 MiB+ 11.36 KiB
/wp-admin/upload.php0.590 s0.656 s+0.066 s3.52 MiB3.51 MiB- 10.48 KiB
/wp-admin/options-writing.php0.230 s0.217 s-0.013 s3.5 MiB3.49 MiB- 6.48 KiB
/wp-admin/media-new.php0.377 s0.236 s-0.141 s3.49 MiB3.49 MiB+ 1.71 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.211 s+0.017 s3.5 MiB3.52 MiB+ 12.38 KiB
/wp-admin/post-new.php?post_type=page0.631 s0.586 s-0.045 s6.05 MiB6.06 MiB+ 6.88 KiB
/wp-admin/options-discussion.php0.448 s0.243 s-0.205 s3.5 MiB3.49 MiB- 9.93 KiB
/wp-admin/edit-comments.php0.250 s0.210 s-0.040 s3.52 MiB3.51 MiB- 10.43 KiB
/0.306 s0.245 s-0.061 s3.43 MiB3.44 MiB+ 2.14 KiB
Average 0.396 s0.349 s-0.047 s3.97 MiB3.97 MiB+ 1 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
PHP100.0%169261
Total 169 26 1

PHP Code Analysis | More results »

Lines of code 177
Total complexity 56
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function googlepb_options()
Classes 0
Methods 0
Functions 5

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 5

PHP Error Log 17 lines

[14-Oct-2025 06:10:38 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[14-Oct-2025 06:10:38 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[14-Oct-2025 06:10:38 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[14-Oct-2025 06:10:38 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[14-Oct-2025 06:10:38 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 718
[14-Oct-2025 06:10:38 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 718
[14-Oct-2025 06:10:38 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 728
[14-Oct-2025 06:10:38 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 731
[14-Oct-2025 06:10:38 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 752
[14-Oct-2025 06:10:38 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[14-Oct-2025 06:10:38 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[14-Oct-2025 06:10:38 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 718
[14-Oct-2025 06:10:38 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 718
[14-Oct-2025 06:10:38 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 728
[14-Oct-2025 06:10:38 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 731
[14-Oct-2025 06:10:38 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 752
[14-Oct-2025 06:10:38 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/link-template.php on line 4830
See also: All tests for this plugin, How to Hide the "Google+ Page Badge" Admin Menu