Highlighting Code Block 2.2.1

Does Highlighting Code Block work with WordPress 7.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: 56 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.026 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version7.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=432269964b
Aspect after-activation
HTTP status 200
Load time 0.585 s
Memory usage 4.3 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.519 s
Memory usage 4.29 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.297 s
Memory usage 4.66 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.398 s0.758 s-0.640 s4.23 MiB4.28 MiB+ 58.02 KiB
/wp-admin/edit.php0.542 s0.552 s+0.010 s4.28 MiB4.34 MiB+ 58.02 KiB
/wp-admin/post-new.php2.079 s2.134 s+0.055 s6.78 MiB6.86 MiB+ 84.1 KiB
/wp-admin/upload.php1.104 s1.355 s+0.251 s4.25 MiB4.29 MiB+ 40.92 KiB
/wp-admin/options-writing.php0.599 s0.538 s-0.061 s4.22 MiB4.26 MiB+ 44.91 KiB
/wp-admin/media-new.php0.597 s0.570 s-0.027 s4.21 MiB4.26 MiB+ 53.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.829 s1.035 s+0.206 s4.22 MiB4.28 MiB+ 58.29 KiB
/wp-admin/post-new.php?post_type=page1.733 s1.597 s-0.136 s6.76 MiB6.84 MiB+ 79.95 KiB
/wp-admin/options-discussion.php0.999 s1.295 s+0.296 s4.23 MiB4.26 MiB+ 37.43 KiB
/wp-admin/edit-comments.php0.537 s0.922 s+0.385 s4.24 MiB4.28 MiB+ 40.92 KiB
/0.347 s0.290 s-0.057 s4.6 MiB4.66 MiB+ 60.29 KiB
Average 0.979 s1.004 s+0.026 s4.73 MiB4.78 MiB+ 56 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
JavaScript30.3%67114413
Sass28.7%6347514
PHP26.5%5872008
PO File6.9%152691
JSON4.8%10704
SVG2.5%5535
CSS0.3%606
Total 2,212 491 51

PHP Code Analysis | More results »

Lines of code 564
Total complexity 76
Median class complexity 17.0
Median method complexity 2.0
Most complex class LOOS_HCB_Menu
Most complex function LOOS_HCB_Menu::sanitize_settings()
Classes 5
Methods 29
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