Head & Footer Code 1.4.5

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 56.7 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.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=689606e950
Aspect after-activation
HTTP status 200
Load time 0.283 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.547 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.174 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.316 s0.291 s-0.025 s3.51 MiB3.57 MiB+ 66.59 KiB
/wp-admin/edit.php0.204 s0.216 s+0.012 s3.57 MiB3.64 MiB+ 66.62 KiB
/wp-admin/post-new.php0.787 s0.656 s-0.131 s6.06 MiB6.13 MiB+ 73.39 KiB
/wp-admin/upload.php0.574 s0.519 s-0.055 s3.52 MiB3.57 MiB+ 48.91 KiB
/wp-admin/options-writing.php0.232 s0.210 s-0.022 s3.5 MiB3.55 MiB+ 52.91 KiB
/wp-admin/media-new.php0.322 s0.206 s-0.116 s3.49 MiB3.55 MiB+ 61.1 KiB
/wp-admin/edit-tags.php?taxonomy=category0.228 s0.218 s-0.010 s3.5 MiB3.57 MiB+ 71.77 KiB
/wp-admin/post-new.php?post_type=page0.631 s0.588 s-0.043 s6.05 MiB6.12 MiB+ 68.92 KiB
/wp-admin/options-discussion.php0.443 s0.413 s-0.030 s3.5 MiB3.55 MiB+ 49.41 KiB
/wp-admin/edit-comments.php0.270 s0.212 s-0.058 s3.52 MiB3.57 MiB+ 48.91 KiB
/0.305 s0.407 s+0.102 s3.44 MiB3.45 MiB+ 15.22 KiB
Average 0.392 s0.358 s-0.034 s3.97 MiB4.03 MiB+ 56.7 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.1%1,74367114
Sass4.9%8912
Total 1,832 672 16

PHP Code Analysis | More results »

Lines of code 1,575
Total complexity 296
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 51
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 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Head & Footer Code" Admin Menu