WPCode - Insert Headers, Footers, and Code Snippets 2.0.0

Does "WPCode - Insert Headers, Footers, and Code Snippets" work with WordPress 6.0.1 and PHP 7.4.8? 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: 491.23 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.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 2,000,000+
WordPress.org page https://wordpress.org/plugins/insert-headers-and-footers/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 9

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=insert-headers-and-footers%2Fihaf.php&plugin_status=all&paged=1&s&_wpnonce=6157c89732
Aspect after-activation
HTTP status 200
Load time 0.598 s
Memory usage 4.37 MiB
JS errors None
Resource errors None

Code Snippets

Page screenshot: Code Snippets
URL /wp-admin/admin.php?page=wpcode
Aspect menu-item
HTTP status 200
Load time 0.507 s
Memory usage 4.37 MiB
JS errors None
Resource errors None

Code Snippets → + Add Snippet

Page screenshot: Code Snippets → + Add Snippet
URL /wp-admin/admin.php?page=wpcode-snippet-manager
Aspect menu-item
HTTP status 200
Load time 0.744 s
Memory usage 4.28 MiB
JS errors None
Resource errors None

Code Snippets → Header & Footer

Page screenshot: Code Snippets → Header & Footer
URL /wp-admin/admin.php?page=wpcode-headers-footers
Aspect menu-item
HTTP status 200
Load time 0.641 s
Memory usage 4.19 MiB
JS errors None
Resource errors None

Code Snippets → Library

Page screenshot: Code Snippets → Library
URL /wp-admin/admin.php?page=wpcode-library
Aspect menu-item
HTTP status 200
Load time 0.273 s
Memory usage 4.26 MiB
JS errors None
Resource errors None

Code Snippets → Generator

Page screenshot: Code Snippets → Generator
URL /wp-admin/admin.php?page=wpcode-generator
Aspect menu-item
HTTP status 200
Load time 0.189 s
Memory usage 4.18 MiB
JS errors None
Resource errors None

Code Snippets → Tools

Page screenshot: Code Snippets → Tools
URL /wp-admin/admin.php?page=wpcode-tools
Aspect menu-item
HTTP status 200
Load time 0.179 s
Memory usage 4.18 MiB
JS errors None
Resource errors None

Code Snippets → Settings

Page screenshot: Code Snippets → Settings
URL /wp-admin/admin.php?page=wpcode-settings
Aspect menu-item
HTTP status 200
Load time 0.153 s
Memory usage 4.18 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.248 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.415 s+0.071 s3.72 MiB4.23 MiB+ 525.14 KiB
/wp-admin/edit.php0.195 s0.196 s+0.001 s3.75 MiB4.27 MiB+ 525.88 KiB
/wp-admin/post-new.php0.955 s1.188 s+0.233 s5.55 MiB6.07 MiB+ 533.81 KiB
/wp-admin/upload.php0.418 s0.508 s+0.090 s3.68 MiB4.2 MiB+ 524.01 KiB
/wp-admin/options-writing.php0.153 s0.141 s-0.012 s3.62 MiB4.17 MiB+ 567.91 KiB
/wp-admin/media-new.php0.414 s0.208 s-0.206 s3.66 MiB4.17 MiB+ 524.18 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.199 s+0.007 s3.69 MiB4.2 MiB+ 525.09 KiB
/wp-admin/post-new.php?post_type=page0.973 s0.934 s-0.039 s5.54 MiB6.06 MiB+ 529.4 KiB
/wp-admin/options-discussion.php0.212 s0.216 s+0.004 s3.6 MiB4.17 MiB+ 588.49 KiB
/wp-admin/edit-comments.php0.216 s0.220 s+0.004 s3.69 MiB4.21 MiB+ 524.03 KiB
/0.298 s0.213 s-0.085 s3.6 MiB3.64 MiB+ 35.63 KiB
Average 0.397 s0.403 s+0.006 s4.01 MiB4.49 MiB+ 491.23 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
PHP99.9%11,7595,10770
SVG0.1%601
CSS0.0%201
JavaScript0.0%101
Total 11,768 5,107 73

PHP Code Analysis | More results »

Lines of code 11,793
Total complexity 1,467
Median class complexity 11.5
Median method complexity 2.0
Most complex class WPCode_Admin_Page_Snippet_Manager
Most complex function WPCode_Generator_Hooks::get_all_hooks_options()
Classes 58
Methods 508
Functions 30

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 2

Custom Post Types 1

ID Name
wpcodePosts

Capabilities 2

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide WPCode Lite Admin Menus and Meta Boxes