Coding Blocks 1.1.0

Does Coding Blocks work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP warnings
3PHP notices
3Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 21.81 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/coding-blocks/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=coding-blocks%2Fcoding-blocks.php&plugin_status=all&paged=1&s&_wpnonce=6838cfd01b
Aspect after-activation
HTTP status 200
Load time 0.336 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Coding Blocks

Page screenshot: Coding Blocks
URL /wp-admin/admin.php?page=coding-blocks
Aspect menu-item
HTTP status 200
Load time 0.258 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Coding Blocks → New Snippet

Page screenshot: Coding Blocks → New Snippet
URL /wp-admin/admin.php?page=coding-blocks-new-snippet
Aspect menu-item
HTTP status 200
Load time 0.232 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Coding Blocks → Manage Snippets

Page screenshot: Coding Blocks → Manage Snippets
URL /wp-admin/admin.php?page=coding-blocks-snippets
Aspect menu-item
HTTP status 200
Load time 0.185 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Coding Blocks → Theme Preview

Page screenshot: Coding Blocks → Theme Preview
URL /wp-admin/admin.php?page=coding-blocks-preview
Aspect menu-item
HTTP status 200
Load time 0.190 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Coding Blocks → Plugin Options

Page screenshot: Coding Blocks → Plugin Options
URL /wp-admin/admin.php?page=coding-blocks-settings
Aspect menu-item
HTTP status 200
Load time 0.158 s
Memory usage 3.51 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.208 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.320 s0.348 s+0.028 s3.51 MiB3.54 MiB+ 30.47 KiB
/wp-admin/edit.php0.184 s0.202 s+0.018 s3.57 MiB3.6 MiB+ 28.68 KiB
/wp-admin/post-new.php0.724 s0.819 s+0.095 s6.06 MiB6.09 MiB+ 30.65 KiB
/wp-admin/upload.php0.594 s0.661 s+0.067 s3.52 MiB3.53 MiB+ 11.18 KiB
/wp-admin/options-writing.php0.199 s0.211 s+0.012 s3.5 MiB3.52 MiB+ 15.58 KiB
/wp-admin/media-new.php0.268 s0.202 s-0.066 s3.49 MiB3.51 MiB+ 23.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.189 s+0.005 s3.5 MiB3.54 MiB+ 34.54 KiB
/wp-admin/post-new.php?post_type=page0.570 s0.557 s-0.013 s6.05 MiB6.08 MiB+ 26.17 KiB
/wp-admin/options-discussion.php0.296 s0.249 s-0.047 s3.5 MiB3.51 MiB+ 12.39 KiB
/wp-admin/edit-comments.php0.390 s0.438 s+0.048 s3.52 MiB3.53 MiB+ 11.73 KiB
/0.276 s0.207 s-0.069 s3.43 MiB3.45 MiB+ 14.8 KiB
Average 0.364 s0.371 s+0.007 s3.97 MiB3.99 MiB+ 21.81 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.

CSS
PHP
Language % Lines of code Comment lines Files
CSS59.7%2,92557739
PHP25.2%1,23467519
HTML7.6%37413
JavaScript7.5%36555038
Total 4,898 1,803 99

PHP Code Analysis | More results »

Lines of code 340
Total complexity 67
Median class complexity 6.0
Median method complexity 1.0
Most complex class Coding_Blocks_Admin
Most complex function coding_blocks_display_content()
Classes 7
Methods 29
Functions 7

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 1

PHP Error Log 10 lines

[08-May-2025 03:57:41 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6121
[08-May-2025 03:57:41 UTC] WordPress database error Table 'wordpress.wp_coding_blocks' doesn't exist for query SELECT * FROM wp_coding_blocks made by activate_plugin, do_action('activate_coding-blocks/coding-blocks.php'), WP_Hook->do_action, WP_Hook->apply_filters, activate_coding_blocks, Coding_Blocks_Activator::activate
[08-May-2025 03:57:41 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6121
[08-May-2025 03:57:41 UTC] WordPress database error Table 'wordpress.wp_coding_blocks' doesn't exist for query SELECT loader FROM wp_coding_blocks made by activate_plugin, do_action('activate_coding-blocks/coding-blocks.php'), WP_Hook->do_action, WP_Hook->apply_filters, activate_coding_blocks, Coding_Blocks_Activator::activate
[08-May-2025 03:57:41 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6121
[08-May-2025 03:57:41 UTC] WordPress database error Table 'wordpress.wp_coding_blocks_settings' doesn't exist for query SELECT * FROM wp_coding_blocks_settings made by activate_plugin, do_action('activate_coding-blocks/coding-blocks.php'), WP_Hook->do_action, WP_Hook->apply_filters, activate_coding_blocks, Coding_Blocks_Activator::activate
[08-May-2025 03:57:44 UTC] PHP Warning:  Attempt to read property "line_nums" on null in /wp-content/plugins/coding-blocks/admin/pages/new-snippet.php on line 12
[08-May-2025 03:57:44 UTC] PHP Warning:  Attempt to read property "copy_btn" on null in /wp-content/plugins/coding-blocks/admin/pages/new-snippet.php on line 14
[08-May-2025 03:57:45 UTC] PHP Warning:  Undefined array key "search" in /wp-content/plugins/coding-blocks/admin/pages/snippets.php on line 226
[08-May-2025 03:57:46 UTC] PHP Warning:  Undefined variable $success in /wp-content/plugins/coding-blocks/admin/pages/settings.php on line 61
See also: All tests for this plugin, How to Hide Coding Blocks Admin Menus