Benchmarks
Plugin footprint 65% 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.57MB] [CPU: ▲1.28ms] Passed 4 tests
This is a short check of server-side resources used by SMS Gateway Center - Bulk SMS Sender
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.03 ▲0.56 | 39.42 ▲4.80 |
Dashboard /wp-admin | 3.89 ▲0.54 | 49.92 ▼10.49 |
Posts /wp-admin/edit.php | 4.00 ▲0.64 | 51.09 ▲2.30 |
Add New Post /wp-admin/post-new.php | 6.49 ▲0.60 | 93.61 ▲11.36 |
Media Library /wp-admin/upload.php | 3.81 ▲0.58 | 41.77 ▲8.51 |
View Profile /wp-admin/admin.php?page=sgcsms_viewprofile | 3.75 | 40.14 |
Send SMS to Subscribers /wp-admin/admin.php?page=sgcsms_send_subscribers_sms | 3.83 | 35.92 |
Incoming SMS /wp-admin/admin.php?page=sgcsms_shortcode | 3.77 | 32.78 |
OTP Settings /wp-admin/admin.php?page=sgcsms_otp_settings | 3.75 | 31.66 |
Check Balance /wp-admin/admin.php?page=sgcsms_checkbalance | 3.77 | 33.91 |
Send Group SMS /wp-admin/admin.php?page=sgcsms_send_group_sms | 3.75 | 30.16 |
Delivery Report /wp-admin/admin.php?page=sgcsms_dlr | 3.77 | 34.28 |
Groups /wp-admin/admin.php?page=sgcsms_groups | 3.77 | 35.87 |
WP Subscribers /wp-admin/admin.php?page=wpSubscribers | 3.87 | 36.70 |
Send Bulk SMS /wp-admin/admin.php?page=sgcsms_send | 3.75 | 31.29 |
Server storage [IO: ▲2.73MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 141 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_smsgatewaycenter_wp_subscribers_group |
wp_smsgatewaycenter_wp_subscribers |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for SMS Gateway Center - Bulk SMS Sender
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲117 | 14.26 ▼0.03 | 1.55 ▼0.39 | 42.70 ▲0.71 |
Dashboard /wp-admin | 2,282 ▲107 | 5.54 ▼0.15 | 93.84 ▼9.25 | 82.08 ▲38.96 |
Posts /wp-admin/edit.php | 2,200 ▲100 | 2.00 ▼0.00 | 40.86 ▲2.84 | 40.45 ▲2.87 |
Add New Post /wp-admin/post-new.php | 1,604 ▲78 | 23.01 ▼0.16 | 688.08 ▲84.40 | 51.93 ▲1.73 |
Media Library /wp-admin/upload.php | 1,502 ▲108 | 4.21 ▼0.01 | 98.42 ▼2.46 | 65.77 ▲21.15 |
View Profile /wp-admin/admin.php?page=sgcsms_viewprofile | 760 | 1.12 | 7.24 | 21.61 |
Send SMS to Subscribers /wp-admin/admin.php?page=sgcsms_send_subscribers_sms | 765 | 1.12 | 6.80 | 21.37 |
Incoming SMS /wp-admin/admin.php?page=sgcsms_shortcode | 765 | 1.51 | 6.47 | 20.70 |
OTP Settings /wp-admin/admin.php?page=sgcsms_otp_settings | 765 | 1.51 | 6.38 | 19.96 |
Check Balance /wp-admin/admin.php?page=sgcsms_checkbalance | 765 | 1.12 | 7.02 | 18.31 |
Send Group SMS /wp-admin/admin.php?page=sgcsms_send_group_sms | 765 | 1.12 | 6.53 | 19.94 |
Delivery Report /wp-admin/admin.php?page=sgcsms_dlr | 770 | 1.66 | 19.32 | 23.27 |
Groups /wp-admin/admin.php?page=sgcsms_groups | 765 | 1.51 | 6.37 | 20.68 |
WP Subscribers /wp-admin/admin.php?page=wpSubscribers | 1,166 | 1.66 | 27.45 | 31.14 |
Send Bulk SMS /wp-admin/admin.php?page=sgcsms_send | 765 | 1.12 | 6.45 | 18.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie tables detected upon uninstall: 2 tables
- wp_smsgatewaycenter_wp_subscribers_group
- wp_smsgatewaycenter_wp_subscribers
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sgcsms_send
- > Notice in wp-content/plugins/sms-gateway-center-bulk-sms-sender/sgcsms.php+170
Trying to access array offset on value of type bool
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 take a closer look at the following
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/sms-gateway-center-bulk-sms-sender/includes/subscribers/subscriber_groups.php
- > /wp-content/plugins/sms-gateway-center-bulk-sms-sender/sgcsms.php
- > /wp-content/plugins/sms-gateway-center-bulk-sms-sender/includes/subscribers/crud.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
sms-gateway-center-bulk-sms-sender/sgcsms.php 77% from 13 tests
The primary PHP file in "SMS Gateway Center - Bulk SMS Sender" version 1.3.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Description: Please keep the plugin description shorter than 140 characters (currently 195 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sms-gateway-center-bulk-sms-sender.php" instead of "sgcsms.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin31,139 lines of code in 115 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 48 | 4,886 | 15,606 | 19,932 |
CSS | 39 | 162 | 176 | 7,337 |
PHP | 28 | 356 | 800 | 3,870 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 94.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.26% |
Functions | 65 | |
▷ Named functions | 64 | 98.46% |
▷ Anonymous functions | 1 | 1.54% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
15 PNG files occupy 0.33MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin-logo.png | 10.38KB | 5.33KB | ▼ 48.62% |
logo-sgc-320.png | 15.99KB | 6.71KB | ▼ 58.04% |
assets/plugins/intl-tel-input/img/flags.png | 69.20KB | 23.42KB | ▼ 66.16% |
assets/images/logo-sgc-320.png | 15.99KB | 6.71KB | ▼ 58.04% |
assets/images/drop-down-arrow.png | 0.28KB | 0.22KB | ▼ 23.00% |