Daily Prayer Time 2021.10.20

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
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 149.5 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=37a09cf3ac
Aspect after-activation
HTTP status 200
Load time 3.018 s
Memory usage 6.07 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 0.935 s
Memory usage 15.24 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.183 s
Memory usage 3.15 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.652 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.631 s
Memory usage 4.58 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.434 s0.271 s-0.163 s3.08 MiB3.27 MiB+ 189.43 KiB
/wp-admin/edit.php0.235 s0.344 s+0.109 s3.11 MiB3.3 MiB+ 192.04 KiB
/wp-admin/post-new.php1.152 s1.063 s-0.089 s5.27 MiB5.4 MiB+ 132.08 KiB
/wp-admin/upload.php0.427 s0.385 s-0.042 s3.03 MiB3.14 MiB+ 116.66 KiB
/wp-admin/options-writing.php0.369 s0.172 s-0.197 s3.02 MiB3.13 MiB+ 104.28 KiB
/wp-admin/media-new.php0.411 s0.178 s-0.233 s3.01 MiB3.12 MiB+ 119.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.278 s0.205 s-0.073 s3.04 MiB3.16 MiB+ 127.51 KiB
/wp-admin/post-new.php?post_type=page0.952 s0.618 s-0.334 s5.26 MiB5.39 MiB+ 132.14 KiB
/wp-admin/options-discussion.php0.366 s0.372 s+0.006 s3 MiB3.12 MiB+ 121.41 KiB
/wp-admin/edit-comments.php0.342 s0.243 s-0.099 s3.04 MiB3.16 MiB+ 124.58 KiB
/0.556 s0.274 s-0.282 s2.91 MiB3.19 MiB+ 284.54 KiB
Average 0.502 s0.375 s-0.127 s3.43 MiB3.58 MiB+ 149.5 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
PHP77.0%5,55759849
CSS13.0%938426
JavaScript9.4%6811278
YAML0.4%3201
HTML0.1%801
Total 7,216 767 65

PHP Code Analysis | More results »

Lines of code 4,357
Total complexity 668
Median class complexity 9.0
Median method complexity 2.0
Most complex class TimetablePrinter
Most complex function UpdateStyles::setStyles()
Classes 33
Methods 263
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

[19-Oct-2021 23:14:51 UTC] PHP Notice:  Undefined property: WorldCities::$tableName in /wp-content/plugins/daily-prayer-time-for-mosques/Models/StartTime/WorldCities.php on line 62
[19-Oct-2021 23:14:52 UTC] PHP Notice:  Undefined property: WorldCities::$tableName in /wp-content/plugins/daily-prayer-time-for-mosques/Models/StartTime/WorldCities.php on line 62
[19-Oct-2021 23:14:53 UTC] PHP Notice:  Undefined index: quickMonth in /wp-content/plugins/daily-prayer-time-for-mosques/Views/Tabs/QuickUpdate.php on line 4
[19-Oct-2021 23:14:55 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
[19-Oct-2021 23:14:55 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
[19-Oct-2021 23:14:55 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
[19-Oct-2021 23:14:55 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
[19-Oct-2021 23:14:55 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
[19-Oct-2021 23:14:55 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
[19-Oct-2021 23:14:55 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
[19-Oct-2021 23:14:56 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
[19-Oct-2021 23:14:59 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
[19-Oct-2021 23:15:02 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