Code Snippets 3.2.0

Does 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: 147.67 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 700,000+
WordPress.org page https://wordpress.org/plugins/code-snippets/
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=code-snippets%2Fcode-snippets.php&plugin_status=all&paged=1&s&_wpnonce=228bfc53fb
Aspect after-activation
HTTP status 200
Load time 0.496 s
Memory usage 3.92 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.214 s
Memory usage 4.24 MiB
JS errors None
Resource errors None

Snippets → Functions php

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

Snippets → Content html

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

Snippets → Styles css

Page screenshot: Snippets → Styles css
URL https://codesnippets.pro/pricing/
Aspect menu-item-tab
HTTP status 200
Load time 3.613 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.760 s
Memory usage 3.88 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.442 s
Memory usage 3.86 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.183 s
Memory usage 3.85 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.849 s
Memory usage 3.88 MiB
JS errors None
Resource errors None

Snippets → Settings → Description Editor

Page screenshot: Snippets → Settings → Description Editor
URL /wp-admin/admin.php?page=snippets-settings&section=description_editor
Aspect menu-item-tab
HTTP status 200
Load time 0.333 s
Memory usage 3.88 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.327 s
Memory usage 3.88 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.241 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.329 s0.507 s+0.178 s3.72 MiB3.87 MiB+ 148.61 KiB
/wp-admin/edit.php0.174 s0.214 s+0.040 s3.75 MiB3.9 MiB+ 147.9 KiB
/wp-admin/post-new.php0.909 s1.265 s+0.356 s5.54 MiB5.7 MiB+ 162.45 KiB
/wp-admin/upload.php0.446 s0.424 s-0.022 s3.68 MiB3.83 MiB+ 147.48 KiB
/wp-admin/options-writing.php0.149 s0.212 s+0.063 s3.62 MiB3.8 MiB+ 191.95 KiB
/wp-admin/media-new.php0.435 s0.227 s-0.208 s3.66 MiB3.81 MiB+ 147.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.212 s+0.029 s3.69 MiB3.83 MiB+ 149.18 KiB
/wp-admin/post-new.php?post_type=page0.877 s0.901 s+0.024 s5.54 MiB5.69 MiB+ 154.04 KiB
/wp-admin/options-discussion.php0.212 s0.208 s-0.004 s3.6 MiB3.8 MiB+ 211.9 KiB
/wp-admin/edit-comments.php0.204 s0.206 s+0.002 s3.69 MiB3.84 MiB+ 148.13 KiB
/0.257 s0.328 s+0.071 s3.6 MiB3.62 MiB+ 15.12 KiB
Average 0.380 s0.428 s+0.048 s4.01 MiB4.15 MiB+ 147.67 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.

PO File
PHP
Language % Lines of code Comment lines Files
PO File57.8%8,5093,56916
PHP32.3%4,7542,37335
Sass4.9%720011
TypeScript4.3%6266322
SVG0.7%9902
CSS0.0%707
JavaScript0.0%727
Total 14,722 6,007 100

PHP Code Analysis | More results »

Lines of code 4,314
Total complexity 957
Median class complexity 30.0
Median method complexity 2.0
Most complex class Code_Snippets\List_Table
Most complex function Code_Snippets\Validator::validate()
Classes 19
Methods 226
Functions 39

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