Coding Blocks 1.1.0

Does Coding Blocks work with WordPress 6.5.2 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.2
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=f59a723521
Aspect after-activation
HTTP status 200
Load time 0.342 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.315 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.288 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.206 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.230 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.182 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.221 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.364 s0.363 s-0.001 s3.44 MiB3.47 MiB+ 30.38 KiB
/wp-admin/edit.php0.208 s0.223 s+0.015 s3.46 MiB3.49 MiB+ 29.41 KiB
/wp-admin/post-new.php0.933 s1.087 s+0.154 s5.59 MiB5.64 MiB+ 54.48 KiB
/wp-admin/upload.php0.570 s0.455 s-0.115 s3.38 MiB3.39 MiB+ 13.12 KiB
/wp-admin/options-writing.php0.232 s0.218 s-0.014 s3.37 MiB3.38 MiB+ 5.33 KiB
/wp-admin/media-new.php0.289 s0.272 s-0.017 s3.35 MiB3.38 MiB+ 25.25 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.212 s+0.022 s3.37 MiB3.4 MiB+ 30.11 KiB
/wp-admin/post-new.php?post_type=page0.548 s0.603 s+0.055 s5.59 MiB5.64 MiB+ 50.07 KiB
/wp-admin/options-discussion.php0.512 s0.338 s-0.174 s3.36 MiB3.37 MiB+ 14.8 KiB
/wp-admin/edit-comments.php0.246 s0.246 s+0.000 s3.39 MiB3.4 MiB+ 12.47 KiB
/0.300 s0.257 s-0.043 s3.42 MiB3.38 MiB- 37.55 KiB
Average 0.399 s0.389 s-0.011 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

[17-Apr-2024 22:03:21 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
[17-Apr-2024 22:03:21 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
[17-Apr-2024 22:03:21 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
[17-Apr-2024 22:03:21 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
[17-Apr-2024 22:03:21 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
[17-Apr-2024 22:03:21 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
[17-Apr-2024 22:03:24 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
[17-Apr-2024 22:03:24 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
[17-Apr-2024 22:03:25 UTC] PHP Warning:  Undefined array key "search" in /wp-content/plugins/coding-blocks/admin/pages/snippets.php on line 226
[17-Apr-2024 22:03: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