Coding Blocks 1.0.4

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: 31.12 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.097 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=e59756a943
Aspect after-activation
HTTP status 200
Load time 0.562 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.461 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.259 s
Memory usage 3.68 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.196 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.333 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.207 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.278 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.311 s0.295 s-0.016 s3.72 MiB3.75 MiB+ 32.09 KiB
/wp-admin/edit.php0.180 s0.241 s+0.061 s3.75 MiB3.78 MiB+ 30.76 KiB
/wp-admin/post-new.php0.759 s1.546 s+0.787 s5.54 MiB5.58 MiB+ 34.64 KiB
/wp-admin/upload.php0.415 s0.602 s+0.187 s3.68 MiB3.71 MiB+ 30.94 KiB
/wp-admin/options-writing.php0.309 s0.260 s-0.049 s3.62 MiB3.65 MiB+ 39.45 KiB
/wp-admin/media-new.php0.261 s0.247 s-0.014 s3.66 MiB3.69 MiB+ 31.42 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.243 s+0.051 s3.69 MiB3.72 MiB+ 32.64 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.756 s+0.144 s5.54 MiB5.57 MiB+ 26.23 KiB
/wp-admin/options-discussion.php0.228 s0.282 s+0.054 s3.6 MiB3.63 MiB+ 32.36 KiB
/wp-admin/edit-comments.php0.224 s0.263 s+0.039 s3.69 MiB3.72 MiB+ 30.78 KiB
/0.423 s0.250 s-0.173 s3.55 MiB3.57 MiB+ 20.96 KiB
Average 0.356 s0.453 s+0.097 s4 MiB4.03 MiB+ 31.12 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
CSS57.2%2,67756239
PHP35.3%1,65369422
JavaScript7.6%35455038
Total 4,684 1,806 99

PHP Code Analysis | More results »

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

[06-Aug-2022 01:47:10 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
[06-Aug-2022 01:47:10 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
[06-Aug-2022 01:47:10 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
[06-Aug-2022 01:47:10 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
[06-Aug-2022 01:47:10 UTC] PHP Notice:  Undefined variable: db_error in /wp-content/plugins/coding-blocks/includes/class-coding-blocks-activator.php on line 89
[06-Aug-2022 01:47:10 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:10 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
[06-Aug-2022 01:47:11 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47: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
[06-Aug-2022 01:47:11 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47: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
[06-Aug-2022 01:47:13 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:13 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
[06-Aug-2022 01:47:13 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/pages/new-snippet.php on line 9
[06-Aug-2022 01:47:13 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
[06-Aug-2022 01:47:13 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/pages/new-snippet.php on line 15
[06-Aug-2022 01:47:13 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
[06-Aug-2022 01:47:14 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47: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
[06-Aug-2022 01:47:14 UTC] PHP Notice:  Undefined index: search in /wp-content/plugins/coding-blocks/admin/pages/snippets.php on line 222
[06-Aug-2022 01:47:14 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47: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
[06-Aug-2022 01:47:15 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47: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
[06-Aug-2022 01:47:15 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/pages/settings.php on line 12
[06-Aug-2022 01:47:15 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
[06-Aug-2022 01:47:15 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/pages/settings.php on line 13
[06-Aug-2022 01:47:15 UTC] PHP Notice:  Trying to get property 'theme' of non-object in /wp-content/plugins/coding-blocks/admin/pages/settings.php on line 13
[06-Aug-2022 01:47:15 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/pages/settings.php on line 14
[06-Aug-2022 01:47:15 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
[06-Aug-2022 01:47:16 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/public/class-coding-blocks-public.php on line 83
[06-Aug-2022 01:47:16 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
[06-Aug-2022 01:47:17 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:17 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
[06-Aug-2022 01:47:18 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:18 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
[06-Aug-2022 01:47:18 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:18 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
[06-Aug-2022 01:47:21 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:21 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
[06-Aug-2022 01:47:21 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:21 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
[06-Aug-2022 01:47:22 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:22 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
[06-Aug-2022 01:47:22 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:22 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
[06-Aug-2022 01:47:22 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:22 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
[06-Aug-2022 01:47:24 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:24 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
[06-Aug-2022 01:47:25 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:25 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
[06-Aug-2022 01:47:25 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/public/class-coding-blocks-public.php on line 83
[06-Aug-2022 01:47:25 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
[06-Aug-2022 01:47:25 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:25 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
[06-Aug-2022 01:47:26 UTC] PHP Notice:  Undefined offset: 0 in /wp-content/plugins/coding-blocks/admin/class-coding-blocks-admin.php on line 84
[06-Aug-2022 01:47:26 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