Business Hours Indicator 2.4.3

Does Business Hours Indicator work with WordPress 6.8.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: 136.7 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.8.1
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=532f1338c2
Aspect after-activation
HTTP status 200
Load time 0.289 s
Memory usage 3.67 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.331 s
Memory usage 3.66 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.166 s
Memory usage 3.5 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 1.576 s
Memory usage 5.96 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.321 s0.278 s-0.043 s3.51 MiB3.65 MiB+ 143.32 KiB
/wp-admin/edit.php0.219 s0.195 s-0.024 s3.57 MiB3.71 MiB+ 143.2 KiB
/wp-admin/post-new.php0.857 s0.635 s-0.222 s6.06 MiB6.27 MiB+ 210.83 KiB
/wp-admin/upload.php0.786 s0.350 s-0.436 s3.52 MiB3.65 MiB+ 125.79 KiB
/wp-admin/options-writing.php0.227 s0.181 s-0.046 s3.5 MiB3.63 MiB+ 129.78 KiB
/wp-admin/media-new.php0.281 s0.226 s-0.055 s3.49 MiB3.63 MiB+ 137.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.179 s-0.034 s3.5 MiB3.65 MiB+ 148.65 KiB
/wp-admin/post-new.php?post_type=page0.776 s0.635 s-0.141 s6.05 MiB6.19 MiB+ 142.35 KiB
/wp-admin/options-discussion.php0.266 s0.226 s-0.040 s3.5 MiB3.63 MiB+ 126.28 KiB
/wp-admin/edit-comments.php0.458 s0.176 s-0.282 s3.52 MiB3.65 MiB+ 125.78 KiB
/0.317 s0.170 s-0.147 s3.43 MiB3.5 MiB+ 69.7 KiB
Average 0.429 s0.296 s-0.134 s3.97 MiB4.1 MiB+ 136.7 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,7998652
Total 2,799 86 52

PHP Code Analysis | More results »

Lines of code 2,224
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