Daily Prayer Time 2022.05.04

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

Summary

Errors
14PHP warnings
7PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.0.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=12a1ab25b6
Aspect after-activation
HTTP status 200
Load time 3.638 s
Memory usage 6.23 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 2.454 s
Memory usage 15.9 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.408 s
Memory usage 3.82 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.829 s
Memory usage 3.79 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.748 s
Memory usage 5.66 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.355 s0.496 s+0.141 s3.72 MiB3.85 MiB+ 124.77 KiB
/wp-admin/edit.php0.190 s0.264 s+0.074 s3.76 MiB3.88 MiB+ 127.39 KiB
/wp-admin/post-new.php0.861 s1.375 s+0.514 s5.55 MiB5.68 MiB+ 133 KiB
/wp-admin/upload.php0.408 s0.696 s+0.288 s3.69 MiB3.81 MiB+ 123.95 KiB
/wp-admin/options-writing.php0.165 s0.208 s+0.043 s3.62 MiB3.79 MiB+ 171.5 KiB
/wp-admin/media-new.php0.453 s0.237 s-0.216 s3.66 MiB3.79 MiB+ 126.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.242 s+0.042 s3.69 MiB3.81 MiB+ 127.79 KiB
/wp-admin/post-new.php?post_type=page0.902 s0.980 s+0.078 s5.54 MiB5.67 MiB+ 125.06 KiB
/wp-admin/options-discussion.php0.240 s0.287 s+0.047 s3.6 MiB3.79 MiB+ 192.08 KiB
/wp-admin/edit-comments.php0.233 s0.345 s+0.112 s3.7 MiB3.82 MiB+ 129 KiB
/0.302 s0.339 s+0.037 s3.6 MiB3.86 MiB+ 257.27 KiB
Average 0.392 s0.497 s+0.105 s4.01 MiB4.16 MiB+ 148.94 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.3%5,94160352
CSS12.5%963365
JavaScript9.6%7391287
YAML0.4%3301
HTML0.1%801
Total 7,684 767 66

PHP Code Analysis | More results »

Lines of code 4,783
Total complexity 720
Median class complexity 8.0
Median method complexity 2.0
Most complex class TimetablePrinter
Most complex function UpdateStyles::setStyles()
Classes 35
Methods 282
Functions 5

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 21 lines

[02-Sep-2022 15:40:42 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 85
[02-Sep-2022 15:40:42 UTC] PHP Warning:  include(/wp-content/plugins/daily-prayer-time-for-mosques/Models): failed to open stream: No such file or directory in /wp-includes/template-loader.php on line 106
[02-Sep-2022 15:40:42 UTC] PHP Warning:  include(): Failed opening '/wp-content/plugins/daily-prayer-time-for-mosques/Models/' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /wp-includes/template-loader.php on line 106
[02-Sep-2022 15:40:42 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 85
[02-Sep-2022 15:40:42 UTC] PHP Warning:  include(/wp-content/plugins/daily-prayer-time-for-mosques/Models): failed to open stream: No such file or directory in /wp-includes/template-loader.php on line 106
[02-Sep-2022 15:40:42 UTC] PHP Warning:  include(): Failed opening '/wp-content/plugins/daily-prayer-time-for-mosques/Models/' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /wp-includes/template-loader.php on line 106
[02-Sep-2022 15:40:42 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 85
[02-Sep-2022 15:40:42 UTC] PHP Warning:  include(/wp-content/plugins/daily-prayer-time-for-mosques/Models): failed to open stream: No such file or directory in /wp-includes/template-loader.php on line 106
[02-Sep-2022 15:40:42 UTC] PHP Warning:  include(): Failed opening '/wp-content/plugins/daily-prayer-time-for-mosques/Models/' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /wp-includes/template-loader.php on line 106
[02-Sep-2022 15:40:42 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 85
[02-Sep-2022 15:40:42 UTC] PHP Warning:  include(/wp-content/plugins/daily-prayer-time-for-mosques/Models): failed to open stream: No such file or directory in /wp-includes/template-loader.php on line 106
[02-Sep-2022 15:40:42 UTC] PHP Warning:  include(): Failed opening '/wp-content/plugins/daily-prayer-time-for-mosques/Models/' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /wp-includes/template-loader.php on line 106
[02-Sep-2022 15:40:42 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 85
[02-Sep-2022 15:40:42 UTC] PHP Warning:  include(/wp-content/plugins/daily-prayer-time-for-mosques/Models): failed to open stream: No such file or directory in /wp-includes/template-loader.php on line 106
[02-Sep-2022 15:40:42 UTC] PHP Warning:  include(): Failed opening '/wp-content/plugins/daily-prayer-time-for-mosques/Models/' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /wp-includes/template-loader.php on line 106
[02-Sep-2022 15:40:42 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 85
[02-Sep-2022 15:40:42 UTC] PHP Warning:  include(/wp-content/plugins/daily-prayer-time-for-mosques/Models): failed to open stream: No such file or directory in /wp-includes/template-loader.php on line 106
[02-Sep-2022 15:40:42 UTC] PHP Warning:  include(): Failed opening '/wp-content/plugins/daily-prayer-time-for-mosques/Models/' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /wp-includes/template-loader.php on line 106
[02-Sep-2022 15:40:43 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 85
[02-Sep-2022 15:40:43 UTC] PHP Warning:  include(/wp-content/plugins/daily-prayer-time-for-mosques/Models): failed to open stream: No such file or directory in /wp-includes/template-loader.php on line 106
[02-Sep-2022 15:40:43 UTC] PHP Warning:  include(): Failed opening '/wp-content/plugins/daily-prayer-time-for-mosques/Models/' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /wp-includes/template-loader.php on line 106
See also: All tests for this plugin, How to Hide Daily Prayer Time Admin Menus