Highlighting Code Block 1.6.1

Does Highlighting Code Block work with WordPress 6.1.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 41.34 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.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/highlighting-code-block/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=highlighting-code-block%2Fhighlighting-code-block.php&plugin_status=all&paged=1&s&_wpnonce=86e4c24796
Aspect after-activation
HTTP status 200
Load time 0.409 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Settings → [HCB] Settings

Page screenshot: Settings → [HCB] Settings
URL /wp-admin/options-general.php?page=hcb_settings
Aspect menu-item
HTTP status 200
Load time 0.159 s
Memory usage 3.43 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.298 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.280 s0.244 s-0.036 s3.54 MiB3.59 MiB+ 47.32 KiB
/wp-admin/edit.php0.174 s0.198 s+0.024 s3.57 MiB3.62 MiB+ 47.32 KiB
/wp-admin/post-new.php1.041 s1.216 s+0.175 s5.46 MiB5.52 MiB+ 60.88 KiB
/wp-admin/upload.php0.671 s0.297 s-0.374 s3.41 MiB3.45 MiB+ 46.78 KiB
/wp-admin/options-writing.php0.139 s0.141 s+0.002 s3.4 MiB3.43 MiB+ 29.19 KiB
/wp-admin/media-new.php0.218 s0.301 s+0.083 s3.39 MiB3.43 MiB+ 46.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.166 s0.236 s+0.070 s3.48 MiB3.52 MiB+ 47.86 KiB
/wp-admin/post-new.php?post_type=page0.877 s0.922 s+0.045 s5.46 MiB5.51 MiB+ 56.44 KiB
/wp-admin/options-discussion.php0.209 s0.191 s-0.018 s3.38 MiB3.43 MiB+ 47.52 KiB
/wp-admin/edit-comments.php0.183 s0.197 s+0.014 s3.48 MiB3.53 MiB+ 46.14 KiB
/0.243 s0.278 s+0.035 s3.47 MiB3.44 MiB- 21.66 KiB
Average 0.382 s0.384 s+0.002 s3.82 MiB3.86 MiB+ 41.34 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.

JavaScript
Sass
PHP
Language % Lines of code Comment lines Files
JavaScript32.1%64913315
Sass31.1%628267
PHP24.5%4961658
PO File7.2%146561
JSON3.0%6103
SVG1.7%3424
CSS0.3%707
Total 2,021 382 45

PHP Code Analysis | More results »

Lines of code 471
Total complexity 53
Median class complexity 12.0
Median method complexity 2.0
Most complex class LOOS_HCB
Most complex function LOOS_HCB_Menu::settings_field_cb()
Classes 5
Methods 24
Functions 0

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.

Options wp_options 2

User Metadata wp_usermeta 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "[HCB] Settings" Admin Menu