Head & Footer Code 1.5.8

Does Head & Footer Code work with WordPress 7.0.4 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: 30.81 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 version7.0.4
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=d92634d169
Aspect after-activation
HTTP status 200
Load time 0.948 s
Memory usage 3.96 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.907 s
Memory usage 3.94 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 4.25 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.791 s0.579 s-0.212 s3.92 MiB3.96 MiB+ 36.3 KiB
/wp-admin/edit.php0.536 s0.694 s+0.158 s3.98 MiB4.02 MiB+ 36.19 KiB
/wp-admin/post-new.php2.075 s1.957 s-0.118 s6.56 MiB6.6 MiB+ 49.07 KiB
/wp-admin/upload.php0.763 s0.687 s-0.076 s3.89 MiB3.91 MiB+ 18.59 KiB
/wp-admin/options-writing.php0.543 s0.547 s+0.004 s3.86 MiB3.88 MiB+ 22.58 KiB
/wp-admin/media-new.php0.621 s1.000 s+0.379 s3.85 MiB3.88 MiB+ 30.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.506 s0.573 s+0.067 s3.86 MiB3.9 MiB+ 36.24 KiB
/wp-admin/post-new.php?post_type=page1.770 s1.549 s-0.221 s6.55 MiB6.59 MiB+ 44.59 KiB
/wp-admin/options-discussion.php0.816 s0.607 s-0.209 s3.86 MiB3.88 MiB+ 19.08 KiB
/wp-admin/edit-comments.php0.567 s0.522 s-0.045 s3.88 MiB3.9 MiB+ 18.58 KiB
/0.298 s0.203 s-0.095 s4.23 MiB4.25 MiB+ 26.87 KiB
Average 0.844 s0.811 s-0.033 s4.4 MiB4.44 MiB+ 30.81 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.7%2,0561,09215
Sass4.3%9222
Total 2,148 1,094 17

PHP Code Analysis | More results »

Lines of code 1,869
Total complexity 346
Median class complexity 24.0
Median method complexity 2.0
Most complex class Techwebux\Hfc\Settings
Most complex function Techwebux\Hfc\Settings::settings_prepare()
Classes 8
Methods 85
Functions 13

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