Header Footer Code Manager 1.1.21

Does Header Footer Code Manager work with WordPress 5.9.3 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP warnings
2PHP notices
2JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 42.47 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 version5.9.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 500,000+
WordPress.org page https://wordpress.org/plugins/header-footer-code-manager/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=header-footer-code-manager%2F99robots-header-footer-code-manager.php&plugin_status=all&paged=1&s&_wpnonce=cb05e7f589
Aspect after-activation
HTTP status 200
Load time 0.458 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

HFCM

Page screenshot: HFCM
URL /wp-admin/admin.php?page=hfcm-list
Aspect menu-item
HTTP status 200
Load time 0.219 s
Memory usage 3.26 MiB
JS errors None
Resource errors None

HFCM → Add New

Page screenshot: HFCM → Add New
URL /wp-admin/admin.php?page=hfcm-create
Aspect menu-item
HTTP status 200
Load time 0.601 s
Memory usage 3.48 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/header-footer-code-manager/js/nnr-hfcm-showboxes.js?ver=5.9.3:150:51)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-codemirror,underscore&ver=5.9.3:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-codemirror,underscore&ver=5.9.3:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

HFCM → Tools

Page screenshot: HFCM → Tools
URL /wp-admin/admin.php?page=hfcm-tools
Aspect menu-item
HTTP status 200
Load time 0.140 s
Memory usage 3.3 MiB
JS errors
[
    {
        "message": "TypeError: $(...).selectize is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/header-footer-code-manager/js/nnr-hfcm-showboxes.js?ver=5.9.3:132:102)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.3:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.3:2:30340)",
        "trace": null,
        "code": null
    }
]
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.204 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.341 s0.278 s-0.063 s3.37 MiB3.39 MiB+ 22.89 KiB
/wp-admin/edit.php0.175 s0.216 s+0.041 s3.4 MiB3.42 MiB+ 22.16 KiB
/wp-admin/post-new.php0.802 s0.943 s+0.141 s5.68 MiB5.71 MiB+ 27.23 KiB
/wp-admin/upload.php0.353 s0.298 s-0.055 s3.25 MiB3.34 MiB+ 94.34 KiB
/wp-admin/options-writing.php0.274 s0.262 s-0.012 s3.24 MiB3.26 MiB+ 14.21 KiB
/wp-admin/media-new.php0.286 s0.232 s-0.054 s3.23 MiB3.32 MiB+ 94.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.193 s+0.010 s3.27 MiB3.35 MiB+ 87.42 KiB
/wp-admin/post-new.php?post_type=page0.648 s0.657 s+0.009 s5.68 MiB5.7 MiB+ 22.82 KiB
/wp-admin/options-discussion.php0.237 s0.233 s-0.004 s3.22 MiB3.25 MiB+ 30.84 KiB
/wp-admin/edit-comments.php0.208 s0.212 s+0.004 s3.27 MiB3.35 MiB+ 85.78 KiB
/0.275 s0.228 s-0.047 s3.4 MiB3.36 MiB- 35.02 KiB
Average 0.344 s0.341 s-0.003 s3.73 MiB3.77 MiB+ 42.47 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.

PO File
PHP
CSS
Language % Lines of code Comment lines Files
PO File54.0%3,15786521
PHP32.4%1,8922625
CSS10.3%600173
JavaScript3.4%196213
SVG0.0%101
Total 5,846 1,165 33

PHP Code Analysis | More results »

Lines of code 1,389
Total complexity 257
Median class complexity 128.5
Median method complexity 2.0
Most complex class NNR_HFCM
Most complex function NNR_HFCM::hfcm_add_snippets()
Classes 2
Methods 49
Functions 0

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.

Database Tables 1

Options wp_options 2

PHP Error Log 4 lines

[21-Apr-2022 21:55:47 UTC] PHP Notice:  Undefined variable: ex_posts in /wp-content/plugins/header-footer-code-manager/99robots-header-footer-code-manager.php on line 900
[21-Apr-2022 21:55:47 UTC] PHP Warning:  in_array() expects parameter 2 to be array, null given in /wp-content/plugins/header-footer-code-manager/99robots-header-footer-code-manager.php on line 900
[21-Apr-2022 21:55:47 UTC] PHP Notice:  Undefined variable: s_posts in /wp-content/plugins/header-footer-code-manager/99robots-header-footer-code-manager.php on line 904
[21-Apr-2022 21:55:47 UTC] PHP Warning:  in_array() expects parameter 2 to be array, null given in /wp-content/plugins/header-footer-code-manager/99robots-header-footer-code-manager.php on line 904
See also: All tests for this plugin, How to Hide Header Footer Code Manager Admin Menus