Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.36MB] [CPU: ▼1.81ms] Passed 4 tests
This is a short check of server-side resources used by Muslim Prayer Time-Salah/Iqamah
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.36 | 42.92 ▲0.24 |
Dashboard /wp-admin | 3.67 ▲0.36 | 55.52 ▲4.17 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 52.32 ▲3.71 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 90.44 ▼14.05 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 40.19 ▲2.87 |
Server storage [IO: ▲1.93MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 76 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_mpsti_wpb_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Muslim Prayer Time-Salah/Iqamah
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.37 ▼0.01 | 2.02 ▲0.28 | 53.84 ▲12.77 |
Dashboard /wp-admin | 2,216 ▲39 | 5.66 ▲0.00 | 92.11 ▼3.45 | 41.39 ▼1.88 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.13 ▲0.12 | 36.19 ▼0.08 | 39.19 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.12 ▲0.41 | 668.90 ▲38.22 | 67.35 ▲19.73 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.34 ▲0.14 | 101.44 ▲1.06 | 46.20 ▼6.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/masjidal/public/ajax.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/masjidal/admin/admin_page/masjidal_details.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Screenshot-1.png), #2 (Screenshot-2.png)
masjidal/masjidal.php 85% from 13 tests
The main PHP script in "Muslim Prayer Time-Salah/Iqamah" version 1.8.5 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 184 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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 plugin3,359 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 311 | 596 | 2,239 |
CSS | 2 | 184 | 36 | 1,040 |
Pascal | 1 | 41 | 85 | 80 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 30 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.29% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
38 PNG files occupy 1.43MB with 0.58MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/assets/images/sunset.png | 1.17KB | 0.66KB | ▼ 43.93% |
public/assets/img/checkmark-xxl.png | 5.13KB | 2.83KB | ▼ 44.88% |
public/assets/css/border-chkbox.png | 1.82KB | 0.27KB | ▼ 85.17% |
public/assets/images/layout_2/Icon4_Asar.png | 0.78KB | 0.70KB | ▼ 9.19% |
public/assets/images/d_maghrib.png | 2.08KB | 1.66KB | ▼ 20.56% |