Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.91ms] Passed 4 tests
Analyzing server-side resources used by XllenTech Salat Timings
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.60 ▼0.37 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.86 ▲4.17 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 46.44 ▼7.27 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 85.49 ▼4.97 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 32.91 ▲0.98 |
Xllentech Salat Settings /wp-admin/options-general.php?page=xllentech_salat_timings_options | 3.53 | 41.98 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_xllentech_salat_timings |
xllentech_salat_timings_first_activate |
widget_theysaidso_widget |
widget_recent-comments |
xllentech_salat_timings_options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for XllenTech Salat Timings
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲135 | 13.91 ▼0.39 | 9.73 ▲7.85 | 43.29 ▼0.18 |
Dashboard /wp-admin | 2,209 ▲21 | 4.87 ▼0.03 | 108.67 ▼13.39 | 40.89 ▼6.05 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.05 ▲0.04 | 34.15 ▼6.13 | 32.13 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,538 ▲4 | 23.26 ▲0.20 | 608.12 ▼59.05 | 55.62 ▼12.06 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.23 ▼0.03 | 96.94 ▼4.66 | 40.46 ▼4.84 |
Xllentech Salat Settings /wp-admin/options-general.php?page=xllentech_salat_timings_options | 4,264 | 2.19 | 27.16 | 33.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 9 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- xllentech_salat_timings_options
- widget_xllentech_salat_timings
- widget_recent-posts
- xllentech_salat_timings_first_activate
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=xllentech_salat_timings_options
- > Notice in wp-content/plugins/xllentech-salat-timings/admin/class-xllentech-salat-timings-admin.php+395
Undefined index: Canada
- > GET request to /wp-admin/options-general.php?page=xllentech_salat_timings_options
- > Warning in wp-content/plugins/xllentech-salat-timings/admin/class-xllentech-salat-timings-admin.php+395
Invalid argument supplied for foreach()
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/xllentech-salat-timings/includes/PrayTime.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/xllentech-salat-timings/includes/class-xllentech-salat-timings.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: shia muslim prayer timings, prayer timings, prayer times, shia prayer times
xllentech-salat-timings/xllentech-salat-timings.php Passed 13 tests
The main PHP file in "XllenTech Salat Timings" ver. 1.2.9 adds more information about the plugin and also serves as the entry point for this plugin
86 characters long description:
Display Salat Timings Daily and Monthly for Shia Ithna-Ashari Muslims Around the World
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
No dangerous file extensions were detected2,173 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 642 | 785 | 1,977 |
CSS | 2 | 1 | 8 | 135 |
JavaScript | 2 | 7 | 58 | 61 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 33.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 2 | 2.22% |
▷ Public methods | 85 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 5.56% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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 images were found in this plugin