Daily Prayer Time 2022.12.18

Does Daily Prayer Time work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 97.75 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.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/daily-prayer-time-for-mosques/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=daily-prayer-time-for-mosques%2Fdaily-prayer-time.php&plugin_status=all&paged=1&s&_wpnonce=b7cd3c6010
Aspect after-activation
HTTP status 200
Load time 1.157 s
Memory usage 4.97 MiB
JS errors None
Resource errors None

Prayer time

Page screenshot: Prayer time
URL /wp-admin/admin.php?page=dpt
Aspect menu-item
HTTP status 200
Load time 2.100 s
Memory usage 13.97 MiB
JS errors None
Resource errors None

Prayer time → Helps and Tips

Page screenshot: Prayer time → Helps and Tips
URL /wp-admin/admin.php?page=helps-and-tips
Aspect menu-item
HTTP status 200
Load time 0.212 s
Memory usage 3.08 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.272 s
Memory usage 3.18 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.091 s
Memory usage 5.03 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.589 s0.374 s-0.215 s3.05 MiB3.13 MiB+ 86.95 KiB
/wp-admin/edit.php0.163 s0.197 s+0.034 s3.07 MiB3.16 MiB+ 89.94 KiB
/wp-admin/post-new.php0.701 s1.088 s+0.387 s4.97 MiB5.06 MiB+ 91.73 KiB
/wp-admin/upload.php0.620 s0.442 s-0.178 s2.99 MiB3.06 MiB+ 70.09 KiB
/wp-admin/options-writing.php0.161 s0.153 s-0.008 s2.99 MiB3.05 MiB+ 60.38 KiB
/wp-admin/media-new.php0.235 s0.196 s-0.039 s2.97 MiB3.05 MiB+ 84.67 KiB
/wp-admin/edit-tags.php?taxonomy=category0.161 s0.186 s+0.025 s2.98 MiB3.09 MiB+ 110.21 KiB
/wp-admin/post-new.php?post_type=page0.565 s0.592 s+0.027 s4.96 MiB5.05 MiB+ 87.43 KiB
/wp-admin/options-discussion.php0.183 s0.213 s+0.030 s2.98 MiB3.05 MiB+ 74.23 KiB
/wp-admin/edit-comments.php0.188 s0.199 s+0.011 s3 MiB3.07 MiB+ 75.01 KiB
/0.253 s0.336 s+0.083 s2.94 MiB3.18 MiB+ 244.65 KiB
Average 0.347 s0.361 s+0.014 s3.35 MiB3.45 MiB+ 97.75 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP79.5%6,7891,19252
CSS11.3%969365
JavaScript8.7%7461287
YAML0.4%3131
HTML0.1%801
Total 8,543 1,359 66

PHP Code Analysis | More results »

Lines of code 5,603
Total complexity 924
Median class complexity 9.5
Median method complexity 2.0
Most complex class TimetablePrinter
Most complex function dpt\datetime::format()
Classes 38
Methods 321
Functions 5

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.

Database Tables 2

Options wp_options 2

Sidebar Widgets 1

ID Name
dailyprayertimeDaily Prayer Time

PHP Error Log 2 lines

[18-Dec-2022 20:49:27 UTC] PHP Deprecated:  Optional parameter $widgetNotice declared before required parameter $day is implicitly treated as a required parameter in /wp-content/plugins/daily-prayer-time-for-mosques/Models/DailyShortCode.php on line 147
[18-Dec-2022 20:49:30 UTC] PHP Deprecated:  auto_detect_line_endings is deprecated in /wp-content/plugins/daily-prayer-time-for-mosques/Views/widget-admin.php on line 18
See also: All tests for this plugin, How to Hide Daily Prayer Time Admin Menus