Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼14.17ms] Passed 4 tests
Server-side resources used by Sms notification contact form with twilio
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.72 ▼11.10 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.29 ▼10.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.27 ▼12.85 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.99 ▼22.73 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 37.48 ▼0.36 |
Server storage [IO: ▲8.88MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2,222 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sms notification contact form with twilio
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 14.44 ▲0.07 | 1.89 ▼0.11 | 38.88 ▼7.71 |
Dashboard /wp-admin | 2,214 ▲26 | 5.83 ▲0.95 | 106.59 ▼10.00 | 40.16 ▼3.81 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.02 ▲0.06 | 36.36 ▼5.55 | 36.83 ▲2.58 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 23.21 ▲0.20 | 649.85 ▼5.98 | 55.05 ▼1.13 |
Media Library /wp-admin/upload.php | 1,390 ▲8 | 4.22 ▲0.04 | 98.97 ▼14.44 | 44.03 ▼3.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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 items
- 2150× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/sms-notification-contact-form-with-twilio/vendor/twilio/sdk/src/Twilio/Rest/Api/V2010/Account/Recording/TranscriptionList.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/sms-notification-contact-form-with-twilio/vendor/twilio/sdk/src/Twilio/Rest/Taskrouter/V1/Workspace/Task/ReservationPage.php:16
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/sms-notification-contact-form-with-twilio/vendor/twilio/sdk/src/Twilio/Rest/Serverless/V1/ServiceOptions.php:43
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Options' not found in wp-content/plugins/sms-notification-contact-form-with-twilio/vendor/twilio/sdk/src/Twilio/Rest/Video/V1/RoomOptions.php:61
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\ListResource' not found in wp-content/plugins/sms-notification-contact-form-with-twilio/vendor/twilio/sdk/src/Twilio/Rest/Api/V2010/Account/Sip/Domain/AuthTypesList.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceResource' not found in wp-content/plugins/sms-notification-contact-form-with-twilio/vendor/twilio/sdk/src/Twilio/Rest/Insights/V1/Call/EventInstance.php:32
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/sms-notification-contact-form-with-twilio/vendor/twilio/sdk/src/Twilio/Rest/Trunking/V1/Trunk/OriginationUrlPage.php:16
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/sms-notification-contact-form-with-twilio/vendor/twilio/sdk/src/Twilio/Rest/Preview/Understand/Assistant/Task/TaskStatisticsPage.php:19
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\InstanceContext' not found in wp-content/plugins/sms-notification-contact-form-with-twilio/vendor/twilio/sdk/src/Twilio/Rest/Api/V2010/Account/Conference/RecordingContext.php:18
- > PHP Fatal error
Uncaught Error: Class 'Twilio\\Page' not found in wp-content/plugins/sms-notification-contact-form-with-twilio/vendor/twilio/sdk/src/Twilio/Rest/Serverless/V1/Service/TwilioFunction/FunctionVersionPage.php:19
- > 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 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
6 plugin tags: sms, form, notification, contact form, contact...
sms-notification-contact-form-with-twilio/sms_notification_contact_form_twilio.php 92% from 13 tests
The main PHP file in "Sms notification contact form with twilio" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("sms-notification-contact-form-with-twilio.php" instead of "sms_notification_contact_form_twilio.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected105,807 lines of code in 2,218 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2,206 | 30,614 | 125,442 | 105,457 |
JSON | 3 | 0 | 0 | 122 |
YAML | 3 | 15 | 2 | 108 |
Markdown | 2 | 25 | 0 | 79 |
CSS | 1 | 1 | 0 | 18 |
XML | 1 | 0 | 0 | 11 |
Dockerfile | 1 | 3 | 0 | 8 |
JavaScript | 1 | 2 | 0 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 2.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 1.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 216 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 2,721 | |
▷ Abstract classes | 312 | 11.47% |
▷ Concrete classes | 2,409 | 88.53% |
▷ Final classes | 2 | 0.08% |
Methods | 15,043 | |
▷ Static methods | 580 | 3.86% |
▷ Public methods | 13,534 | 89.97% |
▷ Protected methods | 1,499 | 9.96% |
▷ Private methods | 10 | 0.07% |
Functions | 127 | |
▷ Named functions | 12 | 9.45% |
▷ Anonymous functions | 115 | 90.55% |
Constants | 19 | |
▷ Global constants | 5 | 26.32% |
▷ Class constants | 14 | 73.68% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin