Daily Prayer Time 2023.02.21

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

Summary

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

Memory usage: 107.69 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.056 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=b44b4721e6
Aspect after-activation
HTTP status 200
Load time 1.257 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.294 s
Memory usage 13.98 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.222 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.316 s
Memory usage 3.19 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.230 s
Memory usage 5.04 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.309 s0.450 s+0.141 s3.05 MiB3.14 MiB+ 95.24 KiB
/wp-admin/edit.php0.189 s0.218 s+0.029 s3.07 MiB3.17 MiB+ 98.22 KiB
/wp-admin/post-new.php0.777 s1.026 s+0.249 s4.97 MiB5.06 MiB+ 98.93 KiB
/wp-admin/upload.php0.528 s0.401 s-0.127 s2.99 MiB3.07 MiB+ 78.38 KiB
/wp-admin/options-writing.php0.143 s0.175 s+0.032 s2.99 MiB3.06 MiB+ 68.66 KiB
/wp-admin/media-new.php0.265 s0.222 s-0.043 s2.97 MiB3.06 MiB+ 92.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.217 s+0.018 s2.98 MiB3.1 MiB+ 118.49 KiB
/wp-admin/post-new.php?post_type=page0.644 s0.671 s+0.027 s4.96 MiB5.05 MiB+ 94.98 KiB
/wp-admin/options-discussion.php0.210 s0.238 s+0.028 s2.98 MiB3.06 MiB+ 82.51 KiB
/wp-admin/edit-comments.php0.187 s0.362 s+0.175 s3 MiB3.1 MiB+ 103.29 KiB
/0.268 s0.354 s+0.086 s2.94 MiB3.19 MiB+ 252.93 KiB
Average 0.338 s0.394 s+0.056 s3.35 MiB3.46 MiB+ 107.69 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
Language % Lines of code Comment lines Files
PHP74.2%7,1021,20955
CSS17.6%1,685425
JavaScript7.8%7491287
YAML0.3%3231
HTML0.1%801
Total 9,576 1,382 69

PHP Code Analysis | More results »

Lines of code 5,713
Total complexity 938
Median class complexity 9.0
Median method complexity 2.0
Most complex class TimetablePrinter
Most complex function dpt\datetime::format()
Classes 39
Methods 329
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 3

Sidebar Widgets 1

ID Name
dailyprayertimeDaily Prayer Time

PHP Error Log 1 lines

[21-Feb-2023 20:57:03 UTC] PHP Deprecated:  auto_detect_line_endings is deprecated in /wp-content/plugins/daily-prayer-time-for-mosques/Views/widget-admin.php on line 19
See also: All tests for this plugin, How to Hide Daily Prayer Time Admin Menus