Daily Prayer Time 2022.04.14

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

Summary

Errors
7PHP notices
5JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version5.9.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=4c5c2a216e
Aspect after-activation
HTTP status 200
Load time 5.595 s
Memory usage 6.17 MiB
JS errors
[
    {
        "message": "ReferenceError: DPTURLS is not defined\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2022.04.14:5:21)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2022.04.14:339: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,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.3:2:30038)\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,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.3:2:30340)",
        "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.172 s
Memory usage 15.53 MiB
JS errors
[
    {
        "message": "ReferenceError: DPTURLS is not defined\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2022.04.14:5:21)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2022.04.14:339: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,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.3:2:30038)\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,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.3:2:30340)",
        "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.274 s
Memory usage 3.45 MiB
JS errors
[
    {
        "message": "ReferenceError: DPTURLS is not defined\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2022.04.14:5:21)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2022.04.14:339: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,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.3:2:30038)\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,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.3:2:30340)",
        "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.871 s
Memory usage 3.58 MiB
JS errors
[
    {
        "message": "ReferenceError: DPTURLS is not defined\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2022.04.14:5:21)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2022.04.14:339:41)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30038)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.6.0:2:30340)",
        "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.686 s
Memory usage 5.36 MiB
JS errors
[
    {
        "message": "ReferenceError: DPTURLS is not defined\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2022.04.14:5:21)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2022.04.14:339: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,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.3:2:30038)\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,regenerator-runtime,wp-polyfill,wp-hooks&ver=5.9.3:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.511 s1.407 s+0.896 s3.37 MiB3.49 MiB+ 122.93 KiB
/wp-admin/edit.php0.259 s0.557 s+0.298 s3.4 MiB3.52 MiB+ 124.83 KiB
/wp-admin/post-new.php1.257 s2.283 s+1.026 s5.68 MiB5.81 MiB+ 127.21 KiB
/wp-admin/upload.php0.475 s0.618 s+0.143 s3.25 MiB3.44 MiB+ 194.16 KiB
/wp-admin/options-writing.php0.344 s0.227 s-0.117 s3.24 MiB3.42 MiB+ 181.66 KiB
/wp-admin/media-new.php0.322 s0.255 s-0.067 s3.23 MiB3.42 MiB+ 197.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.253 s0.244 s-0.009 s3.27 MiB3.45 MiB+ 189.01 KiB
/wp-admin/post-new.php?post_type=page1.492 s1.104 s-0.388 s5.68 MiB5.8 MiB+ 123.27 KiB
/wp-admin/options-discussion.php0.395 s0.599 s+0.204 s3.22 MiB3.42 MiB+ 198.91 KiB
/wp-admin/edit-comments.php0.433 s0.469 s+0.036 s3.27 MiB3.45 MiB+ 186.08 KiB
/0.647 s0.398 s-0.249 s3.4 MiB3.58 MiB+ 186.28 KiB
Average 0.581 s0.742 s+0.161 s3.73 MiB3.89 MiB+ 166.52 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
PHP76.7%5,61859849
CSS12.8%937365
JavaScript9.9%7251287
YAML0.5%3301
HTML0.1%801
Total 7,321 762 63

PHP Code Analysis | More results »

Lines of code 4,408
Total complexity 678
Median class complexity 9.0
Median method complexity 2.0
Most complex class TimetablePrinter
Most complex function UpdateStyles::setStyles()
Classes 33
Methods 266
Functions 4

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 7 lines

[14-Apr-2022 23:00:46 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /wp-content/plugins/daily-prayer-time-for-mosques/Models/DSTemplateLoader.php on line 78
[14-Apr-2022 23:00:46 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /wp-content/plugins/daily-prayer-time-for-mosques/Models/DSTemplateLoader.php on line 78
[14-Apr-2022 23:00:47 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /wp-content/plugins/daily-prayer-time-for-mosques/Models/DSTemplateLoader.php on line 78
[14-Apr-2022 23:00:47 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /wp-content/plugins/daily-prayer-time-for-mosques/Models/DSTemplateLoader.php on line 78
[14-Apr-2022 23:00:47 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /wp-content/plugins/daily-prayer-time-for-mosques/Models/DSTemplateLoader.php on line 78
[14-Apr-2022 23:00:47 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /wp-content/plugins/daily-prayer-time-for-mosques/Models/DSTemplateLoader.php on line 78
[14-Apr-2022 23:00:47 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /wp-content/plugins/daily-prayer-time-for-mosques/Models/DSTemplateLoader.php on line 78
See also: All tests for this plugin, How to Hide Daily Prayer Time Admin Menus