Coding Blocks 1.1.0

Does Coding Blocks work with WordPress 6.5.3 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: 20.72 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.5.3
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=92896c0aa3
Aspect after-activation
HTTP status 200
Load time 0.461 s
Memory usage 3.41 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.340 s
Memory usage 3.39 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.292 s
Memory usage 3.42 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.217 s
Memory usage 3.45 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.220 s
Memory usage 3.42 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.184 s
Memory usage 3.42 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.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.382 s0.364 s-0.018 s3.44 MiB3.47 MiB+ 30.38 KiB
/wp-admin/edit.php0.215 s0.245 s+0.030 s3.46 MiB3.49 MiB+ 29.41 KiB
/wp-admin/post-new.php0.945 s1.041 s+0.096 s5.59 MiB5.64 MiB+ 54.48 KiB
/wp-admin/upload.php0.607 s0.481 s-0.126 s3.38 MiB3.39 MiB+ 13.12 KiB
/wp-admin/options-writing.php0.210 s0.222 s+0.012 s3.37 MiB3.38 MiB+ 5.34 KiB
/wp-admin/media-new.php0.300 s0.292 s-0.008 s3.35 MiB3.38 MiB+ 25.25 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.227 s+0.029 s3.37 MiB3.4 MiB+ 30.11 KiB
/wp-admin/post-new.php?post_type=page0.552 s0.623 s+0.071 s5.59 MiB5.63 MiB+ 50.07 KiB
/wp-admin/options-discussion.php0.245 s0.371 s+0.126 s3.36 MiB3.37 MiB+ 14.8 KiB
/wp-admin/edit-comments.php0.504 s0.272 s-0.232 s3.39 MiB3.4 MiB+ 12.47 KiB
/0.391 s0.235 s-0.156 s3.42 MiB3.38 MiB- 37.55 KiB
Average 0.414 s0.398 s-0.016 s3.79 MiB3.81 MiB+ 20.72 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

[15-May-2024 15:13:20 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[15-May-2024 15:13:20 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
[15-May-2024 15:13:20 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[15-May-2024 15:13:20 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
[15-May-2024 15:13:20 UTC] PHP Notice:  Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 6078
[15-May-2024 15:13:20 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
[15-May-2024 15:13:23 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
[15-May-2024 15:13:23 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
[15-May-2024 15:13:24 UTC] PHP Warning:  Undefined array key "search" in /wp-content/plugins/coding-blocks/admin/pages/snippets.php on line 226
[15-May-2024 15:13:26 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