Head & Footer Code 1.4.0

Does Head & Footer Code work with WordPress 6.7.2 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: 50.5 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.7.2
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=9d949b4713
Aspect after-activation
HTTP status 200
Load time 0.258 s
Memory usage 3.57 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.587 s
Memory usage 3.53 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.170 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.319 s0.260 s-0.059 s3.48 MiB3.55 MiB+ 65.61 KiB
/wp-admin/edit.php0.189 s0.176 s-0.013 s3.54 MiB3.61 MiB+ 65.95 KiB
/wp-admin/post-new.php0.745 s0.631 s-0.114 s5.93 MiB6 MiB+ 73.77 KiB
/wp-admin/upload.php0.531 s0.470 s-0.061 s3.5 MiB3.54 MiB+ 48.24 KiB
/wp-admin/options-writing.php0.215 s0.194 s-0.021 s3.47 MiB3.52 MiB+ 52.23 KiB
/wp-admin/media-new.php0.275 s0.242 s-0.033 s3.46 MiB3.52 MiB+ 60.43 KiB
/wp-admin/edit-tags.php?taxonomy=category0.173 s0.195 s+0.022 s3.48 MiB3.55 MiB+ 71.1 KiB
/wp-admin/post-new.php?post_type=page0.577 s0.593 s+0.016 s5.92 MiB5.99 MiB+ 68.98 KiB
/wp-admin/options-discussion.php0.457 s0.225 s-0.232 s3.48 MiB3.52 MiB+ 48.73 KiB
/wp-admin/edit-comments.php0.200 s0.402 s+0.202 s3.5 MiB3.54 MiB+ 48.23 KiB
/0.292 s0.188 s-0.104 s3.47 MiB3.43 MiB- 47.83 KiB
Average 0.361 s0.325 s-0.036 s3.93 MiB3.98 MiB+ 50.5 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,69064414
Sass5.0%8912
Total 1,779 645 16

PHP Code Analysis | More results »

Lines of code 1,522
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

[12-Apr-2025 17:50:21 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