Daily Prayer Time 2022.03.01

Does Daily Prayer Time work with WordPress 5.9.2 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: 161.15 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.9.2
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=18d40f215a
Aspect after-activation
HTTP status 200
Load time 2.809 s
Memory usage 6.16 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.890 s
Memory usage 15.52 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.201 s
Memory usage 3.44 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.628 s
Memory usage 3.57 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.699 s
Memory usage 5.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.338 s0.394 s+0.056 s3.37 MiB3.48 MiB+ 117.39 KiB
/wp-admin/edit.php0.185 s0.234 s+0.049 s3.4 MiB3.52 MiB+ 119.29 KiB
/wp-admin/post-new.php0.907 s1.151 s+0.244 s6.15 MiB6.27 MiB+ 122.6 KiB
/wp-admin/upload.php0.394 s0.575 s+0.181 s3.25 MiB3.43 MiB+ 188.63 KiB
/wp-admin/options-writing.php0.319 s0.249 s-0.070 s3.24 MiB3.41 MiB+ 176.12 KiB
/wp-admin/media-new.php0.257 s0.199 s-0.058 s3.23 MiB3.41 MiB+ 191.81 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.245 s+0.061 s3.26 MiB3.44 MiB+ 183.47 KiB
/wp-admin/post-new.php?post_type=page0.777 s0.827 s+0.050 s6.14 MiB6.26 MiB+ 118.66 KiB
/wp-admin/options-discussion.php0.215 s0.260 s+0.045 s3.22 MiB3.41 MiB+ 193.38 KiB
/wp-admin/edit-comments.php0.205 s0.241 s+0.036 s3.27 MiB3.44 MiB+ 180.54 KiB
/0.259 s0.279 s+0.020 s3.4 MiB3.57 MiB+ 180.74 KiB
Average 0.367 s0.423 s+0.056 s3.81 MiB3.97 MiB+ 161.15 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,56959849
CSS13.0%938426
JavaScript9.4%6811268
YAML0.4%3201
HTML0.1%801
Total 7,228 766 65

PHP Code Analysis | More results »

Lines of code 4,367
Total complexity 671
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

[13-Mar-2022 20:21:12 UTC] PHP Notice:  Undefined property: WorldCities::$tableName in /wp-content/plugins/daily-prayer-time-for-mosques/Models/StartTime/WorldCities.php on line 62
[13-Mar-2022 20:21:14 UTC] PHP Notice:  Undefined property: WorldCities::$tableName in /wp-content/plugins/daily-prayer-time-for-mosques/Models/StartTime/WorldCities.php on line 62
[13-Mar-2022 20:21:14 UTC] PHP Notice:  Undefined index: quickMonth in /wp-content/plugins/daily-prayer-time-for-mosques/Views/Tabs/QuickUpdate.php on line 4
[13-Mar-2022 20:21:16 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
[13-Mar-2022 20:21:16 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
[13-Mar-2022 20:21:16 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
[13-Mar-2022 20:21:16 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
[13-Mar-2022 20:21:16 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
[13-Mar-2022 20:21:16 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
[13-Mar-2022 20:21:17 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
[13-Mar-2022 20:21:18 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 5768
[13-Mar-2022 20:21:22 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 5768
[13-Mar-2022 20:21:25 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 5768
See also: All tests for this plugin, How to Hide Daily Prayer Time Admin Menus