WPCode Lite 2.0.7

Does WPCode Lite work with WordPress 6.1.1 and PHP 8.1.12? 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: 388.1 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.1.1
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 12

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=9816717172
Aspect after-activation
HTTP status 200
Load time 0.631 s
Memory usage 3.58 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 1.385 s
Memory usage 3.65 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.417 s
Memory usage 3.54 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.495 s
Memory usage 3.46 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.220 s
Memory usage 3.45 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.292 s
Memory usage 3.49 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.194 s
Memory usage 3.45 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.196 s
Memory usage 3.45 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.181 s
Memory usage 3.45 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.234 s
Memory usage 3.08 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.888 s
Memory usage 5.39 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.625 s
Memory usage 5.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.295 s0.334 s+0.039 s3.05 MiB3.46 MiB+ 420.2 KiB
/wp-admin/edit.php0.196 s0.321 s+0.125 s3.07 MiB3.48 MiB+ 419.78 KiB
/wp-admin/post-new.php0.789 s0.933 s+0.144 s4.97 MiB5.39 MiB+ 433.17 KiB
/wp-admin/upload.php0.565 s0.256 s-0.309 s2.99 MiB3.38 MiB+ 402.33 KiB
/wp-admin/options-writing.php0.147 s0.158 s+0.011 s2.99 MiB3.37 MiB+ 389.02 KiB
/wp-admin/media-new.php0.263 s0.229 s-0.034 s2.97 MiB3.37 MiB+ 413.78 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.190 s-0.012 s2.98 MiB3.4 MiB+ 424.38 KiB
/wp-admin/post-new.php?post_type=page0.644 s0.751 s+0.107 s4.96 MiB5.38 MiB+ 424.63 KiB
/wp-admin/options-discussion.php0.207 s0.322 s+0.115 s2.98 MiB3.37 MiB+ 402.87 KiB
/wp-admin/edit-comments.php0.217 s0.214 s-0.003 s3 MiB3.39 MiB+ 402.41 KiB
/0.286 s0.211 s-0.075 s2.94 MiB3.08 MiB+ 136.55 KiB
Average 0.346 s0.356 s+0.010 s3.35 MiB3.73 MiB+ 388.1 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%15,3586,79893
SVG0.0%601
CSS0.0%302
JavaScript0.0%303
Total 15,370 6,798 99

PHP Code Analysis | More results »

Lines of code 15,388
Total complexity 1,969
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 76
Methods 683
Functions 48

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 3

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

The log file is empty.

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