Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/adzan-and-iqamah-times-a-simple-reminder/admin.php+17
Methods with the same name as their class will not be constructors in a future version of PHP; ait_widget has a deprecated constructor
Server metrics [RAM: ▼1.90MB] [CPU: ▼54.63ms] Passed 4 tests
Analyzing server-side resources used by Adzan and Iqamah Times - A Simple Reminder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 4.68 ▼37.25 |
Dashboard /wp-admin | 2.10 ▼1.20 | 5.89 ▼46.12 |
Posts /wp-admin/edit.php | 2.10 ▼1.25 | 6.54 ▼48.76 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.78 | 5.92 ▼86.39 |
Media Library /wp-admin/upload.php | 2.10 ▼1.12 | 5.98 ▼27.94 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
ait_settings |
db_upgraded |
widget_ait |
Browser metrics Passed 4 tests
Checking browser requirements for Adzan and Iqamah Times - A Simple Reminder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.41 ▼0.87 | 1.83 ▲0.30 | 43.12 ▼3.62 |
Dashboard /wp-admin | 2,239 ▲54 | 5.13 ▲0.20 | 102.89 ▲0.54 | 38.43 ▼4.98 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.31 ▲0.29 | 38.53 ▲3.49 | 31.67 ▼1.29 |
Add New Post /wp-admin/post-new.php | 1,548 ▲28 | 18.55 ▼4.64 | 629.81 ▼41.18 | 37.44 ▼13.98 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.37 ▲0.19 | 94.01 ▼8.80 | 42.23 ▼4.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/adzan-and-iqamah-times-a-simple-reminder/admin.php+17
Methods with the same name as their class will not be constructors in a future version of PHP; ait_widget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_ait
- ait_settings
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adzan-and-iqamah-times-a-simple-reminder/settings.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adzan-and-iqamah-times-a-simple-reminder/ajax.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adzan-and-iqamah-times-a-simple-reminder/ajax.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/adzan-and-iqamah-times-a-simple-reminder/widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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 need to be fixed:
- Screenshots: Add an image for screenshot #1 (2.)
- Donate link: Invalid URI found ("")
adzan-and-iqamah-times-a-simple-reminder/admin.php 85% from 13 tests
The entry point to "Adzan and Iqamah Times - A Simple Reminder" version 1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("adzan-and-iqamah-times-a-simple-reminder.php" instead of "admin.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 243 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin342 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 119 | 65 | 342 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 13 | |
▷ Named functions | 13 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected