Daily Prayer Time 2022.03.24

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

Summary

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

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

Page speed impact: 0.048 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=b5948a5f14
Aspect after-activation
HTTP status 200
Load time 3.098 s
Memory usage 6.17 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.926 s
Memory usage 15.53 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.199 s
Memory usage 3.45 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.718 s
Memory usage 3.58 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.919 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.352 s0.367 s+0.015 s3.37 MiB3.49 MiB+ 122.93 KiB
/wp-admin/edit.php0.185 s0.240 s+0.055 s3.4 MiB3.52 MiB+ 124.83 KiB
/wp-admin/post-new.php1.259 s1.431 s+0.172 s6.15 MiB6.27 MiB+ 128.14 KiB
/wp-admin/upload.php0.411 s0.716 s+0.305 s3.25 MiB3.44 MiB+ 194.16 KiB
/wp-admin/options-writing.php0.299 s0.231 s-0.068 s3.24 MiB3.42 MiB+ 181.66 KiB
/wp-admin/media-new.php0.284 s0.224 s-0.060 s3.23 MiB3.42 MiB+ 197.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.251 s+0.060 s3.27 MiB3.45 MiB+ 189.01 KiB
/wp-admin/post-new.php?post_type=page1.083 s1.110 s+0.027 s6.15 MiB6.27 MiB+ 124.2 KiB
/wp-admin/options-discussion.php0.238 s0.305 s+0.067 s3.22 MiB3.42 MiB+ 198.91 KiB
/wp-admin/edit-comments.php0.302 s0.250 s-0.052 s3.27 MiB3.45 MiB+ 186.08 KiB
/0.269 s0.278 s+0.009 s3.4 MiB3.58 MiB+ 186.28 KiB
Average 0.443 s0.491 s+0.048 s3.81 MiB3.97 MiB+ 166.69 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.1%5,58659849
CSS12.9%937365
JavaScript9.4%6801207
YAML0.5%3301
HTML0.1%801
Total 7,244 754 63

PHP Code Analysis | More results »

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

[24-Mar-2022 15:54: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
[24-Mar-2022 15:54: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
[24-Mar-2022 15:54: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
[24-Mar-2022 15:54: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
[24-Mar-2022 15:54: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
[24-Mar-2022 15:54: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
[24-Mar-2022 15:54: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
[24-Mar-2022 15:54: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 5768
[24-Mar-2022 15:55:01 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
[24-Mar-2022 15:55:05 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