Business Hours Indicator 2.3.3

Does Business Hours Indicator work with WordPress 5.8 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
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=3ad9b27a8d
Aspect after-activation
HTTP status 200
Load time 0.565 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.252 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.210 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.972 s
Memory usage 4.59 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.332 s0.287 s-0.045 s3.08 MiB3.23 MiB+ 149.73 KiB
/wp-admin/edit.php0.187 s0.191 s+0.004 s3.11 MiB3.32 MiB+ 213.73 KiB
/wp-admin/post-new.php1.160 s1.227 s+0.067 s5.27 MiB5.41 MiB+ 145.91 KiB
/wp-admin/upload.php0.614 s0.325 s-0.289 s3.03 MiB3.17 MiB+ 148.59 KiB
/wp-admin/options-writing.php0.157 s0.130 s-0.027 s3.02 MiB3.15 MiB+ 132.51 KiB
/wp-admin/media-new.php0.250 s0.182 s-0.068 s3.01 MiB3.15 MiB+ 148.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.318 s+0.126 s3.04 MiB3.18 MiB+ 149.67 KiB
/wp-admin/post-new.php?post_type=page1.211 s0.993 s-0.218 s5.26 MiB5.39 MiB+ 141.5 KiB
/wp-admin/options-discussion.php0.309 s0.274 s-0.035 s3 MiB3.15 MiB+ 149.02 KiB
/wp-admin/edit-comments.php0.285 s0.217 s-0.068 s3.04 MiB3.19 MiB+ 148.58 KiB
/0.306 s0.236 s-0.070 s2.96 MiB3.02 MiB+ 66.95 KiB
Average 0.455 s0.398 s-0.057 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
PHP99.8%2,7868952
LESS0.2%621
Total 2,792 91 53

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