Code Snippets 3.6.4

Does Code Snippets work with WordPress 6.5.2 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: 152.41 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

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

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 14

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=f3ab72bc7b
Aspect after-activation
HTTP status 200
Load time 0.344 s
Memory usage 3.62 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.291 s
Memory usage 3.59 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.268 s
Memory usage 3.53 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.244 s
Memory usage 3.53 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.255 s
Memory usage 3.57 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.757 s
Memory usage N/A
JS errors None
Resource errors None

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.977 s
Memory usage 3.55 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.639 s
Memory usage 3.55 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.211 s
Memory usage 3.55 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.975 s
Memory usage 3.57 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.340 s
Memory usage 3.57 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.323 s
Memory usage 3.57 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.747 s
Memory usage N/A
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.628 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.392 s0.539 s+0.147 s3.44 MiB3.59 MiB+ 160.34 KiB
/wp-admin/edit.php0.238 s0.265 s+0.027 s3.46 MiB3.62 MiB+ 159.63 KiB
/wp-admin/post-new.php0.994 s1.004 s+0.010 s5.59 MiB5.8 MiB+ 209.37 KiB
/wp-admin/upload.php0.619 s0.433 s-0.186 s3.38 MiB3.52 MiB+ 142.98 KiB
/wp-admin/options-writing.php0.231 s0.337 s+0.106 s3.37 MiB3.5 MiB+ 134.88 KiB
/wp-admin/media-new.php0.320 s0.285 s-0.035 s3.35 MiB3.5 MiB+ 155.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.389 s+0.182 s3.37 MiB3.52 MiB+ 160.34 KiB
/wp-admin/post-new.php?post_type=page0.563 s0.663 s+0.100 s5.59 MiB5.79 MiB+ 204.95 KiB
/wp-admin/options-discussion.php0.350 s0.370 s+0.020 s3.36 MiB3.5 MiB+ 143.41 KiB
/wp-admin/edit-comments.php0.269 s0.283 s+0.014 s3.39 MiB3.53 MiB+ 143.01 KiB
/0.316 s0.218 s-0.098 s3.37 MiB3.43 MiB+ 62.42 KiB
Average 0.409 s0.435 s+0.026 s3.79 MiB3.94 MiB+ 152.41 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
Language % Lines of code Comment lines Files
PHP59.5%5,7143,00243
TypeScript26.6%2,5517461
Sass12.9%1,235014
SVG1.0%9702
Total 9,597 3,076 120

PHP Code Analysis | More results »

Lines of code 5,408
Total complexity 1,119
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 26
Methods 279
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