Code Snippets 3.6.6.1

Does Code Snippets work with WordPress 6.7.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
2Resource errors (CSS, JS, images, fonts and so on.)
  • 2
Performance

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

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

Environment
WordPress version6.7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000,000+
WordPress.org page https://wordpress.org/plugins/code-snippets/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 15

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=code-snippets%2Fcode-snippets.php&plugin_status=all&paged=1&s&_wpnonce=5b79d8641c
Aspect after-activation
HTTP status 200
Load time 0.631 s
Memory usage 3.77 MiB
JS errors None
Resource errors None

Snippets

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

Snippets → Functionsphp

Page screenshot: Snippets → Functionsphp
URL /wp-admin/admin.php?page=snippets&type=php
Aspect menu-item-tab
HTTP status 200
Load time 0.233 s
Memory usage 3.68 MiB
JS errors None
Resource errors None

Snippets → Contenthtml

Page screenshot: Snippets → Contenthtml
URL /wp-admin/admin.php?page=snippets&type=html
Aspect menu-item-tab
HTTP status 200
Load time 0.225 s
Memory usage 3.68 MiB
JS errors None
Resource errors None

Snippets → Cloud Search

Page screenshot: Snippets → Cloud Search
URL /wp-admin/admin.php?page=snippets&type=cloud_search
Aspect menu-item-tab
HTTP status 200
Load time 0.244 s
Memory usage 3.68 MiB
JS errors None
Resource errors None

Snippets → Stylescss

Page screenshot: Snippets → Stylescss
URL https://codesnippets.pro/pricing/
Aspect menu-item-tab
HTTP status 200
Load time 3.013 s
Memory usage N/A
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/1f525.svg",
        "errorString": ""
    }
]

Snippets → Add New

Page screenshot: Snippets → Add New
URL /wp-admin/admin.php?page=add-snippet
Aspect menu-item
HTTP status 200
Load time 1.972 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Snippets → Add New → Content html

Page screenshot: Snippets → Add New → Content html
URL /wp-admin/admin.php?page=add-snippet&type=html
Aspect menu-item-tab
HTTP status 200
Load time 0.671 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Snippets → Import

Page screenshot: Snippets → Import
URL /wp-admin/admin.php?page=import-code-snippets
Aspect menu-item
HTTP status 200
Load time 0.220 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Snippets → Settings

Page screenshot: Snippets → Settings
URL /wp-admin/admin.php?page=snippets-settings
Aspect menu-item
HTTP status 200
Load time 0.894 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Snippets → Settings → Code Editor

Page screenshot: Snippets → Settings → Code Editor
URL /wp-admin/admin.php?page=snippets-settings&section=editor
Aspect menu-item-tab
HTTP status 200
Load time 0.357 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Snippets → Settings → Debug

Page screenshot: Snippets → Settings → Debug
URL /wp-admin/admin.php?page=snippets-settings&section=debug
Aspect menu-item-tab
HTTP status 200
Load time 0.322 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Snippets → What’s New

Page screenshot: Snippets → What’s New
URL /wp-admin/admin.php?page=code-snippets-welcome
Aspect menu-item
HTTP status 200
Load time 0.781 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Snippets → Go Pro

Page screenshot: Snippets → Go Pro
URL https://snipco.de/JE2f
Requested URL /wp-admin/admin.php?page=code_snippets_upgrade
Aspect menu-item
HTTP status 200
Load time 0.771 s
Memory usage N/A
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/1f525.svg",
        "errorString": ""
    }
]

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.546 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.353 s0.570 s+0.217 s3.48 MiB3.67 MiB+ 194.35 KiB
/wp-admin/edit.php0.217 s0.271 s+0.054 s3.54 MiB3.73 MiB+ 195.38 KiB
/wp-admin/post-new.php0.850 s1.059 s+0.209 s5.92 MiB6.18 MiB+ 263.42 KiB
/wp-admin/upload.php0.798 s0.343 s-0.455 s3.49 MiB3.67 MiB+ 178.59 KiB
/wp-admin/options-writing.php0.217 s0.226 s+0.009 s3.47 MiB3.65 MiB+ 181.96 KiB
/wp-admin/media-new.php0.293 s0.279 s-0.014 s3.46 MiB3.65 MiB+ 190.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.234 s+0.051 s3.47 MiB3.67 MiB+ 200.83 KiB
/wp-admin/post-new.php?post_type=page0.710 s1.040 s+0.330 s5.92 MiB6.17 MiB+ 258.95 KiB
/wp-admin/options-discussion.php0.313 s0.329 s+0.016 s3.47 MiB3.65 MiB+ 178.46 KiB
/wp-admin/edit-comments.php0.212 s0.221 s+0.009 s3.49 MiB3.67 MiB+ 177.96 KiB
/0.337 s0.217 s-0.120 s3.47 MiB3.47 MiB- 4.13 KiB
Average 0.408 s0.435 s+0.028 s3.93 MiB4.11 MiB+ 183.27 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
TypeScript
Sass
Markdown
Language % Lines of code Comment lines Files
PHP53.9%6,1213,20146
TypeScript22.8%2,5929666
Sass14.3%1,620015
Markdown8.2%93101
SVG0.9%9702
Total 11,361 3,297 130

PHP Code Analysis | More results »

Lines of code 5,638
Total complexity 1,165
Median class complexity 27.5
Median method complexity 2.0
Most complex class Code_Snippets\List_Table
Most complex function Code_Snippets\Validator::validate()
Classes 28
Methods 298
Functions 46

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.

Database Tables 1

Options wp_options 3

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Code Snippets Admin Menus