Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼1.80ms] Passed 4 tests
Server-side resources used by Muslim Prayer Time BD
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 43.11 ▼1.26 |
Dashboard /wp-admin | 3.62 ▲0.31 | 56.73 ▲1.16 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 50.18 ▼0.10 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 88.05 ▼5.01 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 38.26 ▼0.82 |
Prayer Settings /wp-admin/options-general.php?page=muslim-prayer-time-bd/admin-settings.php | 3.51 | 40.57 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_mptb |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Muslim Prayer Time BD
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲140 | 13.86 ▼0.79 | 5.73 ▲3.61 | 43.51 ▼3.22 |
Dashboard /wp-admin | 2,228 ▲43 | 5.15 ▲0.29 | 107.21 ▼22.52 | 40.85 ▼4.39 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.35 ▲0.34 | 39.38 ▲1.28 | 31.59 ▼4.56 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.47 ▲0.29 | 701.89 ▲67.23 | 41.10 ▼12.56 |
Media Library /wp-admin/upload.php | 1,416 ▲25 | 4.56 ▲0.36 | 102.14 ▼6.93 | 43.76 ▲1.60 |
Prayer Settings /wp-admin/options-general.php?page=muslim-prayer-time-bd/admin-settings.php | 3,191 | 3.51 | 131.69 | 75.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_mptb
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/muslim-prayer-time-bd/admin-settings.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Prayer Timetable with Beautiful Mosque 1.), #2 (Sehri & Iftar Card with Beautiful Mosque 1.), #3 (Prayer Timetable with Beautiful Mosque 2.), #4 (Prayer Timetable in Bangla.), #5 (Prayer Timetable in English.), #6 (Prayer Timetable with Sehri & Iftar Card in Bangla.), #7 (Only Sehri & Iftar Card.), #8 (Prayer Timetable with Mosque Artwork.), #9 (Prayer Table Options.)
muslim-prayer-time-bd/muslim-prayer-time.php 85% from 13 tests
Analyzing the main PHP file in "Muslim Prayer Time BD" version 2.4
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("muslim-prayer-time-bd.php" instead of "muslim-prayer-time.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,414 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 20 | 59 | 992 |
JavaScript | 2 | 26 | 36 | 223 |
PO File | 1 | 43 | 56 | 108 |
CSS | 2 | 0 | 14 | 91 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.78 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
12 compressed PNG files occupy 0.45MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-7.png | 2.06KB | 2.06KB | 0.00% |
images/512.png | 248.70KB | 90.55KB | ▼ 63.59% |
screenshot-4.png | 3.44KB | 3.44KB | 0.00% |
images/mosque-black.png | 35.84KB | 35.84KB | 0.00% |
screenshot-2.png | 28.95KB | 28.97KB | 0.00% |