Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼1.21MB] [CPU: ▼42.62ms] Passed 4 tests
A check of server-side resources used by Dialog eSMS
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.04 ▼0.69 | 19.83 ▼22.68 |
Dashboard /wp-admin | 3.08 ▼0.49 | 23.32 ▼30.24 |
Posts /wp-admin/edit.php | 3.08 ▼0.60 | 19.29 ▼31.39 |
Add New Post /wp-admin/post-new.php | 3.08 ▼3.07 | 20.88 ▼86.15 |
Media Library /wp-admin/upload.php | 3.08 ▼0.41 | 21.66 ▼14.45 |
Settings /wp-admin/admin.php?page=Dialog-eSMS | 3.08 | 20.10 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_adeona_esms_plugin_settings |
wp_adeona_esms_plugin |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
recovery_mode_email_last_sent |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Dialog eSMS
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲185 | 14.07 ▼0.31 | 10.37 ▲8.30 | 45.58 ▼0.18 |
Dashboard /wp-admin | 2,223 ▲46 | 5.81 ▲0.16 | 95.90 ▲1.91 | 39.53 ▼4.23 |
Posts /wp-admin/edit.php | 2,085 ▼15 | 2.31 ▲0.27 | 38.03 ▼2.55 | 37.39 ▲2.34 |
Add New Post /wp-admin/post-new.php | 1,453 ▼92 | 22.67 ▼0.40 | 576.49 ▼108.39 | 161.77 ▲102.23 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.55 ▲0.21 | 102.59 ▼0.99 | 41.41 ▼6.03 |
Settings /wp-admin/admin.php?page=Dialog-eSMS | 828 | 1.79 | 13.87 | 35.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- recovery_mode_email_last_sent
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=Dialog-eSMS
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- > GET request to /wp-admin/admin.php?page=Dialog-eSMS
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- > GET request to /wp-admin/admin.php?page=Dialog-eSMS
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.)
- > GET request to /wp-admin/admin.php?page=Dialog-eSMS
- > Error in wp-content/plugins/dialog-e-sms/views/Dialog-eSMS-Settings-view.php+198
Uncaught Error: Call to undefined function wc_get_order_statuses() in wp-content/plugins/dialog-e-sms/views/Dialog-eSMS-Settings-view.php:198
Stack trace:
#0 wp-content/plugins/dialog-e-sms/Dialog-eSMS.php(75): include_once()
#1 wp-includes/class-wp-hook.php(310): adeona_Dialog_eSMS_admin_view()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 {main}
thrown
SRP 0% 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/dialog-e-sms/views/Dialog-eSMS-Settings-view.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/dialog-e-sms/views/Dialog-eSMS-Settings-view.php:161
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=Dialog-eSMS
- > Network (severe)
wp-content/plugins/dialog-e-sms/assets/css/new_bootstrap.min.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 80% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Account Creation UI. screenshot-1.png), #2 (Pricing. screenshot-2.png)
dialog-e-sms/Dialog-eSMS.php 62% from 13 tests
"Dialog eSMS" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("dialog-e-sms.php" instead of "Dialog-eSMS.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 208 characters long)
- Requires PHP: Required version must match the one declared in readme.txt ("5.2.4" instead of "7.2")
- Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin563 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 135 | 41 | 474 |
JavaScript | 3 | 22 | 12 | 88 |
CSS | 1 | 0 | 5 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon_esms.png | 1.25KB | 1.24KB | ▼ 0.78% |