Daily Prayer Time 2022.12.20

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: 0.038 seconds
The average page load time increased by this amount after activating the plugin.

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=88d83686f9
Aspect after-activation
HTTP status 200
Load time 1.212 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.208 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.235 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.304 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.224 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.284 s0.293 s+0.009 s3.05 MiB3.13 MiB+ 86.95 KiB
/wp-admin/edit.php0.199 s0.237 s+0.038 s3.07 MiB3.16 MiB+ 89.94 KiB
/wp-admin/post-new.php0.755 s1.027 s+0.272 s4.97 MiB5.06 MiB+ 91.73 KiB
/wp-admin/upload.php0.535 s0.371 s-0.164 s2.99 MiB3.06 MiB+ 70.09 KiB
/wp-admin/options-writing.php0.171 s0.179 s+0.008 s2.99 MiB3.05 MiB+ 60.38 KiB
/wp-admin/media-new.php0.262 s0.227 s-0.035 s2.97 MiB3.05 MiB+ 84.67 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.214 s+0.030 s2.98 MiB3.09 MiB+ 110.21 KiB
/wp-admin/post-new.php?post_type=page0.611 s0.646 s+0.035 s4.96 MiB5.05 MiB+ 87.43 KiB
/wp-admin/options-discussion.php0.208 s0.233 s+0.025 s2.98 MiB3.05 MiB+ 74.23 KiB
/wp-admin/edit-comments.php0.197 s0.214 s+0.017 s3 MiB3.07 MiB+ 75.01 KiB
/0.269 s0.448 s+0.179 s2.94 MiB3.18 MiB+ 244.65 KiB
Average 0.334 s0.372 s+0.038 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
PHP75.1%6,9101,19353
CSS16.4%1,512365
JavaScript8.1%7451287
YAML0.3%3131
HTML0.1%801
Total 9,206 1,360 67

PHP Code Analysis | More results »

Lines of code 5,607
Total complexity 925
Median class complexity 9.5
Median method complexity 2.0
Most complex class TimetablePrinter
Most complex function dpt\datetime::format()
Classes 38
Methods 322
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

[20-Dec-2022 12:31:25 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
[20-Dec-2022 12:31:27 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