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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.81MB] [CPU: ▼1.30ms] Passed 4 tests
Analyzing server-side resources used by Ultimate WP SMS Plugin for Wordpress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.29 ▲0.83 | 48.91 ▲6.64 |
Dashboard /wp-admin | 4.12 ▲0.82 | 60.22 ▲3.09 |
Posts /wp-admin/edit.php | 4.17 ▲0.81 | 58.64 ▲2.87 |
Add New Post /wp-admin/post-new.php | 6.70 ▲0.81 | 89.73 ▼17.79 |
Media Library /wp-admin/upload.php | 4.04 ▲0.81 | 48.89 ▲10.83 |
Server storage [IO: ▲11.89MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2,487 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
smswp_option |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
smswp_newsletter_option |
smswp_notification_option |
smswp_logs |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate WP SMS Plugin for Wordpress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲94 | 14.74 ▲0.36 | 1.68 ▼0.03 | 45.26 ▼0.65 |
Dashboard /wp-admin | 2,252 ▲72 | 5.61 ▼0.02 | 100.42 ▲10.64 | 59.40 ▲13.72 |
Posts /wp-admin/edit.php | 2,160 ▲57 | 2.06 ▲0.00 | 41.47 ▼0.60 | 38.73 ▲3.13 |
Add New Post /wp-admin/post-new.php | 1,594 ▲62 | 23.49 ▲0.32 | 687.36 ▲27.58 | 52.93 ▼0.51 |
Media Library /wp-admin/upload.php | 1,457 ▲54 | 4.21 ▲0.04 | 97.82 ▼2.52 | 43.53 ▼3.07 |
SMSWP Settings /wp-admin/admin.php?page=smswordpress#tab=smswp-settings | 1,659 | 3.55 | 58.89 | 43.17 |
Logs /wp-admin/admin.php?page=smswordpress#tab=logs | 1,630 | 3.43 | 48.90 | 28.31 |
Send a Test /wp-admin/admin.php?page=smswordpress#tab=send-a-test | 1,644 | 3.86 | 59.16 | 45.55 |
Notifications /wp-admin/admin.php?page=smswordpress#tab=notifications | 1,651 | 3.60 | 50.85 | 39.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 did not uninstall successfully, leaving 10 options in the database
- theysaidso_admin_options
- can_compress_scripts
- smswp_option
- smswp_logs
- widget_recent-comments
- widget_recent-posts
- smswp_newsletter_option
- db_upgraded
- smswp_notification_option
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Please fix the following
- 2329× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/ultimate-sms/gateways/twilio/src/Twilio/Rest/Events/V1/SubscriptionInstance.php:32
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Tests\\HolodeckTestCase' not found in wp-content/plugins/ultimate-sms/gateways/twilio/tests/Twilio/Integration/Conversations/V1/WebhookTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/ultimate-sms/gateways/twilio/src/Twilio/Rest/Api/V2010/Account/OutgoingCallerIdInstance.php:28
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Tests\\HolodeckTestCase' not found in wp-content/plugins/ultimate-sms/gateways/twilio/tests/Twilio/Integration/Api/V2010/Account/Usage/Record/LastMonthTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/ultimate-sms/gateways/twilio/src/Twilio/Rest/Verify/V2/Service/VerificationList.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/ultimate-sms/gateways/twilio/src/Twilio/Rest/Api/V2010/Account/Call/FeedbackSummaryList.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Tests\\HolodeckTestCase' not found in wp-content/plugins/ultimate-sms/gateways/twilio/tests/Twilio/Integration/Sync/V1/Service/SyncStream/StreamMessageTest.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Tests\\HolodeckTestCase' not found in wp-content/plugins/ultimate-sms/gateways/twilio/tests/Twilio/Integration/Autopilot/V1/Assistant/DefaultsTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/ultimate-sms/gateways/twilio/src/Twilio/Rest/Pricing/V1/PhoneNumber/CountryInstance.php:24
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/ultimate-sms/gateways/twilio/src/Twilio/Rest/Api/V2010/Account/NewSigningKeyOptions.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please describe screenshot #4 in ultimate-sms/assets to your readme.txt
ultimate-sms/ultimate-sms.php Passed 13 tests
The primary PHP file in "Ultimate WP SMS Plugin for Wordpress" version 1.0.2 is used by WordPress to initiate all plugin functionality
66 characters long description:
SMS Wordpress Plugin - Send SMS Messages & Notifications to users.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected179,520 lines of code in 2,476 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2,427 | 39,132 | 115,957 | 157,084 |
CSS | 8 | 1,184 | 510 | 9,182 |
JavaScript | 8 | 1,760 | 1,311 | 6,099 |
Sass | 15 | 928 | 3 | 4,730 |
Markdown | 10 | 890 | 0 | 2,278 |
make | 1 | 14 | 2 | 40 |
YAML | 1 | 0 | 1 | 37 |
JSON | 1 | 0 | 0 | 35 |
XML | 2 | 0 | 1 | 25 |
Dockerfile | 1 | 3 | 0 | 8 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of 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.17 |
Average class complexity | 3.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 1.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 339 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 2,911 | |
▷ Abstract classes | 288 | 9.89% |
▷ Concrete classes | 2,623 | 90.11% |
▷ Final classes | 2 | 0.08% |
Methods | 16,320 | |
▷ Static methods | 566 | 3.47% |
▷ Public methods | 14,950 | 91.61% |
▷ Protected methods | 1,363 | 8.35% |
▷ Private methods | 7 | 0.04% |
Functions | 186 | |
▷ Named functions | 50 | 26.88% |
▷ Anonymous functions | 136 | 73.12% |
Constants | 26 | |
▷ Global constants | 11 | 42.31% |
▷ Class constants | 15 | 57.69% |
▷ Public constants | 15 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
assets/images/wpsmslogo.png | 23.04KB | 8.54KB | ▼ 62.94% |
assets/images/premiumlogo.png | 4.80KB | 2.35KB | ▼ 51.04% |
assets/images/wpsmsadforestilogo.png | 4.09KB | 2.26KB | ▼ 44.68% |
admin/assets/images/frameworklogo.png | 5.50KB | 2.63KB | ▼ 52.18% |