Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.60MB] [CPU: ▲3.34ms] Passed 4 tests
A check of server-side resources used by Ultimate WP SMS
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.56 | 47.11 ▲7.30 |
Dashboard /wp-admin | 3.92 ▲0.62 | 48.16 ▼1.51 |
Posts /wp-admin/edit.php | 3.97 ▲0.61 | 52.52 ▲6.43 |
Add New Post /wp-admin/post-new.php | 6.52 ▲0.64 | 91.94 ▲1.14 |
Media Library /wp-admin/upload.php | 3.84 ▲0.61 | 45.18 ▲11.74 |
Go Pro & Help /wp-admin/admin.php?page=uws-help | 3.84 | 36.91 |
Group Manager /wp-admin/admin.php?page=uws-group | 3.88 | 41.35 |
Send Message /wp-admin/admin.php?page=uws | 3.87 | 35.49 |
Settings /wp-admin/admin.php?page=uws-settings | 3.84 | 39.36 |
Server storage [IO: ▲16.66MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2,640 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_uws_messagequeue |
wp_uws_groupmemxref |
wp_uws_groupmembers |
wp_uws_groups |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
uws-version |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Ultimate WP SMS
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲115 | 14.25 ▼0.09 | 1.78 ▼0.10 | 41.60 ▼2.30 |
Dashboard /wp-admin | 2,271 ▲94 | 5.75 ▲0.23 | 91.87 ▼6.25 | 75.52 ▲21.01 |
Posts /wp-admin/edit.php | 2,177 ▲77 | 2.02 ▲0.07 | 40.60 ▲0.96 | 36.21 ▼3.29 |
Add New Post /wp-admin/post-new.php | 1,750 ▲224 | 22.31 ▼0.90 | 656.21 ▼2.35 | 35.51 ▼14.85 |
Media Library /wp-admin/upload.php | 1,479 ▲76 | 4.31 ▲0.16 | 100.46 ▲4.29 | 68.28 ▲25.48 |
Go Pro & Help /wp-admin/admin.php?page=uws-help | 1,886 | 2.10 | 28.73 | 42.88 |
Group Manager /wp-admin/admin.php?page=uws-group | 1,476 | 3.36 | 48.37 | 69.91 |
Send Message /wp-admin/admin.php?page=uws | 1,403 | 2.47 | 35.52 | 41.61 |
Settings /wp-admin/admin.php?page=uws-settings | 3,141 | 2.04 | 35.00 | 57.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% 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
- The uninstall procedure failed, leaving 4 tables in the database
- wp_uws_groupmembers
- wp_uws_groupmemxref
- wp_uws_messagequeue
- wp_uws_groups
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- uws-version
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=uws
- > Notice in wp-content/plugins/ultimate-wp-sms/src/Admin/Template/SendSmsTemplate.php+271
Undefined index: value
- > GET request to /wp-admin/admin.php?page=uws
- > Notice in wp-content/plugins/ultimate-wp-sms/src/Admin/Template/SendSmsTemplate.php+271
Undefined index: label
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2431× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Rest\\FlexApiBase' not found in wp-content/plugins/ultimate-wp-sms/vendor/twilio/sdk/src/Twilio/Rest/FlexApi.php:8
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/ultimate-wp-sms/vendor/twilio/sdk/src/Twilio/Rest/Preview/DeployedDevices/Fleet/CertificateList.php:27
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/ultimate-wp-sms/vendor/twilio/sdk/src/Twilio/Rest/Serverless/V1/Service/FunctionPage.php:22
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Version' not found in wp-content/plugins/ultimate-wp-sms/vendor/twilio/sdk/src/Twilio/Rest/Api/V2010.php:72
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/ultimate-wp-sms/vendor/twilio/sdk/src/Twilio/Rest/Sync/V1/Service/SyncMap/SyncMapPermissionContext.php:27
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/ultimate-wp-sms/vendor/twilio/sdk/src/Twilio/Rest/Supersim/V1/NetworkContext.php:25
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/ultimate-wp-sms/vendor/twilio/sdk/src/Twilio/Rest/FlexApi/V1/ProvisioningStatusInstance.php:30
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/ultimate-wp-sms/vendor/twilio/sdk/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/SupportingDocumentInstance.php:41
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/ultimate-wp-sms/vendor/twilio/sdk/src/Twilio/Rest/Taskrouter/V1/Workspace/TaskQueue/TaskQueueStatisticsContext.php:28
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/ultimate-wp-sms/vendor/twilio/sdk/src/Twilio/Rest/Messaging/V1/TollfreeVerificationContext.php:28
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: You are using too many tags: 19 tag instead of maximum 10
ultimate-wp-sms/ultimate-wp-sms-lite.php 92% from 13 tests
The primary PHP file in "Ultimate WP SMS" version 2.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ultimate-wp-sms.php" instead of "ultimate-wp-sms-lite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin175,476 lines of code in 2,624 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2,518 | 43,966 | 143,459 | 163,280 |
CSS | 4 | 17 | 160 | 5,400 |
JavaScript | 9 | 156 | 69 | 3,125 |
JSON | 5 | 0 | 0 | 2,663 |
SVG | 80 | 0 | 1 | 620 |
Markdown | 3 | 74 | 0 | 232 |
YAML | 3 | 16 | 2 | 135 |
XML | 1 | 0 | 0 | 11 |
Dockerfile | 1 | 4 | 0 | 10 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 2.37 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 1.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 239 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 3,089 | |
▷ Abstract classes | 344 | 11.14% |
▷ Concrete classes | 2,745 | 88.86% |
▷ Final classes | 2 | 0.07% |
Methods | 16,626 | |
▷ Static methods | 637 | 3.83% |
▷ Public methods | 14,910 | 89.68% |
▷ Protected methods | 1,629 | 9.80% |
▷ Private methods | 87 | 0.52% |
Functions | 116 | |
▷ Named functions | 2 | 1.72% |
▷ Anonymous functions | 114 | 98.28% |
Constants | 23 | |
▷ Global constants | 4 | 17.39% |
▷ Class constants | 19 | 82.61% |
▷ Public constants | 19 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/message-history/left_arrow.png | 1.02KB | 0.44KB | ▼ 56.91% |
assets/images/message-history/right_arrow.png | 1.01KB | 0.44KB | ▼ 56.74% |
assets/images/icons/tips_icon.png | 0.42KB | 0.28KB | ▼ 32.47% |
assets/json/download.png | 6.94KB | 6.70KB | ▼ 3.46% |