Head & Footer Code 1.3.1

Does Head & Footer Code work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 31.45 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.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/head-footer-code/
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=head-footer-code%2Fhead-footer-code.php&plugin_status=all&paged=1&s&_wpnonce=dc67537c67
Aspect after-activation
HTTP status 200
Load time 0.393 s
Memory usage 3.04 MiB
JS errors None
Resource errors None

Tools → Head & Footer Code

Page screenshot: Tools → Head & Footer Code
URL /wp-admin/tools.php?page=head-footer-code
Aspect menu-item
HTTP status 200
Load time 0.454 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.209 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.277 s0.231 s-0.046 s3.05 MiB3.09 MiB+ 40.4 KiB
/wp-admin/edit.php0.176 s0.177 s+0.001 s3.07 MiB3.11 MiB+ 40.59 KiB
/wp-admin/post-new.php0.755 s0.914 s+0.159 s4.97 MiB5.01 MiB+ 47.03 KiB
/wp-admin/upload.php0.508 s0.288 s-0.220 s2.99 MiB3.02 MiB+ 25.13 KiB
/wp-admin/options-writing.php0.140 s0.134 s-0.006 s2.99 MiB3 MiB+ 11.71 KiB
/wp-admin/media-new.php0.249 s0.362 s+0.113 s2.97 MiB3 MiB+ 37.31 KiB
/wp-admin/edit-tags.php?taxonomy=category0.162 s0.168 s+0.006 s2.98 MiB3.02 MiB+ 40.35 KiB
/wp-admin/post-new.php?post_type=page0.613 s0.629 s+0.016 s4.96 MiB5 MiB+ 42.61 KiB
/wp-admin/options-discussion.php0.194 s0.188 s-0.006 s2.98 MiB3 MiB+ 25.55 KiB
/wp-admin/edit-comments.php0.167 s0.201 s+0.034 s3 MiB3.02 MiB+ 22.98 KiB
/0.269 s0.205 s-0.064 s2.94 MiB2.96 MiB+ 12.24 KiB
Average 0.319 s0.318 s-0.001 s3.35 MiB3.38 MiB+ 31.45 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
PHP94.8%1,36450911
Sass5.2%7511
Total 1,439 510 12

PHP Code Analysis | More results »

Lines of code 1,274
Total complexity 218
Median class complexity 18.0
Median method complexity 3.0
Most complex class AUHfc_Meta_Box
Most complex function auhfc_settings_init()
Classes 1
Methods 3
Functions 45

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 4

PHP Error Log 1 lines

[18-Mar-2023 10:39:41 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/head-footer-code/inc/update.php on line 87
See also: All tests for this plugin, How to Hide the "Head Footer Code" Admin Menu