Highlighting Code Block 1.7.0

Does Highlighting Code Block work with WordPress 6.4.1 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: 42.23 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.4.1
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=2963853e2a
Aspect after-activation
HTTP status 200
Load time 0.291 s
Memory usage 3.37 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.208 s
Memory usage 3.35 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.287 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.403 s0.415 s+0.012 s3.38 MiB3.43 MiB+ 50.66 KiB
/wp-admin/edit.php0.238 s0.258 s+0.020 s3.41 MiB3.46 MiB+ 51.02 KiB
/wp-admin/post-new.php0.931 s1.009 s+0.078 s5.46 MiB5.53 MiB+ 71.95 KiB
/wp-admin/upload.php0.610 s0.485 s-0.125 s3.32 MiB3.36 MiB+ 34.38 KiB
/wp-admin/options-writing.php0.251 s0.214 s-0.037 s3.32 MiB3.34 MiB+ 27.73 KiB
/wp-admin/media-new.php0.351 s0.201 s-0.150 s3.29 MiB3.34 MiB+ 47.4 KiB
/wp-admin/edit-tags.php?taxonomy=category0.223 s0.204 s-0.019 s3.31 MiB3.36 MiB+ 51.74 KiB
/wp-admin/post-new.php?post_type=page0.618 s0.629 s+0.011 s5.45 MiB5.52 MiB+ 71.53 KiB
/wp-admin/options-discussion.php0.411 s0.270 s-0.141 s3.3 MiB3.34 MiB+ 35.64 KiB
/wp-admin/edit-comments.php0.268 s0.222 s-0.046 s3.34 MiB3.37 MiB+ 33.61 KiB
/0.324 s0.228 s-0.096 s3.36 MiB3.35 MiB- 11.09 KiB
Average 0.421 s0.376 s-0.045 s3.72 MiB3.76 MiB+ 42.23 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
JavaScript31.5%65013315
Sass30.8%6372612
PHP24.2%5011628
PO File7.2%149571
JSON4.3%8904
SVG1.6%3424
CSS0.3%606
Total 2,066 380 50

PHP Code Analysis | More results »

Lines of code 480
Total complexity 55
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 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

PHP Error Log

The log file is empty.

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