Coding Blocks 1.1.0

Does Coding Blocks work with WordPress 6.6.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: 37.97 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.6.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=8cee803292
Aspect after-activation
HTTP status 200
Load time 0.419 s
Memory usage 3.51 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 1.208 s
Memory usage 3.48 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.290 s
Memory usage 3.48 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.240 s
Memory usage 3.49 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.246 s
Memory usage 3.48 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.210 s
Memory usage 3.48 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.277 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.420 s0.397 s-0.023 s3.47 MiB3.5 MiB+ 30.38 KiB
/wp-admin/edit.php0.241 s0.243 s+0.002 s3.54 MiB3.57 MiB+ 28.96 KiB
/wp-admin/post-new.php0.837 s0.769 s-0.068 s5.75 MiB5.8 MiB+ 50.48 KiB
/wp-admin/upload.php0.631 s0.637 s+0.006 s3.49 MiB3.5 MiB+ 11.46 KiB
/wp-admin/options-writing.php0.235 s0.279 s+0.044 s3.41 MiB3.48 MiB+ 74.02 KiB
/wp-admin/media-new.php0.333 s0.302 s-0.031 s3.4 MiB3.48 MiB+ 87.4 KiB
/wp-admin/edit-tags.php?taxonomy=category0.224 s0.258 s+0.034 s3.47 MiB3.5 MiB+ 34.82 KiB
/wp-admin/post-new.php?post_type=page0.684 s0.734 s+0.050 s5.75 MiB5.8 MiB+ 50.07 KiB
/wp-admin/options-discussion.php0.312 s0.591 s+0.279 s3.41 MiB3.48 MiB+ 75.39 KiB
/wp-admin/edit-comments.php0.253 s0.332 s+0.079 s3.49 MiB3.5 MiB+ 12.02 KiB
/0.375 s0.296 s-0.079 s3.45 MiB3.42 MiB- 37.38 KiB
Average 0.413 s0.440 s+0.027 s3.88 MiB3.91 MiB+ 37.97 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

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