Home
Header and Footer Scripts
2.2.2 (latest)
Does Header and Footer Scripts work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on 2025-04-30 19:04:48 UTC .
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: 42.66 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 version 6.8.1 PHP version 8.1.12 MySQL version 10.6.10 PHP memory limit 512M
Pages 5 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-and-footer-scripts%2Fshfs.php&plugin_status=all&paged=1&s&_wpnonce=8dd227a79c
Aspect
after-activation
HTTP status
200
Load time
0.253 s
Memory usage
3.57 MiB
JS errors
None
Resource errors
None
Settings → Header and Footer Scripts
URL
/wp-admin/options-general.php?page=header-and-footer-scripts%2Fshfs.php
Requested URL
/wp-admin/options-general.php?page=header-and-footer-scripts/shfs.php
Aspect
menu-item
HTTP status
200
Load time
0.170 s
Memory usage
3.56 MiB
JS errors
None
Resource errors
None
Test site – Just another WordPress site
URL
/
Aspect
front-page
HTTP status
200
Load time
0.204 s
Memory usage
3.44 MiB
JS errors
None
Resource errors
None
Add Post ‹ Test site — WordPress
URL
/wp-admin/post-new.php
Aspect
new-meta-boxes
HTTP status
200
Load time
0.789 s
Memory usage
6.12 MiB
JS errors
None
Resource errors
None
Add Page ‹ Test site — WordPress
URL
/wp-admin/post-new.php?post_type=page
Aspect
new-meta-boxes
HTTP status
200
Load time
0.618 s
Memory usage
6.1 MiB
JS errors
None
Resource errors
None
Benchmark
URL
Load time
Memory usage
Inactive
Active
Change
Inactive
Active
Change
/wp-admin/index.php 0.562 s 0.275 s -0.287 s 3.51 MiB 3.56 MiB + 53.11 KiB /wp-admin/edit.php 0.200 s 0.194 s -0.006 s 3.57 MiB 3.62 MiB + 52.88 KiB /wp-admin/post-new.php 0.776 s 0.643 s -0.133 s 6.06 MiB 6.12 MiB + 54.75 KiB /wp-admin/upload.php 0.612 s 0.632 s +0.020 s 3.52 MiB 3.56 MiB + 35.79 KiB /wp-admin/options-writing.php 0.221 s 0.267 s +0.046 s 3.5 MiB 3.54 MiB + 39.47 KiB /wp-admin/media-new.php 0.276 s 0.249 s -0.027 s 3.49 MiB 3.54 MiB + 47.66 KiB /wp-admin/edit-tags.php?taxonomy=category 0.264 s 0.194 s -0.070 s 3.5 MiB 3.56 MiB + 58.34 KiB /wp-admin/post-new.php?post_type=page 0.598 s 0.576 s -0.022 s 6.05 MiB 6.1 MiB + 50.27 KiB /wp-admin/options-discussion.php 0.446 s 0.241 s -0.205 s 3.5 MiB 3.54 MiB + 35.97 KiB /wp-admin/edit-comments.php 0.393 s 0.201 s -0.192 s 3.52 MiB 3.56 MiB + 35.47 KiB / 0.332 s 0.201 s -0.131 s 3.43 MiB 3.44 MiB + 5.58 KiB
Average
0.425 s 0.334 s -0.092 s 3.97 MiB 4.01 MiB + 42.66 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.
Language
%
Lines of code
Comment lines
Files
PHP 100.0% 172 60 4
Total
172
60
4
Lines of code
99
Total complexity
33
Median class complexity
16.0
Median method complexity
1.0
Most complex class
HeaderAndFooterScripts
Most complex function
shfs_post_meta_save()
Classes
1
Methods
7
Functions
3
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.
Meta Boxes {
"post": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"page": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"attachment": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"revision": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"nav_menu_item": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"custom_css": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"customize_changeset": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"oembed_cache": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"user_request": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"wp_block": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"wp_template": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"wp_template_part": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"wp_global_styles": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"wp_navigation": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"wp_font_family": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
},
"wp_font_face": {
"shfs_all_post_meta": {
"title": "Insert Script to <head>",
"context": "normal"
}
}
}
PHP Error Log The log file is empty.