Home
Header and Footer Scripts
2.2.1
Does Header and Footer Scripts work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on 2024-11-21 18:51:01 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: 36.32 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.7.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=bb2b7967f9
Aspect
after-activation
HTTP status
200
Load time
0.247 s
Memory usage
3.54 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.136 s
Memory usage
3.54 MiB
JS errors
None
Resource errors
None
Test site – Just another WordPress site
URL
/
Aspect
front-page
HTTP status
200
Load time
0.168 s
Memory usage
3.41 MiB
JS errors
None
Resource errors
None
Add New Post ‹ Test site — WordPress
URL
/wp-admin/post-new.php
Aspect
new-meta-boxes
HTTP status
200
Load time
0.589 s
Memory usage
5.98 MiB
JS errors
None
Resource errors
None
Add New Page ‹ Test site — WordPress
URL
/wp-admin/post-new.php?post_type=page
Aspect
new-meta-boxes
HTTP status
200
Load time
0.576 s
Memory usage
5.97 MiB
JS errors
None
Resource errors
None
Benchmark
URL
Load time
Memory usage
Inactive
Active
Change
Inactive
Active
Change
/wp-admin/index.php 0.335 s 0.251 s -0.084 s 3.48 MiB 3.53 MiB + 53.13 KiB /wp-admin/edit.php 0.190 s 0.184 s -0.006 s 3.54 MiB 3.59 MiB + 53.27 KiB /wp-admin/post-new.php 0.719 s 0.588 s -0.131 s 5.92 MiB 5.98 MiB + 54.77 KiB /wp-admin/upload.php 0.519 s 0.438 s -0.081 s 3.5 MiB 3.53 MiB + 35.87 KiB /wp-admin/options-writing.php 0.201 s 0.194 s -0.007 s 3.47 MiB 3.51 MiB + 39.86 KiB /wp-admin/media-new.php 0.268 s 0.226 s -0.042 s 3.46 MiB 3.51 MiB + 48.05 KiB /wp-admin/edit-tags.php?taxonomy=category 0.183 s 0.188 s +0.005 s 3.48 MiB 3.53 MiB + 58.73 KiB /wp-admin/post-new.php?post_type=page 0.526 s 0.554 s +0.028 s 5.92 MiB 5.97 MiB + 49.38 KiB /wp-admin/options-discussion.php 0.240 s 0.233 s -0.007 s 3.47 MiB 3.51 MiB + 36.36 KiB /wp-admin/edit-comments.php 0.371 s 0.206 s -0.165 s 3.49 MiB 3.53 MiB + 35.86 KiB / 0.298 s 0.175 s -0.123 s 3.48 MiB 3.41 MiB - 65.77 KiB
Average
0.350 s 0.294 s -0.056 s 3.93 MiB 3.96 MiB + 36.32 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.