Coding Blocks 1.0.6

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

Summary

Errors
56PHP notices
2Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 26.16 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.075 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 <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=35b5edc0c8
Aspect after-activation
HTTP status 200
Load time 0.585 s
Memory usage 3.72 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.365 s
Memory usage 3.66 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.226 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

Coding Blocks → All Snippets

Page screenshot: Coding Blocks → All Snippets
URL /wp-admin/admin.php?page=coding-blocks-snippets
Aspect menu-item
HTTP status 200
Load time 0.163 s
Memory usage 3.71 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.284 s
Memory usage 3.68 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.183 s
Memory usage 3.68 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.247 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.260 s0.263 s+0.003 s3.72 MiB3.75 MiB+ 32.09 KiB
/wp-admin/edit.php0.158 s0.201 s+0.043 s3.75 MiB3.78 MiB+ 30.76 KiB
/wp-admin/post-new.php0.650 s1.286 s+0.636 s5.54 MiB5.58 MiB+ 34.64 KiB
/wp-admin/upload.php0.319 s0.332 s+0.013 s3.68 MiB3.71 MiB+ 30.94 KiB
/wp-admin/options-writing.php0.261 s0.295 s+0.034 s3.62 MiB3.65 MiB+ 39.45 KiB
/wp-admin/media-new.php0.224 s0.239 s+0.015 s3.66 MiB3.69 MiB+ 31.42 KiB
/wp-admin/edit-tags.php?taxonomy=category0.162 s0.184 s+0.022 s3.69 MiB3.72 MiB+ 32.64 KiB
/wp-admin/post-new.php?post_type=page0.512 s0.630 s+0.118 s5.54 MiB5.57 MiB+ 26.23 KiB
/wp-admin/options-discussion.php0.169 s0.234 s+0.065 s3.6 MiB3.63 MiB+ 32.36 KiB
/wp-admin/edit-comments.php0.186 s0.208 s+0.022 s3.69 MiB3.72 MiB+ 30.78 KiB
/0.353 s0.209 s-0.144 s3.6 MiB3.57 MiB- 33.5 KiB
Average 0.296 s0.371 s+0.075 s4.01 MiB4.03 MiB+ 26.16 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
CSS56.3%2,64157539
PHP35.9%1,68469622
JavaScript7.8%36555038
Total 4,690 1,821 99

PHP Code Analysis | More results »

Lines of code 366
Total complexity 64
Median class complexity 7.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 2

Options wp_options 1

PHP Error Log 58 lines

[07-Aug-2022 02:12:01 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://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5831
[07-Aug-2022 02:12:01 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
[07-Aug-2022 02:12:01 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://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5831
[07-Aug-2022 02:12:01 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
[07-Aug-2022 02:12:01 UTC] PHP Notice:  Undefined variable: db_error in /wp-content/plugins/coding-blocks/includes/class-coding-blocks-activator.php on line 89
[07-Aug-2022 02:12:01 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:01 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:02 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:02 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:03 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:03 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:04 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:04 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:04 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/pages/new-snippet.php on line 9
[07-Aug-2022 02:12:04 UTC] PHP Notice:  Trying to get property 'line_numbers' of non-object in /wp-content/plugins/coding-blocks/admin/pages/new-snippet.php on line 9
[07-Aug-2022 02:12:04 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/pages/new-snippet.php on line 15
[07-Aug-2022 02:12:04 UTC] PHP Notice:  Trying to get property 'copy_btn' of non-object in /wp-content/plugins/coding-blocks/admin/pages/new-snippet.php on line 15
[07-Aug-2022 02:12:05 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:05 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:05 UTC] PHP Notice:  Undefined index: search in /wp-content/plugins/coding-blocks/admin/pages/snippets.php on line 226
[07-Aug-2022 02:12:06 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:06 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:07 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:07 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:07 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/pages/settings.php on line 12
[07-Aug-2022 02:12:07 UTC] PHP Notice:  Trying to get property 'copy_btn' of non-object in /wp-content/plugins/coding-blocks/admin/pages/settings.php on line 12
[07-Aug-2022 02:12:07 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/pages/settings.php on line 13
[07-Aug-2022 02:12:07 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/pages/settings.php on line 13
[07-Aug-2022 02:12:07 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/pages/settings.php on line 14
[07-Aug-2022 02:12:07 UTC] PHP Notice:  Trying to get property 'line_numbers' of non-object in /wp-content/plugins/coding-blocks/admin/pages/settings.php on line 14
[07-Aug-2022 02:12:07 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/public/class-coding-blocks-public.php on line 83
[07-Aug-2022 02:12:07 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/public/class-coding-blocks-public.php on line 83
[07-Aug-2022 02:12:08 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:08 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:09 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:09 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:09 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:09 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:11 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:11 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:11 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:11 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:12 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:12 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:12 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:12 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:12 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:12 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:14 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:14 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:14 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:14 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:14 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/public/class-coding-blocks-public.php on line 83
[07-Aug-2022 02:12:14 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/public/class-coding-blocks-public.php on line 83
[07-Aug-2022 02:12:15 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:15 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:15 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[07-Aug-2022 02:12:15 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
See also: All tests for this plugin, How to Hide Coding Blocks Admin Menus