Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.44ms] Passed 4 tests
Server-side resources used by Xllentech English Islamic Calendar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.52 ▼2.00 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.87 ▼4.24 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 50.85 ▲0.73 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 93.88 ▼0.24 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.08 ▲2.36 |
Xllentech Calendar /wp-admin/options-general.php?page=xllentech_options_tab2 | 3.30 | 31.77 |
Xllentech Calendar /wp-admin/options-general.php?page=xllentech_options | 3.26 | 32.33 |
Xllentech Calendar /wp-admin/options-general.php?page=xllentech_options_tab4 | 3.26 | 31.12 |
Xllentech Calendar /wp-admin/options-general.php?page=xllentech_options_tab3 | 3.26 | 28.29 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 32 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_month_firstdate |
wp_month_days |
New WordPress options |
---|
can_compress_scripts |
widget_xllentech_islamic_today_plugin |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
widget_xllentech_calendar |
theysaidso_admin_options |
db_upgraded |
xc_options |
Browser metrics Passed 4 tests
Xllentech English Islamic Calendar: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 13.22 ▼1.16 | 1.73 ▲0.12 | 42.99 ▼1.31 |
Dashboard /wp-admin | 2,211 ▲23 | 5.80 ▼0.07 | 101.49 ▼1.87 | 38.33 ▼7.34 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.03 ▲0.03 | 39.30 ▼2.07 | 35.26 ▼0.34 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 23.36 ▲0.28 | 646.06 ▼81.41 | 49.50 ▼9.31 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.22 ▼0.03 | 110.38 ▼2.07 | 48.44 ▲2.03 |
Xllentech Calendar /wp-admin/options-general.php?page=xllentech_options_tab2 | 1,094 | 2.06 | 23.02 | 34.04 |
Xllentech Calendar /wp-admin/options-general.php?page=xllentech_options | 3,249 | 2.08 | 27.22 | 38.61 |
Xllentech Calendar /wp-admin/options-general.php?page=xllentech_options_tab4 | 1,098 | 2.05 | 22.72 | 36.39 |
Xllentech Calendar /wp-admin/options-general.php?page=xllentech_options_tab3 | 1,219 | 2.18 | 24.53 | 30.41 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_xllentech_islamic_today_plugin
- widget_xllentech_calendar
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Please fix the following
- 14× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/xllentech-english-islamic-calendar/includes/class-xllentech-english-islamic-calendar-activator.php
- > /wp-content/plugins/xllentech-english-islamic-calendar/includes/class-xllentech-english-islamic-calendar-i18n.php
- > /wp-content/plugins/xllentech-english-islamic-calendar/includes/class-xllentech-english-islamic-calendar.php
- > /wp-content/plugins/xllentech-english-islamic-calendar/admin/partials/class-xllentech-english-islamic-calendar-options.php
- > /wp-content/plugins/xllentech-english-islamic-calendar/includes/class-xllentech-islamic-today.php
- > /wp-content/plugins/xllentech-english-islamic-calendar/admin/partials/class-xllentech-english-islamic-calendar-monthnames.php
- > /wp-content/plugins/xllentech-english-islamic-calendar/includes/class-xllentech-english-islamic-calendar-deactivator.php
- > /wp-content/plugins/xllentech-english-islamic-calendar/admin/class-xllentech-english-islamic-calendar-admin.php
- > /wp-content/plugins/xllentech-english-islamic-calendar/admin/partials/xllentech-english-islamic-calendar-admin-sidebar.php
- > /wp-content/plugins/xllentech-english-islamic-calendar/public/partials/shortcode-islamic-month-days.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: islamic calendar, calendar, php, hijri calendar, xllentech calendar...
xllentech-english-islamic-calendar/xllentech-english-islamic-calendar.php 92% from 13 tests
The entry point to "Xllentech English Islamic Calendar" version 2.7.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 150 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 plugin2,031 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 615 | 812 | 2,022 |
JavaScript | 2 | 4 | 56 | 7 |
CSS | 2 | 0 | 4 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 16.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 2 | 3.57% |
▷ Public methods | 49 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 12.50% |
Functions | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/css/rate.png | 2.19KB | 1.74KB | ▼ 20.49% |