WPCode Lite 2.1.4.1

Does WPCode Lite work with WordPress 6.4 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP warnings
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 521.25 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.025 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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 13

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=7b1b1e1546
Aspect after-activation
HTTP status 200
Load time 0.772 s
Memory usage 4.24 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.848 s
Memory usage 4.13 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.539 s
Memory usage 4.09 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.724 s
Memory usage 3.95 MiB
JS errors None
Resource errors None

Code Snippets → Conversion Pixels

Page screenshot: Code Snippets → Conversion Pixels
URL /wp-admin/admin.php?page=wpcode-pixel
Aspect menu-item
HTTP status 200
Load time 0.304 s
Memory usage 3.95 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.377 s
Memory usage 4.01 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.278 s
Memory usage 3.95 MiB
JS errors None
Resource errors None

Code Snippets → File Editor

Page screenshot: Code Snippets → File Editor
URL /wp-admin/admin.php?page=wpcode-file-editor
Aspect menu-item
HTTP status 200
Load time 0.332 s
Memory usage 3.95 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.268 s
Memory usage 3.95 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.331 s
Memory usage 3.96 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.282 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.855 s
Memory usage 6.01 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: 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.660 s
Memory usage 6 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.390 s0.487 s+0.097 s3.37 MiB3.92 MiB+ 562.52 KiB
/wp-admin/edit.php0.309 s0.261 s-0.048 s3.4 MiB3.97 MiB+ 583.52 KiB
/wp-admin/post-new.php0.953 s1.110 s+0.157 s5.45 MiB6.01 MiB+ 570.57 KiB
/wp-admin/upload.php0.695 s0.455 s-0.240 s3.32 MiB3.85 MiB+ 544.79 KiB
/wp-admin/options-writing.php0.269 s0.245 s-0.024 s3.31 MiB3.84 MiB+ 537.68 KiB
/wp-admin/media-new.php0.375 s0.445 s+0.070 s3.29 MiB3.83 MiB+ 555.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.233 s0.228 s-0.005 s3.31 MiB3.86 MiB+ 561.83 KiB
/wp-admin/post-new.php?post_type=page0.647 s1.084 s+0.437 s5.44 MiB6 MiB+ 570.03 KiB
/wp-admin/options-discussion.php0.386 s0.324 s-0.062 s3.3 MiB3.83 MiB+ 546.84 KiB
/wp-admin/edit-comments.php0.284 s0.254 s-0.030 s3.33 MiB3.86 MiB+ 544.5 KiB
/0.346 s0.269 s-0.077 s3.3 MiB3.45 MiB+ 155.57 KiB
Average 0.444 s0.469 s+0.025 s3.71 MiB4.22 MiB+ 521.25 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%19,1418,550110
SVG0.0%601
CSS0.0%503
JavaScript0.0%505
Total 19,157 8,550 119

PHP Code Analysis | More results »

Lines of code 19,165
Total complexity 2,537
Median class complexity 14.0
Median method complexity 2.0
Most complex class WPCode_Admin_Page_Snippet_Manager
Most complex function WPCode_Generator_Hooks::get_all_hooks_options()
Classes 89
Methods 849
Functions 64

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 5

Custom Post Types 1

ID Name
wpcodePosts

Meta Boxes

{
    "post": {
        "wpcode-metabox-snippets": {
            "title": "WPCode Page Scripts",
            "context": "normal"
        }
    },
    "page": {
        "wpcode-metabox-snippets": {
            "title": "WPCode Page Scripts",
            "context": "normal"
        }
    }
}

Capabilities 2

PHP Error Log 2 lines

[07-Nov-2023 20:34:12 UTC] PHP Warning:  Undefined array key "version" in /wp-content/plugins/insert-headers-and-footers/includes/class-wpcode-install.php on line 97
[07-Nov-2023 20:34:12 UTC] PHP Deprecated:  version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated in /wp-content/plugins/insert-headers-and-footers/includes/class-wpcode-install.php on line 97
See also: All tests for this plugin, How to Hide WPCode Lite Admin Menus and Meta Boxes