Head & Footer Code 1.3.1

Does Head & Footer Code work with WordPress 6.2.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: 31.74 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.2.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=15114c26f7
Aspect after-activation
HTTP status 200
Load time 0.254 s
Memory usage 3.06 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.638 s
Memory usage 3.06 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.270 s
Memory usage 3.04 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.290 s0.250 s-0.040 s3.07 MiB3.11 MiB+ 40.4 KiB
/wp-admin/edit.php0.201 s0.200 s-0.001 s3.1 MiB3.14 MiB+ 46.09 KiB
/wp-admin/post-new.php0.744 s0.966 s+0.222 s5.02 MiB5.07 MiB+ 47.02 KiB
/wp-admin/upload.php0.585 s0.311 s-0.274 s3.02 MiB3.04 MiB+ 25.12 KiB
/wp-admin/options-writing.php0.173 s0.146 s-0.027 s3.01 MiB3.02 MiB+ 11.82 KiB
/wp-admin/media-new.php0.347 s0.196 s-0.151 s2.99 MiB3.03 MiB+ 37.31 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.176 s-0.013 s3.01 MiB3.04 MiB+ 40.35 KiB
/wp-admin/post-new.php?post_type=page0.617 s0.765 s+0.148 s5.01 MiB5.06 MiB+ 42.61 KiB
/wp-admin/options-discussion.php0.206 s0.230 s+0.024 s3 MiB3.02 MiB+ 25.55 KiB
/wp-admin/edit-comments.php0.215 s0.198 s-0.017 s3.03 MiB3.05 MiB+ 22.98 KiB
/0.309 s0.225 s-0.084 s3.03 MiB3.04 MiB+ 9.83 KiB
Average 0.352 s0.333 s-0.019 s3.39 MiB3.42 MiB+ 31.74 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

[20-May-2023 11:05:42 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