Daily Prayer Time 2021.10.11

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

Summary

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

Memory usage: 136.03 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 version5.8.1
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=bf078a63e1
Aspect after-activation
HTTP status 200
Load time 3.491 s
Memory usage 6.06 MiB
JS errors
[
    {
        "message": "ReferenceError: min is not defined\n    at Object.dimMonitorOvernight (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:182:90)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:17:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:269: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.8.1: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.8.1: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 1.372 s
Memory usage 15.23 MiB
JS errors
[
    {
        "message": "ReferenceError: min is not defined\n    at Object.dimMonitorOvernight (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:182:90)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:17:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:269: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.8.1: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.8.1: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.205 s
Memory usage 3.14 MiB
JS errors
[
    {
        "message": "ReferenceError: min is not defined\n    at Object.dimMonitorOvernight (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:182:90)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:17:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:269: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.8.1: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.8.1: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.630 s
Memory usage 3.17 MiB
JS errors
[
    {
        "message": "ReferenceError: min is not defined\n    at Object.dimMonitorOvernight (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:182:90)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:17:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:269: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 1.886 s
Memory usage 4.57 MiB
JS errors
[
    {
        "message": "ReferenceError: min is not defined\n    at Object.dimMonitorOvernight (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:182:90)\n    at Object.init (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:17:14)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/daily-prayer-time-for-mosques/Assets/js/dpt.js?ver=2021.10.11:269: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.8.1: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.8.1: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.391 s0.270 s-0.121 s3.08 MiB3.26 MiB+ 176.69 KiB
/wp-admin/edit.php0.283 s0.222 s-0.061 s3.11 MiB3.29 MiB+ 179.3 KiB
/wp-admin/post-new.php1.165 s1.276 s+0.111 s5.27 MiB5.38 MiB+ 119.34 KiB
/wp-admin/upload.php0.552 s0.583 s+0.031 s3.03 MiB3.13 MiB+ 103.92 KiB
/wp-admin/options-writing.php0.219 s0.193 s-0.026 s3.02 MiB3.11 MiB+ 91.54 KiB
/wp-admin/media-new.php0.687 s0.200 s-0.487 s3.01 MiB3.11 MiB+ 107.11 KiB
/wp-admin/edit-tags.php?taxonomy=category0.276 s0.219 s-0.057 s3.04 MiB3.14 MiB+ 106.77 KiB
/wp-admin/post-new.php?post_type=page0.928 s0.632 s-0.296 s5.26 MiB5.37 MiB+ 119.4 KiB
/wp-admin/options-discussion.php0.355 s0.273 s-0.082 s3 MiB3.11 MiB+ 108.67 KiB
/wp-admin/edit-comments.php0.343 s0.233 s-0.110 s3.04 MiB3.15 MiB+ 111.84 KiB
/0.486 s0.297 s-0.189 s2.91 MiB3.18 MiB+ 271.8 KiB
Average 0.517 s0.400 s-0.117 s3.43 MiB3.57 MiB+ 136.03 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
PHP74.8%4,79157945
CSS14.1%902426
JavaScript10.4%6681278
YAML0.5%3201
HTML0.1%801
Total 6,401 748 61

PHP Code Analysis | More results »

Lines of code 3,599
Total complexity 640
Median class complexity 10.0
Median method complexity 2.0
Most complex class TimetablePrinter
Most complex function UpdateStyles::setStyles()
Classes 29
Methods 248
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 13 lines

[10-Oct-2021 22:27:24 UTC] PHP Notice:  Undefined property: WorldCities::$tableName in /wp-content/plugins/daily-prayer-time-for-mosques/Models/StartTime/WorldCities.php on line 62
[10-Oct-2021 22:27:27 UTC] PHP Notice:  Undefined property: WorldCities::$tableName in /wp-content/plugins/daily-prayer-time-for-mosques/Models/StartTime/WorldCities.php on line 62
[10-Oct-2021 22:27:27 UTC] PHP Notice:  Undefined index: quickMonth in /wp-content/plugins/daily-prayer-time-for-mosques/Views/Tabs/QuickUpdate.php on line 4
[10-Oct-2021 22:27:29 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
[10-Oct-2021 22:27:29 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
[10-Oct-2021 22:27:29 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
[10-Oct-2021 22:27:29 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
[10-Oct-2021 22:27:30 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
[10-Oct-2021 22:27:30 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
[10-Oct-2021 22:27:30 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
[10-Oct-2021 22:27:31 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>dpt/v1/prayertime</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5663
[10-Oct-2021 22:27:34 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>dpt/v1/prayertime</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5663
[10-Oct-2021 22:27:37 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>dpt/v1/prayertime</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5663
See also: All tests for this plugin, How to Hide Daily Prayer Time Admin Menus