Business Hours Indicator 2.3.6

Does Business Hours Indicator work with WordPress 5.8.2 and PHP 7.4.8? 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: 145 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 version5.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=7d422e74e2
Aspect after-activation
HTTP status 200
Load time 0.406 s
Memory usage 3.19 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.232 s
Memory usage 3.24 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.191 s
Memory usage 3.02 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.801 s
Memory usage 4.6 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.444 s0.275 s-0.169 s3.08 MiB3.23 MiB+ 149.73 KiB
/wp-admin/edit.php0.227 s0.187 s-0.040 s3.11 MiB3.32 MiB+ 213.73 KiB
/wp-admin/post-new.php0.911 s1.127 s+0.216 s5.27 MiB5.41 MiB+ 145.91 KiB
/wp-admin/upload.php0.398 s0.317 s-0.081 s3.03 MiB3.17 MiB+ 148.59 KiB
/wp-admin/options-writing.php0.151 s0.132 s-0.019 s3.02 MiB3.15 MiB+ 132.51 KiB
/wp-admin/media-new.php0.330 s0.185 s-0.145 s3.01 MiB3.15 MiB+ 148.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.172 s-0.009 s3.04 MiB3.18 MiB+ 149.67 KiB
/wp-admin/post-new.php?post_type=page0.917 s1.015 s+0.098 s5.26 MiB5.4 MiB+ 141.5 KiB
/wp-admin/options-discussion.php0.227 s0.255 s+0.028 s3 MiB3.15 MiB+ 149.02 KiB
/wp-admin/edit-comments.php0.207 s0.199 s-0.008 s3.04 MiB3.19 MiB+ 148.58 KiB
/0.260 s0.197 s-0.063 s2.96 MiB3.02 MiB+ 66.95 KiB
Average 0.387 s0.369 s-0.017 s3.44 MiB3.58 MiB+ 145 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,8028952
Total 2,802 89 52

PHP Code Analysis | More results »

Lines of code 2,227
Total complexity 423
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