Highlighting Code Block 2.0.1

Does Highlighting Code Block work with WordPress 6.9.4 and PHP 8.1.12? 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: 48.43 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.9.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=13af543e2e
Aspect after-activation
HTTP status 200
Load time 0.355 s
Memory usage 3.79 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.352 s
Memory usage 3.78 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.294 s
Memory usage 4.14 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.425 s0.355 s-0.070 s3.78 MiB3.83 MiB+ 51.69 KiB
/wp-admin/edit.php0.379 s0.336 s-0.043 s3.78 MiB3.84 MiB+ 54.13 KiB
/wp-admin/post-new.php0.878 s1.164 s+0.286 s6.31 MiB6.37 MiB+ 64.68 KiB
/wp-admin/upload.php0.632 s0.477 s-0.155 s3.74 MiB3.77 MiB+ 37.03 KiB
/wp-admin/options-writing.php0.351 s0.296 s-0.055 s3.71 MiB3.75 MiB+ 41.02 KiB
/wp-admin/media-new.php0.510 s0.312 s-0.198 s3.7 MiB3.75 MiB+ 49.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.323 s0.291 s-0.032 s3.72 MiB3.77 MiB+ 59.89 KiB
/wp-admin/post-new.php?post_type=page0.712 s0.678 s-0.034 s6.3 MiB6.36 MiB+ 62.42 KiB
/wp-admin/options-discussion.php0.344 s0.361 s+0.017 s3.71 MiB3.75 MiB+ 37.52 KiB
/wp-admin/edit-comments.php0.320 s0.348 s+0.028 s3.73 MiB3.77 MiB+ 37.02 KiB
/0.269 s0.225 s-0.044 s4.11 MiB4.14 MiB+ 38.13 KiB
Average 0.468 s0.440 s-0.027 s4.24 MiB4.28 MiB+ 48.43 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.

YAML
Language % Lines of code Comment lines Files
YAML84.7%12,30301
JavaScript4.9%71816614
Sass4.4%6347514
PHP3.5%5111648
PO File1.0%152691
JSON1.0%14405
SVG0.4%5535
CSS0.0%606
Total 14,523 477 54

PHP Code Analysis | More results »

Lines of code 490
Total complexity 56
Median class complexity 12.0
Median method complexity 2.0
Most complex class LOOS_HCB_Scripts
Most complex function LOOS_HCB_Scripts::hook_wp_enqueue_scripts()
Classes 5
Methods 25
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

PHP Error Log

The log file is empty.

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