Daily Prayer Time 2023.10.13

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

Summary

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

Memory usage: 100.37 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.3.2
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=28c3e1c779
Aspect after-activation
HTTP status 200
Load time 1.306 s
Memory usage 5.04 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token u in JSON at position 0\n    at JSON.parse (<anonymous>)\n    at Object.fadingMessages (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:382:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:398:41)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,utils,wp-polyfill-inert,regenerator-runtime,wp-pol&load%5Bchunk_1%5D=yfill,wp-hooks&ver=6.3.2:2:26990)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,utils,wp-polyfill-inert,regenerator-runtime,wp-pol&load%5Bchunk_1%5D=yfill,wp-hooks&ver=6.3.2:2:27292)",
        "trace": null,
        "code": null
    }
]
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.203 s
Memory usage 13.75 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token u in JSON at position 0\n    at JSON.parse (<anonymous>)\n    at Object.fadingMessages (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:382:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:398:41)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,utils,wp-polyfill-inert,regenerator-runtime,wp-pol&load%5Bchunk_1%5D=yfill,wp-hooks&ver=6.3.2:2:26990)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,utils,wp-polyfill-inert,regenerator-runtime,wp-pol&load%5Bchunk_1%5D=yfill,wp-hooks&ver=6.3.2:2:27292)",
        "trace": null,
        "code": null
    }
]
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.252 s
Memory usage 2.86 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token u in JSON at position 0\n    at JSON.parse (<anonymous>)\n    at Object.fadingMessages (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:382:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:398:41)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,utils,wp-polyfill-inert,regenerator-runtime,wp-pol&load%5Bchunk_1%5D=yfill,wp-hooks&ver=6.3.2:2:26990)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,utils,wp-polyfill-inert,regenerator-runtime,wp-pol&load%5Bchunk_1%5D=yfill,wp-hooks&ver=6.3.2:2:27292)",
        "trace": null,
        "code": null
    }
]
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.338 s
Memory usage 3.32 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token u in JSON at position 0\n    at JSON.parse (<anonymous>)\n    at Object.fadingMessages (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:382:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:398:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:26990)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:27292)",
        "trace": null,
        "code": null
    }
]
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 2.290 s
Memory usage 5.29 MiB
JS errors
[
    {
        "message": "SyntaxError: Unexpected token u in JSON at position 0\n    at JSON.parse (<anonymous>)\n    at Object.fadingMessages (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:382:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:398:41)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,utils,wp-polyfill-inert,regenerator-runtime,wp-pol&load%5Bchunk_1%5D=yfill,wp-hooks&ver=6.3.2:2:26990)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,utils,wp-polyfill-inert,regenerator-runtime,wp-pol&load%5Bchunk_1%5D=yfill,wp-hooks&ver=6.3.2:2:27292)",
        "trace": null,
        "code": null
    },
    {
        "message": "SyntaxError: Unexpected token u in JSON at position 0\n    at JSON.parse (<anonymous>)\n    at Object.fadingMessages (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:382:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2023.10.13:398:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:26990)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.0:2:27292)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.392 s0.473 s+0.081 s2.83 MiB2.92 MiB+ 97.13 KiB
/wp-admin/edit.php0.218 s0.258 s+0.040 s2.85 MiB2.95 MiB+ 95.41 KiB
/wp-admin/post-new.php0.766 s1.047 s+0.281 s5.22 MiB5.33 MiB+ 117.66 KiB
/wp-admin/upload.php0.860 s0.459 s-0.401 s2.77 MiB2.84 MiB+ 70.05 KiB
/wp-admin/options-writing.php0.243 s0.215 s-0.028 s2.76 MiB2.83 MiB+ 69.28 KiB
/wp-admin/media-new.php0.313 s0.261 s-0.052 s2.74 MiB2.83 MiB+ 90.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.222 s+0.027 s2.76 MiB2.85 MiB+ 95.05 KiB
/wp-admin/post-new.php?post_type=page0.692 s0.626 s-0.066 s5.21 MiB5.33 MiB+ 117.71 KiB
/wp-admin/options-discussion.php0.209 s0.431 s+0.222 s2.75 MiB2.83 MiB+ 79.58 KiB
/wp-admin/edit-comments.php0.248 s0.245 s-0.003 s2.78 MiB2.86 MiB+ 80.1 KiB
/0.293 s0.261 s-0.032 s3.13 MiB3.32 MiB+ 192.01 KiB
Average 0.403 s0.409 s+0.006 s3.25 MiB3.35 MiB+ 100.37 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.5%7,3441,23756
CSS17.3%1,701425
JavaScript7.8%7701277
YAML0.3%3231
HTML0.1%801
Total 9,855 1,409 70

PHP Code Analysis | More results »

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

[15-Oct-2023 03:18:01 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