Business Hours Indicator 2.4

Does Business Hours Indicator work with WordPress 6.6 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: 141.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.6
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/business-hours-indicator/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=business-hours-indicator%2Fmabel-business-hours-indicator.php&plugin_status=all&paged=1&s&_wpnonce=a4f9b7b096
Aspect after-activation
HTTP status 200
Load time 0.311 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Settings → Business Hours Indicator

Page screenshot: Settings → Business Hours Indicator
URL /wp-admin/options-general.php?page=business-hours-indicator
Aspect menu-item
HTTP status 200
Load time 0.316 s
Memory usage 3.62 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.220 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.628 s
Memory usage 5.74 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.348 s0.289 s-0.059 s3.47 MiB3.61 MiB+ 136.56 KiB
/wp-admin/edit.php0.206 s0.186 s-0.020 s3.54 MiB3.67 MiB+ 136.8 KiB
/wp-admin/post-new.php0.714 s1.023 s+0.309 s5.75 MiB5.89 MiB+ 140.13 KiB
/wp-admin/upload.php0.585 s0.383 s-0.202 s3.49 MiB3.61 MiB+ 119.45 KiB
/wp-admin/options-writing.php0.207 s0.186 s-0.021 s3.41 MiB3.59 MiB+ 182.26 KiB
/wp-admin/media-new.php0.222 s0.365 s+0.143 s3.4 MiB3.59 MiB+ 195.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.193 s+0.016 s3.47 MiB3.61 MiB+ 142.31 KiB
/wp-admin/post-new.php?post_type=page0.970 s0.708 s-0.262 s5.75 MiB5.88 MiB+ 140.14 KiB
/wp-admin/options-discussion.php0.216 s0.264 s+0.048 s3.41 MiB3.59 MiB+ 183.89 KiB
/wp-admin/edit-comments.php0.252 s0.224 s-0.028 s3.49 MiB3.61 MiB+ 119.39 KiB
/0.328 s0.238 s-0.090 s3.45 MiB3.51 MiB+ 58.12 KiB
Average 0.384 s0.369 s-0.015 s3.87 MiB4.01 MiB+ 141.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.

PHP
Language % Lines of code Comment lines Files
PHP100.0%2,8018952
Total 2,801 89 52

PHP Code Analysis | More results »

Lines of code 2,226
Total complexity 427
Median class complexity 4.0
Median method complexity 1.0
Most complex class MABEL_BHI_LITE\Services\Opening_Hours_Service
Most complex function MABEL_BHI_LITE\Services\Opening_Hours_Service::get_next_closing_time()
Classes 36
Methods 147
Functions 6

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 4

Sidebar Widgets 4

ID Name
bhi_widget_displayopeninghours[BHI] opening hours overview
bhi_widget_displaybusinesshoursindicator[BHI] opening hours indicator
bhi_widget_isclosed[BHI] Show only when closed
bhi_widget_isopen[BHI] Show only when open

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Business Hours Indicator" Admin Menu