Head & Footer Code 1.4.2

Does Head & Footer Code work with WordPress 6.8 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: 56.16 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
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=7330a1cd92
Aspect after-activation
HTTP status 200
Load time 0.273 s
Memory usage 3.6 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.480 s
Memory usage 3.56 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.205 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.286 s0.226 s-0.060 s3.51 MiB3.57 MiB+ 65.34 KiB
/wp-admin/edit.php0.173 s0.163 s-0.010 s3.57 MiB3.64 MiB+ 65.69 KiB
/wp-admin/post-new.php0.651 s0.564 s-0.087 s6.06 MiB6.13 MiB+ 72.46 KiB
/wp-admin/upload.php0.703 s0.279 s-0.424 s3.52 MiB3.57 MiB+ 47.98 KiB
/wp-admin/options-writing.php0.165 s0.158 s-0.007 s3.5 MiB3.55 MiB+ 51.97 KiB
/wp-admin/media-new.php0.210 s0.270 s+0.060 s3.49 MiB3.55 MiB+ 60.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.153 s0.160 s+0.007 s3.5 MiB3.57 MiB+ 70.84 KiB
/wp-admin/post-new.php?post_type=page0.549 s0.472 s-0.077 s6.05 MiB6.12 MiB+ 67.98 KiB
/wp-admin/options-discussion.php0.395 s0.237 s-0.158 s3.5 MiB3.55 MiB+ 48.47 KiB
/wp-admin/edit-comments.php0.183 s0.174 s-0.009 s3.52 MiB3.57 MiB+ 47.97 KiB
/0.259 s0.164 s-0.095 s3.43 MiB3.45 MiB+ 18.93 KiB
Average 0.339 s0.261 s-0.078 s3.97 MiB4.02 MiB+ 56.16 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.0%1,70365314
Sass5.0%8912
Total 1,792 654 16

PHP Code Analysis | More results »

Lines of code 1,535
Total complexity 287
Median class complexity 21.0
Median method complexity 3.0
Most complex class Techwebux\Hfc\Common
Most complex function Techwebux\Hfc\Settings::settings_init()
Classes 7
Methods 50
Functions 12

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 2

PHP Error Log 1 lines

[20-Apr-2025 05:55:13 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/head-footer-code/update.php on line 246
See also: All tests for this plugin, How to Hide the "Head & Footer Code" Admin Menu