Highlighting Code Block 2.2.0

Does Highlighting Code Block work with WordPress 7.0 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: 49.76 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 version7.0
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=06875380ed
Aspect after-activation
HTTP status 200
Load time 0.547 s
Memory usage 3.94 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 3.93 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.223 s
Memory usage 4.27 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.642 s0.580 s-0.062 s3.92 MiB3.98 MiB+ 54.46 KiB
/wp-admin/edit.php0.503 s0.578 s+0.075 s3.98 MiB4.03 MiB+ 54.46 KiB
/wp-admin/post-new.php2.125 s1.790 s-0.335 s6.56 MiB6.62 MiB+ 68.77 KiB
/wp-admin/upload.php0.895 s0.665 s-0.230 s3.89 MiB3.93 MiB+ 38.55 KiB
/wp-admin/options-writing.php0.529 s0.503 s-0.026 s3.86 MiB3.9 MiB+ 42.55 KiB
/wp-admin/media-new.php0.581 s0.983 s+0.402 s3.85 MiB3.9 MiB+ 50.74 KiB
/wp-admin/edit-tags.php?taxonomy=category0.580 s0.500 s-0.080 s3.86 MiB3.92 MiB+ 55.91 KiB
/wp-admin/post-new.php?post_type=page2.348 s1.377 s-0.971 s6.55 MiB6.61 MiB+ 64.61 KiB
/wp-admin/options-discussion.php0.596 s0.800 s+0.204 s3.86 MiB3.9 MiB+ 39.05 KiB
/wp-admin/edit-comments.php0.500 s0.499 s-0.001 s3.88 MiB3.92 MiB+ 38.55 KiB
/0.288 s0.233 s-0.055 s4.23 MiB4.27 MiB+ 39.68 KiB
Average 0.872 s0.773 s-0.098 s4.4 MiB4.45 MiB+ 49.76 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.4%67114413
Sass29.7%6347514
PHP24.0%5131658
PO File7.1%152691
JSON4.8%10303
SVG2.6%5535
CSS0.3%606
Total 2,134 456 50

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