Daily Prayer Time 2021.09.18

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: 126.78 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

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=195c0d0aac
Aspect after-activation
HTTP status 200
Load time 6.852 s
Memory usage 6.06 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.918 s
Memory usage 15.23 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.230 s
Memory usage 3.14 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.758 s
Memory usage 3.17 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 2.057 s
Memory usage 4.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.299 s0.481 s+0.182 s3.08 MiB3.25 MiB+ 172.55 KiB
/wp-admin/edit.php0.170 s0.237 s+0.067 s3.11 MiB3.28 MiB+ 175.16 KiB
/wp-admin/post-new.php0.903 s1.492 s+0.589 s5.27 MiB5.38 MiB+ 115.2 KiB
/wp-admin/upload.php0.736 s0.608 s-0.128 s3.03 MiB3.13 MiB+ 99.79 KiB
/wp-admin/options-writing.php0.155 s0.180 s+0.025 s3.02 MiB3.11 MiB+ 87.41 KiB
/wp-admin/media-new.php0.290 s0.216 s-0.074 s3.01 MiB3.11 MiB+ 102.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.231 s+0.026 s3.04 MiB3.14 MiB+ 102.63 KiB
/wp-admin/post-new.php?post_type=page1.156 s1.193 s+0.037 s5.26 MiB5.37 MiB+ 115.27 KiB
/wp-admin/options-discussion.php0.291 s0.253 s-0.038 s3 MiB3.11 MiB+ 104.54 KiB
/wp-admin/edit-comments.php0.233 s0.223 s-0.010 s3.04 MiB3.14 MiB+ 99.08 KiB
/0.295 s0.287 s-0.008 s2.96 MiB3.17 MiB+ 220 KiB
Average 0.430 s0.491 s+0.061 s3.44 MiB3.56 MiB+ 126.78 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
PHP75.0%4,67257445
CSS14.0%873426
JavaScript10.3%6441218
YAML0.5%3201
HTML0.1%801
Total 6,229 737 61

PHP Code Analysis | More results »

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

[18-Sep-2021 22:00:56 UTC] PHP Notice:  Undefined property: WorldCities::$tableName in /wp-content/plugins/daily-prayer-time-for-mosques/Models/StartTime/WorldCities.php on line 62
[18-Sep-2021 22:00:58 UTC] PHP Notice:  Undefined property: WorldCities::$tableName in /wp-content/plugins/daily-prayer-time-for-mosques/Models/StartTime/WorldCities.php on line 62
[18-Sep-2021 22:00:59 UTC] PHP Notice:  Undefined index: quickMonth in /wp-content/plugins/daily-prayer-time-for-mosques/Views/Tabs/QuickUpdate.php on line 4
[18-Sep-2021 22:01:01 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
[18-Sep-2021 22:01:01 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
[18-Sep-2021 22:01:01 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
[18-Sep-2021 22:01:01 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
[18-Sep-2021 22:01:01 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
[18-Sep-2021 22:01:01 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
[18-Sep-2021 22:01:01 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
[18-Sep-2021 22:01: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
[18-Sep-2021 22:01:06 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
[18-Sep-2021 22:01:09 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