Daily Prayer Time 2024.04.20

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

Summary

Errors
No PHP errors, warnings or notices
16JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: 0.031 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.5.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=4ee70ffc70
Aspect after-activation
HTTP status 200
Load time 1.313 s
Memory usage 5.27 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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405: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.5.2:2:27028)\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.5.2:2:27330)",
        "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.546 s
Memory usage 14.37 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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405: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.5.2:2:27028)\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.5.2:2:27330)",
        "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.251 s
Memory usage 3.47 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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405: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.5.2:2:27028)\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.5.2:2:27330)",
        "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.378 s
Memory usage 3.58 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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "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 3.073 s
Memory usage 5.67 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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405: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.5.2:2:27028)\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.5.2:2:27330)",
        "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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "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=2024.04.20:389:20)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:26:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2024.04.20:405:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.381 s0.388 s+0.007 s3.44 MiB3.54 MiB+ 104.3 KiB
/wp-admin/edit.php0.277 s0.241 s-0.036 s3.46 MiB3.56 MiB+ 102.89 KiB
/wp-admin/post-new.php0.926 s1.093 s+0.167 s5.59 MiB5.71 MiB+ 125.23 KiB
/wp-admin/upload.php0.614 s0.414 s-0.200 s3.38 MiB3.45 MiB+ 77.23 KiB
/wp-admin/options-writing.php0.237 s0.225 s-0.012 s3.37 MiB3.45 MiB+ 76.77 KiB
/wp-admin/media-new.php0.329 s0.262 s-0.067 s3.35 MiB3.45 MiB+ 97.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.432 s+0.235 s3.37 MiB3.49 MiB+ 122.54 KiB
/wp-admin/post-new.php?post_type=page0.583 s0.778 s+0.195 s5.59 MiB5.71 MiB+ 125.27 KiB
/wp-admin/options-discussion.php0.250 s0.361 s+0.111 s3.36 MiB3.44 MiB+ 87.07 KiB
/wp-admin/edit-comments.php0.309 s0.271 s-0.038 s3.39 MiB3.5 MiB+ 107.28 KiB
/0.328 s0.304 s-0.024 s3.42 MiB3.58 MiB+ 169.3 KiB
Average 0.403 s0.434 s+0.031 s3.79 MiB3.9 MiB+ 108.68 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,3701,23756
CSS17.3%1,709415
JavaScript7.8%7751277
YAML0.3%3231
HTML0.1%801
Total 9,894 1,408 70

PHP Code Analysis | More results »

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

The log file is empty.

See also: All tests for this plugin, How to Hide Daily Prayer Time Admin Menus